commit c49f2e4a4cbdb89f2efbc46bd9a9405c651876ae Author: Petr Šabata <contyk@xxxxxxxxxx> Date: Wed Nov 12 14:41:26 2014 +0100 1.07 bump .gitignore | 1 + perl-Cache-Cache.spec | 46 ++++++++++++++++++++++++---------------------- sources | 2 +- 3 files changed, 26 insertions(+), 23 deletions(-) --- diff --git a/.gitignore b/.gitignore index 6be97b6..a905453 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ Cache-Cache-1.06.tar.gz +/Cache-Cache-1.07.tar.gz diff --git a/perl-Cache-Cache.spec b/perl-Cache-Cache.spec index 38bffdd..440afa5 100644 --- a/perl-Cache-Cache.spec +++ b/perl-Cache-Cache.spec @@ -1,6 +1,6 @@ Name: perl-Cache-Cache -Version: 1.06 -Release: 19%{?dist} +Version: 1.07 +Release: 1%{?dist} Summary: Generic cache interface and implementations License: GPL+ or Artistic Group: Development/Libraries @@ -8,15 +8,23 @@ URL: http://search.cpan.org/dist/Cache-Cache/ Source0: http://www.cpan.org/authors/id/J/JS/JSWARTZ/Cache-Cache-%{version}.tar.gz # Fix time races in tests, bug #1112553, CPAN RT#88418 Patch0: Cache-Cache-1.06-Make-tests-aware-of-running-time.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch -BuildRequires: perl(Digest::SHA1) >= 2.02 -BuildRequires: perl(Error) >= 0.15 +# Build +BuildRequires: perl BuildRequires: perl(ExtUtils::MakeMaker) -BuildRequires: perl(IPC::ShareLite) >= 0.09 -BuildRequires: perl(File::Spec) >= 0.82 -BuildRequires: perl(Storable) >= 1.014 -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +BuildRequires: perl(strict) +# Runtime +BuildRequires: perl(Digest::SHA1) +BuildRequires: perl(Error) +BuildRequires: perl(Exporter) +BuildRequires: perl(File::Path) +BuildRequires: perl(File::Spec) +BuildRequires: perl(File::Spec::Functions) +BuildRequires: perl(File::Temp) +BuildRequires: perl(IPC::ShareLite) +BuildRequires: perl(Storable) +BuildRequires: perl(vars) +Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version)) %description The Cache modules are designed to assist a developer in persisting data for a @@ -32,32 +40,26 @@ of the filesystem or shared memory. %patch0 -p1 %build -%{__perl} Makefile.PL INSTALLDIRS=vendor +perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install -rm -rf $RPM_BUILD_ROOT - -make pure_install PERL_INSTALL_ROOT=$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 {} + +%{_fixperms} %{buildroot}/* %check make test -%clean -rm -rf $RPM_BUILD_ROOT - %files -%defattr(-,root,root,-) %doc CHANGES COPYING CREDITS DISCLAIMER README STYLE %{perl_vendorlib}/* %{_mandir}/man3/* %changelog +* Wed Nov 12 2014 Petr Šabata <contyk@xxxxxxxxxx> - 1.07-1 +- 1.07 bump + * Thu Aug 28 2014 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 1.06-19 - Perl 5.20 rebuild diff --git a/sources b/sources index c27ebe3..67cf051 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -4425f44ddb138a799290802e5aad46ef Cache-Cache-1.06.tar.gz +5274ca0d9f4d3eaef052cad6eecf7baf Cache-Cache-1.07.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