diff --git a/perl-Type-Tiny.spec b/perl-Type-Tiny.spec index 92ac92b..4fcbe93 100644 --- a/perl-Type-Tiny.spec +++ b/perl-Type-Tiny.spec @@ -1,6 +1,6 @@ Name: perl-Type-Tiny Version: 1.000005 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Tiny, yet Moo(se)-compatible type constraint License: GPL+ or Artistic Group: Development/Libraries @@ -122,22 +122,19 @@ rm -r ./inc sed -i -e '/^inc\//d' MANIFEST %build -%{__perl} Makefile.PL INSTALLDIRS=vendor +%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 make %{?_smp_mflags} %install make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT - -find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; - %{_fixperms} $RPM_BUILD_ROOT/* %check make test %files -%license LICENSE -%doc Changes COPYRIGHT CREDITS NEWS README +%doc Changes CREDITS NEWS README +%license LICENSE COPYRIGHT %{perl_vendorlib}/* %{!?with_reply_plugin:%exclude %{perl_vendorlib}/Reply} %{_mandir}/man3/* @@ -149,6 +146,10 @@ make test %{_mandir}/man3/Test::TypeTiny.3pm* %changelog +* Fri Jan 29 2016 Ralf Corsépius - 1.000005-5 +- Modernize spec. +- Add COPYRIGHT to %%license. + * Tue Jul 21 2015 Petr Pisar - 1.000005-4 - Specify all dependencies (bug #1245096)