commit 14b0eee9e65ed265874586b1ca337bcf4a1695ae Author: Petr Šabata <contyk@xxxxxxxxxx> Date: Tue Sep 10 17:15:20 2013 +0200 0.38 bump, documentation update - Modernize the spec .gitignore | 1 + perl-List-Compare.spec | 49 ++++++++++++++++++++++------------------------- sources | 2 +- 3 files changed, 25 insertions(+), 27 deletions(-) --- diff --git a/.gitignore b/.gitignore index c28e58f..02b37f3 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ List-Compare-0.37.tar.gz +/List-Compare-0.38.tar.gz diff --git a/perl-List-Compare.spec b/perl-List-Compare.spec index 589a292..bc846f0 100644 --- a/perl-List-Compare.spec +++ b/perl-List-Compare.spec @@ -1,59 +1,56 @@ Name: perl-List-Compare -Version: 0.37 -Release: 15%{?dist} +Version: 0.38 +Release: 1%{?dist} Summary: Compare elements of two or more lists - Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/List-Compare Source0: http://search.cpan.org/CPAN/authors/id/J/JK/JKEENAN/List-Compare-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - BuildArch: noarch +BuildRequires: perl +BuildRequires: perl(Carp) +BuildRequires: perl(Exporter) BuildRequires: perl(ExtUtils::MakeMaker) -BuildRequires: perl(Test::Simple) -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +BuildRequires: perl(File::Basename) +BuildRequires: perl(File::Temp) +BuildRequires: perl(lib) +BuildRequires: perl(strict) +BuildRequires: perl(Symbol) +BuildRequires: perl(Test::More) +BuildRequires: perl(vars) +Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version)) %description Advanced functionality to compare members of two or more lists. - %prep %setup -q -n List-Compare-%{version} - %build -%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" +perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} - %install -rm -rf %{buildroot} -make pure_install PERL_INSTALL_ROOT=%{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 ';' +make pure_install DESTDIR=%{buildroot} +find %{buildroot} -type f -name .packlist -exec rm -f {} + +find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} + chmod -R u+w %{buildroot}/* - # remove errant execute bit from the .pm's -find %{buildroot} -type f -name '*.pm' -exec chmod -x {} 2>/dev/null ';' +find %{buildroot} -type f -name '*.pm' -exec chmod -x {} 2>/dev/null + %check make test - -%clean -rm -rf %{buildroot} - - %files -%defattr(-,root,root,-) -%doc Changes README +%doc Changes FAQ README %{perl_vendorlib}/* %{_mandir}/man3/*.3* - %changelog +* Tue Sep 10 2013 Petr Šabata <contyk@xxxxxxxxxx> - 0.38-1 +- 0.38 bump, documentation update +- Modernize the spec + * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.37-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild diff --git a/sources b/sources index a14b460..a83f09a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -7c730dd58cc31a5bbb8eb7006edd1704 List-Compare-0.37.tar.gz +2a4b0b5d1e2f81ad9719eb499823f06e List-Compare-0.38.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