[perl-Catalyst-Plugin-Static-Simple] drop tests subpackage
Iain Arnell
iarnell at fedoraproject.org
Sat May 12 14:21:07 UTC 2012
commit 31986f5f3daac477eaaea9c8bcc06344e0547554
Author: Iain Arnell <iarnell at gmail.com>
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 at gmail.com> 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 at lists.fedoraproject.org> - 0.29-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
More information about the scm-commits
mailing list