commit 2d1a512d787a7e695d3550c6476845146467a1fc Author: Paul Howarth <paul@xxxxxxxxxxxx> Date: Thu Jan 29 10:55:10 2015 +0000 Update to 0.0942 - New upstream release 0.0942 - Replace contents of archives in test folder with random noise in order to avoid any licensing issues - Use %license where possible perl-Archive-Any.spec | 37 +++++++++++++++++++++++++------------ sources | 2 +- 2 files changed, 26 insertions(+), 13 deletions(-) --- diff --git a/perl-Archive-Any.spec b/perl-Archive-Any.spec index 0d308e1..bdc672e 100644 --- a/perl-Archive-Any.spec +++ b/perl-Archive-Any.spec @@ -1,6 +1,6 @@ Name: perl-Archive-Any -Version: 0.0941 -Release: 3%{?dist} +Version: 0.0942 +Release: 1%{?dist} Summary: Single interface to deal with file archives License: GPL+ or Artistic Group: Development/Libraries @@ -9,10 +9,12 @@ Source0: http://search.cpan.org/CPAN/authors/id/O/OA/OALDERS/Archive-Any-%{versi BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu) BuildArch: noarch # Build -BuildRequires: perl(Module::Build) > 0.36 +BuildRequires: perl +BuildRequires: perl(Module::Build) > 0.28 # Module BuildRequires: perl(Archive::Tar) >= 0.22 BuildRequires: perl(Archive::Zip) >= 1.07 +BuildRequires: perl(base) BuildRequires: perl(Cwd) BuildRequires: perl(File::MMagic) >= 1.27 BuildRequires: perl(File::Spec::Functions) @@ -34,12 +36,12 @@ formats. Tarballs, zip files, etc. %setup -q -n Archive-Any-%{version} %build -perl Build.PL installdirs=vendor +perl Build.PL --installdirs=vendor ./Build %install rm -rf %{buildroot} -./Build install destdir=%{buildroot} create_packlist=0 +./Build install --destdir=%{buildroot} --create_packlist=0 %{_fixperms} %{buildroot} %check @@ -49,16 +51,27 @@ rm -rf %{buildroot} rm -rf %{buildroot} %files -%doc Changes CONTRIBUTORS LICENSE README t/ +%if 0%{?_licensedir:1} +%license LICENSE +%else +%doc LICENSE +%endif +%doc Changes CONTRIBUTORS README t/ %{perl_vendorlib}/Archive/ -%{_mandir}/man3/Archive::Any.3pm* -%{_mandir}/man3/Archive::Any::Plugin.3pm* -%{_mandir}/man3/Archive::Any::Plugin::Tar.3pm* -%{_mandir}/man3/Archive::Any::Plugin::Zip.3pm* -%{_mandir}/man3/Archive::Any::Tar.3pm* -%{_mandir}/man3/Archive::Any::Zip.3pm* +%{_mandir}/man3/Archive::Any.3* +%{_mandir}/man3/Archive::Any::Plugin.3* +%{_mandir}/man3/Archive::Any::Plugin::Tar.3* +%{_mandir}/man3/Archive::Any::Plugin::Zip.3* +%{_mandir}/man3/Archive::Any::Tar.3* +%{_mandir}/man3/Archive::Any::Zip.3* %changelog +* Thu Jan 29 2015 Paul Howarth <paul@xxxxxxxxxxxx> - 0.0942-1 +- Update to 0.0942 + - Replace contents of archives in test folder with random noise in order to + avoid any licensing issues +- Use %%license where possible + * Thu Aug 28 2014 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 0.0941-3 - Perl 5.20 rebuild diff --git a/sources b/sources index 2e9168e..d1ed08f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -16807a0b984871daa0a5d8f2b48d57e6 Archive-Any-0.0941.tar.gz +57bf9165c3c5e0530d93eece860b3fad Archive-Any-0.0942.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