[perl-Catalyst-Plugin-Static-Simple] drop tests subpackage

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

 



commit 31986f5f3daac477eaaea9c8bcc06344e0547554
Author: Iain Arnell <iarnell@xxxxxxxxx>
Date:   Sat May 12 08:01:37 2012 -0600

    drop tests subpackage

 perl-Catalyst-Plugin-Static-Simple.spec |   12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)
---
diff --git a/perl-Catalyst-Plugin-Static-Simple.spec b/perl-Catalyst-Plugin-Static-Simple.spec
index 9b67c15..b1a4bb9 100644
--- a/perl-Catalyst-Plugin-Static-Simple.spec
+++ b/perl-Catalyst-Plugin-Static-Simple.spec
@@ -33,8 +33,12 @@ Requires:       perl(Moose)
 Requires:       perl(MooseX::Types)
 Requires:       perl(namespace::autoclean)
 
+# obsolete/provide old tests subpackage
+# can be removed during F20 development cycle
+Obsoletes:      %{name}-tests < 0.30-1
+Provides:       %{name}-tests = %{version}-%{release}
+
 %{?perl_default_filter}
-%{?perl_default_subpackage_tests}
 
 %description
 The Static::Simple plugin is designed to make serving static content in
@@ -44,6 +48,9 @@ single line of code from you.
 %prep
 %setup -q -n Catalyst-Plugin-Static-Simple-%{version}
 
+# silence rpmlint warnings
+find t -type f -print0 | xargs -0 sed -i '1s,#!.*perl,#!%{__perl},;s/\r//;'
+
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
@@ -59,7 +66,7 @@ find %{buildroot} -type f -name .packlist -exec rm -f {} +
 TEST_POD=1 make test
 
 %files
-%doc Changes
+%doc Changes t/
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
@@ -67,6 +74,7 @@ TEST_POD=1 make test
 * Sat May 12 2012 Iain Arnell <iarnell@xxxxxxxxx> 0.30-1
 - update to latest upstream version
 - clean up spec for modern rpmbuild
+- drop tests subpackage; move tests to main package documentation
 
 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.29-6
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
--
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