commit 724611b30c162672cac6750ae678dc242a35f630 Author: Iain Arnell <iarnell@xxxxxxxxx> Date: Sun Jan 22 11:07:36 2012 +0100 drop tests subpackage perl-MooseX-ClassAttribute.spec | 15 ++++++++++++--- 1 files changed, 12 insertions(+), 3 deletions(-) --- diff --git a/perl-MooseX-ClassAttribute.spec b/perl-MooseX-ClassAttribute.spec index b48afa1..49dcb45 100644 --- a/perl-MooseX-ClassAttribute.spec +++ b/perl-MooseX-ClassAttribute.spec @@ -1,7 +1,7 @@ Name: perl-MooseX-ClassAttribute Summary: Declare class attributes Moose-style Version: 0.26 -Release: 3%{?dist} +Release: 4%{?dist} License: Artistic 2.0 Group: Development/Libraries Source0: http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/MooseX-ClassAttribute-%{version}.tar.gz @@ -21,8 +21,12 @@ BuildRequires: perl(Test::Fatal) BuildRequires: perl(Test::More) >= 0.88 BuildRequires: perl(Test::Requires) >= 0.05 +# obsolete/provide old tests subpackage +# can be removed during F19 development cycle +Obsoletes: %{name}-tests < 0.26-4 +Provides: %{name}-tests = %{version}-%{release} + %{?perl_default_filter} -%{?perl_default_subpackage_tests} %description This module allows you to declare class attributes in exactly the same way as @@ -40,6 +44,8 @@ not set it. %prep %setup -q -n MooseX-ClassAttribute-%{version} +# silence rpmlint warnings +sed -i '1s,#!.*perl,#!%{__perl},' t/*.t %build %{__perl} Makefile.PL INSTALLDIRS=vendor @@ -58,12 +64,15 @@ make test %files -%doc README Changes +%doc README Changes t/ %{perl_vendorlib}/* %{_mandir}/man3/*.3* %changelog +* Sun Jan 22 2012 Iain Arnell <iarnell@xxxxxxxxx> 0.26-4 +- drop tests subpackage; move tests to main package documentation + * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.26-3 - 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