[perl-Cache] split Cache::Tester into separate sub-package

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit c54cd814de345a907f3a6913e8848929f23acee6
Author: Iain Arnell <iarnell@xxxxxxxxx>
Date:   Sun Dec 12 11:15:14 2010 +0100

    split Cache::Tester into separate sub-package

 perl-Cache.spec |   20 ++++++++++++++++++++
 1 files changed, 20 insertions(+), 0 deletions(-)
---
diff --git a/perl-Cache.spec b/perl-Cache.spec
index ee2a789..5df0be4 100644
--- a/perl-Cache.spec
+++ b/perl-Cache.spec
@@ -26,6 +26,16 @@ expensive calls to remote machines or databases.
 The Cache interface is implemented by derived classes that store cached 
 data in different manners (such as as files on a filesystem, or in memory).
 
+
+%package -n perl-Cache-Tester
+Summary:        Test utility for perl Cache implementations
+Requires:       %{name} = %{version}-%{release}
+
+%description -n perl-Cache-Tester
+This module is used to run tests against an instance of a Cache implementation
+to ensure that it operates as required by the Cache specification.
+
+
 %prep
 %setup -q -n Cache-%{version}
 
@@ -48,12 +58,22 @@ make test
 %files
 %defattr(-,root,root,-)
 %doc Changes design.dia LICENSE README
+%exclude %{perl_vendorlib}/Cache/Tester.pm
+%exclude %{_mandir}/man3/Cache::Tester.3*
 %{perl_vendorlib}/*
 %{_mandir}/man3/*.3*
 
 
+%files -n perl-Cache-Tester
+%defattr(-,root,root)
+%{perl_vendorlib}/Cache/Tester.pm
+%{_mandir}/man3/Cache::Tester.3*
+
+
 %changelog
 * Sun Dec 12 2010 Iain Arnell <iarnell@xxxxxxxxx> 2.04-8
+- split Cache::Tester into separate sub-package to avoid runtime dependency on
+  Test::More
 - use perl_default_filter
 - clean up spec for modern rpmbuild
 
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel


[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux