From 6ef387fb84eebb75ae38277c95bb4e6d7267f873 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ralf=20Cors=C3=A9pius?= Date: Fri, 29 Jan 2016 09:53:12 +0100 Subject: [PATCH] Modernize spec. - Add COPYRIGHT to %license. --- perl-Type-Tiny.spec | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) 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)