commit 02c99f3e1f81d4edd5e5f7cdba710b1ffd04c689 Author: Petr Písař <ppisar@xxxxxxxxxx> Date: Tue Oct 8 08:51:13 2013 +0200 3.98 bump .gitignore | 1 + perl-Object-InsideOut.spec | 34 +++++++++++++++++++++------------- sources | 2 +- 3 files changed, 23 insertions(+), 14 deletions(-) --- diff --git a/.gitignore b/.gitignore index 364df23..d177cc2 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,4 @@ Object-InsideOut-3.56.tar.gz /Object-InsideOut-3.95.tar.gz /Object-InsideOut-3.96.tar.gz /Object-InsideOut-3.97.tar.gz +/Object-InsideOut-3.98.tar.gz diff --git a/perl-Object-InsideOut.spec b/perl-Object-InsideOut.spec index 5b948d8..dcc0914 100644 --- a/perl-Object-InsideOut.spec +++ b/perl-Object-InsideOut.spec @@ -1,5 +1,5 @@ Name: perl-Object-InsideOut -Version: 3.97 +Version: 3.98 Release: 1%{?dist} Summary: Comprehensive inside-out object support module Group: Development/Libraries @@ -7,20 +7,24 @@ License: GPL+ or Artistic URL: http://search.cpan.org/dist/Object-InsideOut Source0: http://search.cpan.org/CPAN/authors/id/J/JD/JDHEDDEN/Object-InsideOut-%{version}.tar.gz BuildArch: noarch +BuildRequires: perl BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(strict) +BuildRequires: perl(warnings) # Run-time BuildRequires: perl(attributes) BuildRequires: perl(B) BuildRequires: perl(Data::Dumper) >= 2.131 BuildRequires: perl(Exception::Class) >= 1.32 -BuildRequires: perl(Scalar::Util) >= 1.25 -BuildRequires: perl(warnings) +# The correct minimal Scalar::Util version is 1.23, CPAN RT#89325 +BuildRequires: perl(Scalar::Util) >= 1.23 # Optional run-time %if %{undefined perl_bootstrap} BuildRequires: perl(Math::Random::MT::Auto) >= 6.18 %endif BuildRequires: perl(Want) >= 0.21 # Test only +BuildRequires: perl(base) BuildRequires: perl(Config) BuildRequires: perl(lib) BuildRequires: perl(overload) @@ -28,9 +32,12 @@ BuildRequires: perl(Test::More) >= 0.98 BuildRequires: perl(threads) BuildRequires: perl(Thread::Queue) BuildRequires: perl(threads::shared) -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +# Optional tests: +BuildRequires: perl(Storable) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(Data::Dumper) >= 2.131 -Requires: perl(Scalar::Util) >= 1.25 +# The correct minimal Scalar::Util version is 1.23, CPAN RT#89325 +Requires: perl(Scalar::Util) >= 1.23 %{?perl_default_filter} # Remove underspecified dependencies @@ -47,10 +54,9 @@ inside-out object model. This module implements inside-out objects as anonymous scalar references that are blessed into a class with the scalar containing the ID for the object -(usually a sequence number). For Perl 5.8.3 and later, the scalar reference is -set as read-only to prevent accidental modifications to the ID. Object data -(i.e., fields) are stored within the class's package in either arrays indexed -by the object's ID, or hashes keyed to the object's ID. +(usually a sequence number). Object data (i.e., fields) are stored within the +class's package in either arrays indexed by the object's ID, or hashes keyed +to the object's ID. %prep %setup -q -n Object-InsideOut-%{version} @@ -58,25 +64,27 @@ by the object's ID, or hashes keyed to the object's ID. find lib -type f -print0 | xargs -0 chmod 0644 %build -%{__perl} Makefile.PL INSTALLDIRS=vendor +perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install -make pure_install PERL_INSTALL_ROOT=%{buildroot} +make pure_install DESTDIR=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} ';' -find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';' %{_fixperms} %{buildroot}/* %check make test %files -%doc Changes README +%doc examples Changes README %{perl_vendorlib}/* %{_mandir}/man3/*.3* %changelog +* Tue Oct 08 2013 Petr Pisar <ppisar@xxxxxxxxxx> - 3.98-1 +- 3.98 bump + * Fri Nov 16 2012 Petr Pisar <ppisar@xxxxxxxxxx> - 3.97-1 - 3.97 bump diff --git a/sources b/sources index 85d4817..1dccbb5 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -ba001d12eb961bd1d7cf714f81c68fc7 Object-InsideOut-3.97.tar.gz +d565588b54de0f9ec56e60c9cee80b8e Object-InsideOut-3.98.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