commit c238a4106f6fe36771d11de974d5fbb011f7e0c7 Author: Iain Arnell <iarnell@xxxxxxxxx> Date: Sun Jan 22 12:12:51 2012 +0100 drop tests subpackage perl-MooseX-Storage.spec | 16 +++++++++++++--- 1 files changed, 13 insertions(+), 3 deletions(-) --- diff --git a/perl-MooseX-Storage.spec b/perl-MooseX-Storage.spec index 6abb083..26da17d 100644 --- a/perl-MooseX-Storage.spec +++ b/perl-MooseX-Storage.spec @@ -1,7 +1,7 @@ Name: perl-MooseX-Storage Summary: A serialization framework for Moose classes Version: 0.30 -Release: 2%{?dist} +Release: 3%{?dist} License: GPL+ or Artistic Group: Development/Libraries Source0: http://search.cpan.org/CPAN/authors/id/B/BO/BOBTFISH/MooseX-Storage-%{version}.tar.gz @@ -28,9 +28,12 @@ BuildRequires: perl(YAML::Syck) BuildRequires: perl(YAML::XS) #BuildRequires: perl(MooseX::Storage::Format::JSONpm) +# obsolete/provide old tests subpackage +# can be removed during F19 development cycle +Obsoletes: %{name}-tests < 0.30-3 +Provides: %{name}-tests = %{version}-%{release} %{?perl_default_filter} -%{?perl_default_subpackage_tests} %description MooseX::Storage is a serialization framework for Moose, it provides a @@ -47,6 +50,10 @@ can be customized to the specific needs of your class. %prep %setup -q -n MooseX-Storage-%{version} +# silence rpmlint warnings +sed -i '1s,#!.*perl,#!%{__perl},' t/*.t t/*/*.t +chmod 0644 t/*.t t/*/*.t + %build %{__perl} Makefile.PL --skipdeps INSTALLDIRS=vendor make %{?_smp_mflags} @@ -67,11 +74,14 @@ make test rm -rf %{buildroot} %files -%doc Changes README +%doc Changes README t/ %{perl_vendorlib}/* %{_mandir}/man3/*.3* %changelog +* Sun Jan 22 2012 Iain Arnell <iarnell@xxxxxxxxx> 0.30-3 +- drop tests subpackage; move tests to main package documentation + * Tue Jan 17 2012 Iain Arnell <iarnell@xxxxxxxxx> - 0.30-2 - rebuilt again for F17 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