[perl-Best] 0.15 bump

Petr Šabata psabata at fedoraproject.org
Mon Dec 10 08:26:54 UTC 2012


commit 528f44f762cccdadd9ee1f1ee46c3784bd946023
Author: Petr Šabata <contyk at redhat.com>
Date:   Mon Dec 10 09:26:50 2012 +0100

    0.15 bump

 .gitignore     |    1 +
 perl-Best.spec |   21 ++++++++++++++-------
 sources        |    2 +-
 3 files changed, 16 insertions(+), 8 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 07c76cf..6a41f16 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 Best-0.12.tar.gz
 /Best-0.14.tar.gz
+/Best-0.15.tar.gz
diff --git a/perl-Best.spec b/perl-Best.spec
index e214def..b29c181 100644
--- a/perl-Best.spec
+++ b/perl-Best.spec
@@ -1,23 +1,26 @@
 Name:       perl-Best 
-Version:    0.14
-Release:    3%{?dist}
+Version:    0.15
+Release:    1%{?dist}
 License:    MIT 
 Group:      Development/Libraries
 Summary:    Fallbackable module loader 
 Source:     http://search.cpan.org/CPAN/authors/id/G/GA/GAAL/Best-%{version}.tar.gz 
 Url:        http://search.cpan.org/dist/Best
-Requires:   perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires:   perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 BuildArch:  noarch
-BuildRequires: perl(constant)
 BuildRequires: perl(Carp)
+BuildRequires: perl(constant)
 BuildRequires: perl(Data::Dumper)
 BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(inc::Module::Install)
 BuildRequires: perl(Test::Exception)
 BuildRequires: perl(Test::More)
 # optional
 BuildRequires: perl(Test::Pod)
 BuildRequires: perl(Test::Pod::Coverage)
 
+%{?perl_default_filter}
+
 %description
 Often there are several possible providers of some functionality your
 program needs, but you don't know which is available at the run site.
@@ -28,26 +31,30 @@ load and failing only if no alternative was found.
 
 %prep
 %setup -q -n Best-%{version}
+rm -rf inc
 
 %build
 perl Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
 
 %install
-make pure_install PERL_INSTALL_ROOT=%{buildroot}
+make pure_install DESTDIR=%{buildroot}
 find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
-find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
 %{_fixperms} %{buildroot}/*
 
 %check
 make test
 
 %files
-%doc Changes README LICENSE
+%doc Changes README LICENSE example
 %{perl_vendorlib}/*
 %{_mandir}/man3/*.3*
 
 %changelog
+* Mon Dec 10 2012 Petr Šabata <contyk at redhat.com> - 0.15-1
+- 0.15 bump
+- Package examples
+
 * Fri Jul 20 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.14-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 
diff --git a/sources b/sources
index 904afdd..e0b01bc 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-f2d33d1bbc9fdd5464ddce843f1a4434  Best-0.14.tar.gz
+40cecbb72869ab13b37426f0da68243b  Best-0.15.tar.gz


More information about the scm-commits mailing list