commit 5cf4e6d012022d5f1be6fa4d827a82e59a09b4e5 Author: Petr Šabata <contyk@xxxxxxxxxx> Date: Tue Nov 11 12:33:59 2014 +0100 0.25 bump .gitignore | 1 + perl-B-Utils.spec | 43 +++++++++++++++++++++++-------------------- sources | 2 +- 3 files changed, 25 insertions(+), 21 deletions(-) --- diff --git a/.gitignore b/.gitignore index 1774cad..c76cb75 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ B-Utils-0.11.tar.gz /B-Utils-0.17.tar.gz /B-Utils-0.19.tar.gz /B-Utils-0.21.tar.gz +/B-Utils-0.25.tar.gz diff --git a/perl-B-Utils.spec b/perl-B-Utils.spec index 3c22f47..7aa2094 100644 --- a/perl-B-Utils.spec +++ b/perl-B-Utils.spec @@ -1,28 +1,33 @@ Name: perl-B-Utils -Version: 0.21 -Release: 9%{?dist} +Version: 0.25 +Release: 1%{?dist} Summary: Helper functions for op tree manipulation License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/B-Utils/ Source0: http://www.cpan.org/authors/id/J/JJ/JJORE/B-Utils-%{version}.tar.gz - +# Build +BuildRequires: perl +BuildRequires: perl(ExtUtils::CBuilder) +BuildRequires: perl(ExtUtils::Depends) >= 0.302 +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(strict) +# Runtime BuildRequires: perl(B) +BuildRequires: perl(base) BuildRequires: perl(Carp) BuildRequires: perl(DynaLoader) BuildRequires: perl(Exporter) -BuildRequires: perl(ExtUtils::CBuilder) -BuildRequires: perl(ExtUtils::Depends) >= 0.302 -BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(List::Util) BuildRequires: perl(Scalar::Util) -BuildRequires: perl(strict) BuildRequires: perl(subs) -BuildRequires: perl(Test::More) -BuildRequires: perl(Test::Pod) BuildRequires: perl(vars) -Requires: perl(List::Util) -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +BuildRequires: perl(warnings) +# Tests only +BuildRequires: perl(lib) +BuildRequires: perl(Test::More) +BuildRequires: perl(Test::Pod) >= 1.41 +Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version)) %{?perl_default_filter} @@ -33,29 +38,27 @@ Helper functions for op tree manipulation. %setup -q -n B-Utils-%{version} %build -%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" +perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" 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 -depth -type d -exec rmdir {} 2>/dev/null \; - -%{_fixperms} $RPM_BUILD_ROOT/* +make pure_install DESTDIR=%{buildroot} +find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} + +%{_fixperms} %{buildroot}/* %check make test %files -%defattr(-,root,root,-) %doc Changes LICENSE README %{perl_vendorarch}/auto/* %{perl_vendorarch}/B* %{_mandir}/man3/* %changelog +* Tue Nov 11 2014 Petr Šabata <contyk@xxxxxxxxxx> - 0.25-1 +- 0.25 bump + * Thu Aug 28 2014 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 0.21-9 - Perl 5.20 rebuild diff --git a/sources b/sources index d7bfb9e..7b82810 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -5e6af42f436918253137d367b52478cd B-Utils-0.21.tar.gz +a45b286d9a0281c98416f2bdf689b800 B-Utils-0.25.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel