[perl-Best] 0.14 bump and some cleanup

Petr Šabata psabata at fedoraproject.org
Mon Jan 23 15:52:13 UTC 2012


commit 40844a181ae5c365605dc3b412f0dd010c3ac445
Author: Petr Šabata <contyk at redhat.com>
Date:   Mon Jan 23 16:48:52 2012 +0100

    0.14 bump and some cleanup

 .gitignore     |    1 +
 perl-Best.spec |   26 +++++++++++---------------
 sources        |    2 +-
 3 files changed, 13 insertions(+), 16 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 50b3965..07c76cf 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 Best-0.12.tar.gz
+/Best-0.14.tar.gz
diff --git a/perl-Best.spec b/perl-Best.spec
index aa71d67..f5fe315 100644
--- a/perl-Best.spec
+++ b/perl-Best.spec
@@ -1,17 +1,16 @@
 Name:       perl-Best 
-Version:    0.12 
-Release:    8%{?dist}
-# note that README says "perl", but the actual source says "MIT"
-# lib/Best.pm -> MIT
+Version:    0.14
+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
-BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 
 Requires:   perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 BuildArch:  noarch
-
+BuildRequires: perl(constant)
+BuildRequires: perl(Carp)
+BuildRequires: perl(Data::Dumper)
 BuildRequires: perl(ExtUtils::MakeMaker)
 BuildRequires: perl(Test::Exception)
 BuildRequires: perl(Test::More)
@@ -31,31 +30,28 @@ load and failing only if no alternative was found.
 %setup -q -n Best-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
 
 %install
-rm -rf %{buildroot}
-
 make pure_install PERL_INSTALL_ROOT=%{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
 
-%clean
-rm -rf %{buildroot} 
-
 %files
-%defattr(-,root,root,-)
-%doc Changes README 
+%doc Changes README LICENSE
 %{perl_vendorlib}/*
 %{_mandir}/man3/*.3*
 
 %changelog
+* Mon Jan 23 2012 Petr Šabata <contyk at redhat.com> - 0.14-1
+- 0.14 bump
+- Spec cleanup, license clarified, deps corrected
+
 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.12-8
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 
diff --git a/sources b/sources
index 36d5387..904afdd 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-0af7afb378e3f8cac5c7af0bf75cfffa  Best-0.12.tar.gz
+f2d33d1bbc9fdd5464ddce843f1a4434  Best-0.14.tar.gz


More information about the scm-commits mailing list