From 71a1e863f156f5e72dfe9fcab95adf777b46db15 Mon Sep 17 00:00:00 2001 From: Ralf Corsépius Date: Jan 26 2016 15:41:55 +0000 Subject: Remove %defattr. - Modernize spec. --- diff --git a/perl-HTTP-Response-Encoding.spec b/perl-HTTP-Response-Encoding.spec index d25c80d..441a46c 100644 --- a/perl-HTTP-Response-Encoding.spec +++ b/perl-HTTP-Response-Encoding.spec @@ -1,12 +1,11 @@ Name: perl-HTTP-Response-Encoding Version: 0.06 -Release: 17%{?dist} +Release: 18%{?dist} Summary: HTTP::Response::Encoding Perl module License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/HTTP-Response-Encoding/ Source0: http://www.cpan.org/authors/id/D/DA/DANKOGAI/HTTP-Response-Encoding-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(HTTP::Response) @@ -26,15 +25,11 @@ Adds encoding() to HTTP::Response. %setup -q -n HTTP-Response-Encoding-%{version} %build -%{__perl} Makefile.PL INSTALLDIRS=vendor +%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 make %{?_smp_mflags} %install -rm -rf $RPM_BUILD_ROOT - make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT - -find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* @@ -42,16 +37,16 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %check make test -%clean -rm -rf $RPM_BUILD_ROOT - %files -%defattr(-,root,root,-) %doc Changes README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog +* Tue Jan 26 2016 Ralf Corsépius - 0.06-18 +- Remove %%defattr. +- Modernize spec. + * Thu Jun 18 2015 Fedora Release Engineering - 0.06-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild