commit 693e4db1e017b05dd092aadcdd4eba9e650c3d4b Author: Petr Písař <ppisar@xxxxxxxxxx> Date: Tue Jan 28 08:46:24 2014 +0100 1.02 bump .gitignore | 1 + perl-Hash-Case.spec | 61 +++++++++++++++++++++++++++++--------------------- sources | 2 +- 3 files changed, 37 insertions(+), 27 deletions(-) --- diff --git a/.gitignore b/.gitignore index f4e9f7f..de506dc 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ Hash-Case-1.006.tar.gz +/Hash-Case-1.02.tar.gz diff --git a/perl-Hash-Case.spec b/perl-Hash-Case.spec index b4f64f5..25ec399 100644 --- a/perl-Hash-Case.spec +++ b/perl-Hash-Case.spec @@ -1,55 +1,64 @@ +%global cpan_version 1.02 + Name: perl-Hash-Case -Version: 1.006 -Release: 14%{?dist} +Version: %(perl -Mversion -e '$_=version->parse(q{%{cpan_version}})->normal;s/v//;print') +Release: 1%{?dist} Summary: Base class for hashes with key-casing requirements License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Hash-Case/ -Source0: http://www.cpan.org/authors/id/M/MA/MARKOV/Hash-Case-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Source0: http://www.cpan.org/authors/id/M/MA/MARKOV/Hash-Case-%{cpan_version}.tar.gz BuildArch: noarch - -BuildRequires: perl(ExtUtils::MakeMaker), perl(Test::More) - -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +BuildRequires: perl +BuildRequires: perl(ExtUtils::MakeMaker) +# Run-time: +BuildRequires: perl(base) +BuildRequires: perl(Log::Report) >= 0.26 +BuildRequires: perl(strict) +BuildRequires: perl(Tie::Hash) +BuildRequires: perl(Tie::StdHash) +BuildRequires: perl(vars) +BuildRequires: perl(warnings) +# Tests: +BuildRequires: perl(lib) +BuildRequires: perl(Test::More) >= 0.47 +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(Log::Report) >= 0.26 + +# Remove under-specified dependencies +%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Log::Report\\)$ %description -Hash::Case is the base class for various classes which tie special -treatment for the casing of keys. Be aware of the differences in -implementation: Lower and Upper are tied native hashes: these hashes have -no need for hidden fields or other assisting data structured. A case -Preserve hash will actually create three hashes. +Hash::Case is the base class for various classes which tie special treatment +for the casing of keys. Be aware of the differences in implementation: Lower +and Upper are tied native hashes: these hashes have no need for hidden fields +or other assisting data structured. A case Preserve hash will actually create +three hashes. %prep -%setup -q -n Hash-Case-%{version} +%setup -q -n Hash-Case-%{cpan_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} - +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 -%clean -rm -rf %{buildroot} - %files -%defattr(-,root,root,-) -%doc ChangeLog +%doc ChangeLog README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog +* Tue Nov 19 2013 Petr Pisar <ppisar@xxxxxxxxxx> - 1.20.0-1 +- 1.02 bump + * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 1.006-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild diff --git a/sources b/sources index 69bfa74..1bcc483 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -1911b81b5b6bb3d47e5d3660cf1c8eae Hash-Case-1.006.tar.gz +e889e825c40395e5c891c3e8e635a222 Hash-Case-1.02.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