commit 16f912fec89e3289bf6425d6c123e4fb3aa82752 Author: Petr Písař <ppisar@xxxxxxxxxx> Date: Fri Apr 5 09:40:19 2013 +0200 1.130930 bump .gitignore | 1 + perl-WebService-Rajce.spec | 52 +++++++++++++++++++------------------------ sources | 2 +- 3 files changed, 25 insertions(+), 30 deletions(-) --- diff --git a/.gitignore b/.gitignore index e20497d..cd51812 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /WebService-Rajce-0.07.tar.gz /WebService-Rajce-0.08.tar.gz +/WebService-Rajce-1.130930.tar.gz diff --git a/perl-WebService-Rajce.spec b/perl-WebService-Rajce.spec index 1c1e7ed..b795cfb 100644 --- a/perl-WebService-Rajce.spec +++ b/perl-WebService-Rajce.spec @@ -1,31 +1,24 @@ +%global cpan_version 1.130930 + Name: perl-WebService-Rajce -Version: 0.08 -Release: 2%{?dist} +# Split version to 2-digit, maybe 1.130930 is just an excess +Version: %(echo '%{cpan_version}' | sed 's/\(\...\)\(.\)/\1.\2/') +Release: 1%{?dist} Summary: Perl interface for www.rajce.idnes.cz License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/WebService-Rajce/ -Source0: http://www.cpan.org/authors/id/P/PE/PEK/WebService-Rajce-%{version}.tar.gz +Source0: http://www.cpan.org/authors/id/P/PE/PEK/WebService-Rajce-%{cpan_version}.tar.gz BuildArch: noarch -BuildRequires: perl(Module::Build) -# Run-time (script are not tested) -BuildRequires: perl(Carp) -BuildRequires: perl(Digest::MD5) -BuildRequires: perl(Encode) -BuildRequires: perl(Image::Magick) -BuildRequires: perl(WWW::Mechanize) >= 1.5 -BuildRequires: perl(XML::Simple) +BuildRequires: perl +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30 +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Run-time (No tests exhibiting the code are performed) # Tests: BuildRequires: perl(Test::More) -# Optional tests: -BuildRequires: perl(Pod::Coverage) >= 0.18 -BuildRequires: perl(Test::Pod) >= 1.22 -BuildRequires: perl(Test::Pod::Coverage) >= 1.08 -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) -Requires: perl(WWW::Mechanize) >= 1.5 - -# Remove under-specified dependencies -%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\((File::Basename|Net::Netrc|WWW::Mechanize)\\)$ +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(AutoLoader) %description This is Perl library implementing an API of a photo gallery service running on @@ -36,8 +29,6 @@ Summary: Utilities for accessing www.rajce.idnes.cz License: GPL+ or Artistic Group: Applications/Internet BuildArch: noarch -Requires: perl(File::Basename) >= 1.2 -Requires: perl(Net::Netrc) >= 1.22 %description tools Command line tools for uploading and downloading images from a photo gallery @@ -45,22 +36,22 @@ service running on www.rajce.idnes.cz server. %prep -%setup -q -n WebService-Rajce-%{version} +%setup -q -n WebService-Rajce-%{cpan_version} %build -%{__perl} Build.PL installdirs=vendor -./Build +perl Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} %install -./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 -find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; +make pure_install DESTDIR=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; %{_fixperms} $RPM_BUILD_ROOT/* %check -./Build test +make test %files -%doc Changes README +%doc Changes LICENSE README %{perl_vendorlib}/* %{_mandir}/man3/* @@ -69,6 +60,9 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_mandir}/man1/* %changelog +* Fri Apr 05 2013 Petr Pisar <ppisar@xxxxxxxxxx> - 1.13.0930-1 +- 1.130930 bump + * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.08-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild diff --git a/sources b/sources index 8bc3f23..18df641 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -1d3c700f22798636b963d5684552d26c WebService-Rajce-0.08.tar.gz +9f8d13a7b27e355cbaebbdb58e4324e5 WebService-Rajce-1.130930.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