[perl-Olson-Abbreviations] 0.04 bump, fix the build

Petr Šabata psabata at fedoraproject.org
Mon Feb 25 12:03:27 UTC 2013


commit e71c2cb60f8d6ce98a85d8fab92dc150fdebe25e
Author: Petr Šabata <contyk at redhat.com>
Date:   Mon Feb 25 13:03:23 2013 +0100

    0.04 bump, fix the build

 .gitignore                    |    1 +
 perl-Olson-Abbreviations.spec |   40 ++++++++++++++++++++++++++++------------
 sources                       |    2 +-
 3 files changed, 30 insertions(+), 13 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e541fbb..2210588 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 Olson-Abbreviations-0.02.tar.gz
 /Olson-Abbreviations-0.03.tar.gz
+/Olson-Abbreviations-0.04.tar.gz
diff --git a/perl-Olson-Abbreviations.spec b/perl-Olson-Abbreviations.spec
index 6e48f45..776423c 100644
--- a/perl-Olson-Abbreviations.spec
+++ b/perl-Olson-Abbreviations.spec
@@ -1,20 +1,36 @@
 Name:           perl-Olson-Abbreviations
-Version:        0.03
-Release:        2%{?dist}
+Version:        0.04
+Release:        1%{?dist}
 Summary:        Globally unique timezones abbreviation handling
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Olson-Abbreviations/
 Source0:        http://www.cpan.org/authors/id/E/EC/ECARROLL/Olson-Abbreviations-%{version}.tar.gz
 BuildArch:      noarch
+BuildRequires:  perl
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(CPAN)
+BuildRequires:  perl(Cwd)
 BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(ExtUtils::Manifest)
+BuildRequires:  perl(ExtUtils::MM_Unix)
+BuildRequires:  perl(Fcntl)
+BuildRequires:  perl(File::Find)
+BuildRequires:  perl(File::Path)
+BuildRequires:  perl(File::Spec)
+BuildRequires:  perl(FindBin)
+BuildRequires:  perl(Module::Build)
 BuildRequires:  perl(Moose)
 BuildRequires:  perl(MooseX::ClassAttribute) >= 0.25
-BuildRequires:  perl(Test::More)
-BuildRequires:  perl(Test::Pod) >= 1.22
 BuildRequires:  perl(namespace::autoclean)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(Test::More)
+BuildRequires:  perl(vars)
+BuildRequires:  perl(warnings)
 Requires:       perl(MooseX::ClassAttribute) >= 0.25
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+
+%{?perl_default_filter}
 
 %description
 This module should help you with converting commonly used and often
@@ -24,16 +40,12 @@ ambigious olson abbreviations into TZ offset notation.
 %setup -q -n Olson-Abbreviations-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor
 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 -depth -type d -exec rmdir {} 2>/dev/null \;
-
-%{_fixperms} $RPM_BUILD_ROOT/*
+make pure_install DESTDIR=%{buildroot}
+find %{buildroot} -type f -name .packlist -exec rm -f {} \;
 
 %check
 make test
@@ -44,6 +56,10 @@ make test
 %{_mandir}/man3/*
 
 %changelog
+* Mon Feb 25 2013 Petr Šabata <contyk at redhat.com> - 0.04-1
+- 0.04 bump
+- Fix the dependencies
+
 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.03-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 
diff --git a/sources b/sources
index f01bff6..7c2d52c 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-e0fe7468fa0856889d6347349f788298  Olson-Abbreviations-0.03.tar.gz
+dc969b7935835557c10937ae54168005  Olson-Abbreviations-0.04.tar.gz



More information about the perl-devel mailing list