0.38 bump, documentation update

- Modernize the spec
epel9
Petr Šabata 12 years ago
parent 7094662740
commit 14b0eee9e6

1
.gitignore vendored

@ -1 +1,2 @@
List-Compare-0.37.tar.gz List-Compare-0.37.tar.gz
/List-Compare-0.38.tar.gz

@ -1,59 +1,56 @@
Name: perl-List-Compare Name: perl-List-Compare
Version: 0.37 Version: 0.38
Release: 15%{?dist} Release: 1%{?dist}
Summary: Compare elements of two or more lists Summary: Compare elements of two or more lists
Group: Development/Libraries Group: Development/Libraries
License: GPL+ or Artistic License: GPL+ or Artistic
URL: http://search.cpan.org/dist/List-Compare URL: http://search.cpan.org/dist/List-Compare
Source0: http://search.cpan.org/CPAN/authors/id/J/JK/JKEENAN/List-Compare-%{version}.tar.gz 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 BuildArch: noarch
BuildRequires: perl
BuildRequires: perl(Carp)
BuildRequires: perl(Exporter)
BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Test::Simple) BuildRequires: perl(File::Basename)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) 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 %description
Advanced functionality to compare members of two or more lists. Advanced functionality to compare members of two or more lists.
%prep %prep
%setup -q -n List-Compare-%{version} %setup -q -n List-Compare-%{version}
%build %build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
rm -rf %{buildroot} make pure_install DESTDIR=%{buildroot}
make pure_install PERL_INSTALL_ROOT=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} +
find %{buildroot} -type f -name .packlist -exec rm -f {} ';' find %{buildroot} -type f -name '*.bs' -a -size 0 -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 ';'
chmod -R u+w %{buildroot}/* chmod -R u+w %{buildroot}/*
# remove errant execute bit from the .pm's # 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 %check
make test make test
%clean
rm -rf %{buildroot}
%files %files
%defattr(-,root,root,-) %doc Changes FAQ README
%doc Changes README
%{perl_vendorlib}/* %{perl_vendorlib}/*
%{_mandir}/man3/*.3* %{_mandir}/man3/*.3*
%changelog %changelog
* Tue Sep 10 2013 Petr Šabata <contyk@redhat.com> - 0.38-1
- 0.38 bump, documentation update
- Modernize the spec
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.37-15 * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.37-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild

@ -1 +1 @@
7c730dd58cc31a5bbb8eb7006edd1704 List-Compare-0.37.tar.gz 2a4b0b5d1e2f81ad9719eb499823f06e List-Compare-0.38.tar.gz

Loading…
Cancel
Save