From a9e43d72719f7137029ca95749f3613868e8dda3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ralf=20Cors=C3=A9pius?= <corse...@fedoraproject.org> Date: Sun, 31 Jan 2016 08:47:28 +0100 Subject: Modernize spec.
- Remove inc/. --- perl-HTML-RewriteAttributes.spec | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/perl-HTML-RewriteAttributes.spec b/perl-HTML-RewriteAttributes.spec index 902b5dd..8bf5e87 100644 --- a/perl-HTML-RewriteAttributes.spec +++ b/perl-HTML-RewriteAttributes.spec @@ -1,6 +1,6 @@ Name: perl-HTML-RewriteAttributes Version: 0.05 -Release: 8%{?dist} +Release: 9%{?dist} Summary: Concise attribute rewriting License: GPL+ or Artistic Group: Development/Libraries @@ -19,6 +19,9 @@ BuildRequires: perl(HTML::Tagset) BuildRequires: perl(URI) BuildRequires: perl(Test::More) +BuildRequires: perl(inc::Module::Install) +BuildRequires: perl(Module::Install::ReadmeFromPod) + Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description @@ -27,17 +30,15 @@ rewriting. %prep %setup -q -n HTML-RewriteAttributes-%{version} +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 {} \; -find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; - %{_fixperms} $RPM_BUILD_ROOT/* %check @@ -49,6 +50,10 @@ make test %{_mandir}/man3/* %changelog +* Sun Jan 31 2016 Ralf Corsépius <corse...@fedoraproject.org> - 0.05-9 +- Modernize spec. +- Remove inc/. + * Thu Jun 18 2015 Fedora Release Engineering <rel-...@lists.fedoraproject.org> - 0.05-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild -- cgit v0.11.2 http://pkgs.fedoraproject.org/cgit/perl-HTML-RewriteAttributes.git/commit/?h=master&id=a9e43d72719f7137029ca95749f3613868e8dda3 -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@lists.fedoraproject.org http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org