psabata pushed to perl-List-Compare (el6). "0.38 bump, documentation update (..more)"

notifications at fedoraproject.org notifications at fedoraproject.org
Wed Apr 29 08:56:14 UTC 2015


>From 14b0eee9e65ed265874586b1ca337bcf4a1695ae Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20=C5=A0abata?= <contyk at redhat.com>
Date: Tue, 10 Sep 2013 17:15:20 +0200
Subject: 0.38 bump, documentation update

- Modernize the spec

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 at redhat.com> - 0.38-1
+- 0.38 bump, documentation update
+- Modernize the spec
+
 * Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 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
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/perl-List-Compare.git/commit/?h=el6&id=14b0eee9e65ed265874586b1ca337bcf4a1695ae


More information about the perl-devel mailing list