diff --git a/.gitignore b/.gitignore index c144a73..3a3b3d8 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ Set-Object-1.26.tar.gz /Set-Object-1.31.tar.gz /Set-Object-1.35.tar.gz +/Set-Object-1.38.tar.gz diff --git a/perl-Set-Object.spec b/perl-Set-Object.spec index 94f8c1b..877ae87 100644 --- a/perl-Set-Object.spec +++ b/perl-Set-Object.spec @@ -1,19 +1,17 @@ Name: perl-Set-Object -Version: 1.35 -Release: 7%{?dist} +Version: 1.38 +Release: 1%{?dist} License: Artistic 2.0 Summary: Set of objects and strings -Group: Development/Libraries URL: http://search.cpan.org/dist/Set-Object/ Source0: http://www.cpan.org/modules/by-module/Set/Set-Object-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: coreutils BuildRequires: findutils BuildRequires: make -BuildRequires: perl-interpreter BuildRequires: perl-devel BuildRequires: perl-generators -BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl-interpreter +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 # Run-time BuildRequires: perl(AutoLoader) BuildRequires: perl(base) @@ -31,7 +29,9 @@ BuildRequires: perl(Data::Dumper) BuildRequires: perl(Devel::Peek) BuildRequires: perl(Test::More) # Optional tests +BuildRequires: perl(Moose) BuildRequires: perl(Storable) +BuildRequires: perl(Test::LeakTrace) BuildRequires: perl(Test::Pod) >= 1.00 BuildRequires: perl(Test::Pod::Coverage) BuildRequires: perl(threads) @@ -51,27 +51,20 @@ anything that is a reference is considered an object. %setup -q -n Set-Object-%{version} %build -%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" +%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1 make %{?_smp_mflags} %install -rm -rf %{buildroot} make pure_install DESTDIR=%{buildroot} # clean up buildroot -find %{buildroot} -type f -name .packlist -exec rm -f {} ';' find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';' -find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';' %{_fixperms} %{buildroot} %check make test -%clean -rm -rf %{buildroot} - %files -%defattr(-, root, root, -) %license LICENSE %doc Changes.pod META.yml README %{perl_vendorarch}/auto/* @@ -79,6 +72,9 @@ rm -rf %{buildroot} %{_mandir}/man3/*.3* %changelog +* Tue Nov 21 2017 Jitka Plesnikova - 1.38-1 +- 1.38 bump; Modernize spec file + * Thu Aug 03 2017 Fedora Release Engineering - 1.35-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild diff --git a/sources b/sources index 4678761..5334f13 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -95be9c38e94a140bfd2209cae282d5d8 Set-Object-1.35.tar.gz +SHA512 (Set-Object-1.38.tar.gz) = fa0411f543fe1837d7c07a07a99d3b8a3735162fb7b665060870cec8edd40ab39eed74791ce2aa96b9ca04a8e773d810ba979508b03f8d4698e8d844f62bee1a