commit 55778ded204a26ae1036ae4001dadb278beb819e Author: Petr Šabata <contyk@xxxxxxxxxx> Date: Mon Aug 26 17:39:36 2013 +0200 0.9903 bump - Prefer %global over %define .gitignore | 1 + perl-version.spec | 24 ++++++++++++++++-------- sources | 2 +- 3 files changed, 18 insertions(+), 9 deletions(-) --- diff --git a/.gitignore b/.gitignore index 480b6e5..5ea626d 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ version-0.88.tar.gz /version-0.99.tar.gz /version-0.9901.tar.gz /version-0.9902.tar.gz +/version-0.9903.tar.gz diff --git a/perl-version.spec b/perl-version.spec index 15cdd25..90e9f92 100644 --- a/perl-version.spec +++ b/perl-version.spec @@ -1,8 +1,8 @@ Name: perl-version Epoch: 3 -Version: 0.99.02 -%define module_version 0.9902 -Release: 291%{?dist} +Version: 0.99.03 +%global module_version 0.9903 +Release: 1%{?dist} Summary: Perl extension for Version Objects License: GPL+ or Artistic Group: Development/Libraries @@ -21,10 +21,13 @@ BuildRequires: perl(File::Basename) BuildRequires: perl(File::Temp) >= 0.13 # IO::Handle is optional BuildRequires: perl(lib) +BuildRequires: perl(locale) BuildRequires: perl(POSIX) BuildRequires: perl(Test::More) >= 0.45 BuildRequires: perl(Test::Harness) Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(UNIVERSAL) +Requires: perl(XSLoader) %{?perl_default_filter} # version::vxs is private module (see bug #633775) @@ -42,14 +45,14 @@ strongly urged to set 0.77 as a minimum in your code. %setup -q -n version-%{module_version} %build -perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" +perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" 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 {} \; -%{_fixperms} $RPM_BUILD_ROOT/* +make pure_install DESTDIR=%{buildroot} +find %{buildroot} -type f -name .packlist -exec rm -f {} \; +find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \; +%{_fixperms} %{buildroot}/* %check make test @@ -61,11 +64,16 @@ make test %doc %{perl_vendorarch}/version/Internals.pod %{perl_vendorarch}/auto/version/ %{perl_vendorarch}/version.pm +%{perl_vendorarch}/version/vpp.pm %{perl_vendorarch}/version/vxs.pm %{_mandir}/man3/version.3pm* %{_mandir}/man3/version::Internals.3pm* %changelog +* Mon Aug 26 2013 Petr Šabata <contyk@xxxxxxxxxx> - 3:0.99.03-1 +- 0.9903 bump +- Prefer %%global over %%define + * Sun Aug 04 2013 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 3:0.99.02-291 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild diff --git a/sources b/sources index c912787..f7c7b46 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -edb0ac88be8bed3e370ce12e74261998 version-0.9902.tar.gz +000887583fc149857d97ae3f11309018 version-0.9903.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