From 6a9f7f54374a38a414fafc35cf75485ca15ae859 Mon Sep 17 00:00:00 2001 From: Jitka Plesnikova <jples...@redhat.com> Date: Tue, 2 Feb 2016 10:19:46 +0100 Subject: Package cleanup
--- perl-B-Hooks-OP-PPAddr.spec | 45 +++++++++++++++++++++++++++++---------------- 1 file changed, 29 insertions(+), 16 deletions(-) diff --git a/perl-B-Hooks-OP-PPAddr.spec b/perl-B-Hooks-OP-PPAddr.spec index d22682a..3998ac2 100644 --- a/perl-B-Hooks-OP-PPAddr.spec +++ b/perl-B-Hooks-OP-PPAddr.spec @@ -1,19 +1,31 @@ Name: perl-B-Hooks-OP-PPAddr Version: 0.03 -Release: 13%{?dist} +Release: 14%{?dist} Summary: Hook into opcode execution License: GPL+ or Artistic -Group: Development/Libraries URL: http://search.cpan.org/dist/B-Hooks-OP-PPAddr/ Source0: http://www.cpan.org/authors/id/F/FL/FLORA/B-Hooks-OP-PPAddr-%{version}.tar.gz -BuildRequires: perl(ExtUtils::MakeMaker) -BuildRequires: perl(ExtUtils::Depends) -BuildRequires: perl(Module::Install) -BuildRequires: perl(parent) + +BuildRequires: coreutils +BuildRequires: findutils +BuildRequires: make +BuildRequires: perl +BuildRequires: perl(ExtUtils::Depends) >= 0.302 +BuildRequires: perl(inc::Module::Install) >= 0.75 +BuildRequires: perl(Module::Install::ExtraTests) +BuildRequires: perl(Module::Install::Makefile) +BuildRequires: perl(Module::Install::Metadata) +BuildRequires: perl(Module::Install::WriteAll) BuildRequires: perl(strict) -BuildRequires: perl(Test::More) BuildRequires: perl(warnings) -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +BuildRequires: sed +# Run-time +BuildRequires: perl(DynaLoader) +BuildRequires: perl(parent) +# Tests +BuildRequires: perl(Test::More) +BuildRequires: perl(Test::Pod) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) %{?perl_default_filter} @@ -23,32 +35,33 @@ perl opcodes. %prep %setup -q -n B-Hooks-OP-PPAddr-%{version} - +rm -r inc +sed -i -e '/^inc\// d' MANIFEST +find -type f -exec chmod -x {} + %build -%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" +perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" 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 -depth -type d -exec rmdir {} 2>/dev/null \; - +find $RPM_BUILD_ROOT -type f -name .packlist -delete +find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -delete %{_fixperms} $RPM_BUILD_ROOT/* %check make test %files -%defattr(-,root,root,-) %doc Changes README %{perl_vendorarch}/auto/* %{perl_vendorarch}/B* %{_mandir}/man3/* %changelog +* Tue Feb 02 2016 Jitka Plesnikova <jples...@redhat.com> - 0.03-14 +- Package cleanup + * Thu Jun 18 2015 Fedora Release Engineering <rel-...@lists.fedoraproject.org> - 0.03-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild -- cgit v0.11.2 http://pkgs.fedoraproject.org/cgit/perl-B-Hooks-OP-PPAddr.git/commit/?h=master&id=6a9f7f54374a38a414fafc35cf75485ca15ae859 -- 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