From ec13eef8df2bd417e8e5a42a629b86aa8b272a90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ralf=20Cors=C3=A9pius?= Date: Tue, 26 Jan 2016 19:05:44 +0100 Subject: [PATCH] Remove %defattr. - Modernize spec. - Add %license. --- perl-Params-Util.spec | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/perl-Params-Util.spec b/perl-Params-Util.spec index 2aefe62..32222bb 100644 --- a/perl-Params-Util.spec +++ b/perl-Params-Util.spec @@ -1,6 +1,6 @@ Name: perl-Params-Util Version: 1.07 -Release: 13%{?dist} +Release: 14%{?dist} Summary: Simple standalone parameter-checking functions License: GPL+ or Artistic Group: Development/Libraries @@ -39,12 +39,11 @@ makes checking parameters a hell of a lot easier. %setup -q -n Params-Util-%{version} %build -%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" +%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" NO_PACKLIST=1 make %{?_smp_mflags} %install make pure_install DESTDIR=$RPM_BUILD_ROOT -find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \; find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' chmod -R u+w $RPM_BUILD_ROOT/* @@ -53,14 +52,19 @@ chmod -R u+w $RPM_BUILD_ROOT/* make test AUTOMATED_TESTING=1 %files -%defattr(-,root,root,-) -%doc Changes LICENSE +%doc Changes +%license LICENSE %{perl_vendorarch}/auto/* %{perl_vendorarch}/Params %{_mandir}/man3/* %changelog +* Tue Jan 26 2016 Ralf Corsépius - 1.07-14 +- Remove %defattr. +- Modernize spec. +- Add %%license. + * Thu Jun 18 2015 Fedora Release Engineering - 1.07-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild