From 01a5cdcda0a3e14e9630118d23f877fd4b079e84 Mon Sep 17 00:00:00 2001 From: Petr Písař Date: Sep 14 2015 13:45:41 +0000 Subject: 1.5 bump --- diff --git a/.gitignore b/.gitignore index 9b050c1..127cc2b 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ Flickr-Upload-1.32.tar.gz +/Flickr-Upload-1.5.tar.gz diff --git a/perl-Flickr-Upload.spec b/perl-Flickr-Upload.spec index 2f17826..f9fe6a6 100644 --- a/perl-Flickr-Upload.spec +++ b/perl-Flickr-Upload.spec @@ -1,26 +1,49 @@ Name: perl-Flickr-Upload -Version: 1.32 -Release: 17%{?dist} +Epoch: 1 +Version: 1.5 +Release: 1%{?dist} Summary: Flickr.com upload module and script License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Flickr-Upload/ -Source0: http://www.cpan.org/authors/id/C/CP/CPB/Flickr-Upload-%{version}.tar.gz +Source0: http://www.cpan.org/authors/id/S/SS/SSEVERIN/Flickr-Upload-%{version}.tar.gz +Patch0: perl-Flickr-Upload-remotetests.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch -BuildRequires: perl(Test::Simple) +BuildRequires: coreutils +BuildRequires: findutils +BuildRequires: make +BuildRequires: perl BuildRequires: perl(ExtUtils::MakeMaker) -BuildRequires: perl(Flickr::API) >= 0.07 +# Run-time: +BuildRequires: perl(Carp) +BuildRequires: perl(Digest::MD5) +BuildRequires: perl(Encode) +BuildRequires: perl(Flickr::API) >= 1.09 +# Getopt::Long 1 not used at tests BuildRequires: perl(HTTP::Request::Common) >= 1 BuildRequires: perl(LWP::UserAgent) >= 1 -BuildRequires: perl(XML::Parser::Lite::Tree) >= 0.03 -Requires: perl(Flickr::API) >= 0.07 +# Pod::Usage >= 1 not used at tests +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +BuildRequires: perl(XML::Simple) >= 2 +# Optional run-time: +# Term::ProgressBar 2.00 not used at tests +# Tests: +BuildRequires: perl(List::Util) +BuildRequires: perl(Test::More) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Requires: perl(Flickr::API) >= 1.09 +Requires: perl(Getopt::Long) >= 1 Requires: perl(HTTP::Request::Common) >= 1 Requires: perl(LWP::UserAgent) >= 1 -Requires: perl(XML::Parser::Lite::Tree) >= 0.03 -Requires: perl(Term::ProgressBar) >= 2.09 -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) -Patch0: perl-Flickr-Upload-remotetests.patch +Requires: perl(Pod::Usage) >= 1 +Requires: perl(XML::Simple) >= 2 +# Optional run-time: +Requires: perl(Term::ProgressBar) >= 2.00 + +# Remove under-specified dependencies +%global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^perl\\((Flickr::API|Getopt::Long|HTTP::Request::Common|LWP::UserAgent|Pod::Usage|XML::Simple)\\)$ %description Module and script for uploading images to flickr.com web gallery. @@ -35,12 +58,9 @@ make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT - make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT - find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; - %{_fixperms} $RPM_BUILD_ROOT/* %check @@ -50,7 +70,6 @@ make test rm -rf $RPM_BUILD_ROOT %files -%defattr(-,root,root,-) %doc ChangeLog README %{perl_vendorlib}/* %{_mandir}/man3/* @@ -59,6 +78,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Mon Sep 14 2015 Petr Pisar - 1:1.5-1 +- 1.5 bump + * Thu Jun 18 2015 Fedora Release Engineering - 1.32-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild diff --git a/sources b/sources index 4e54bc5..4864e80 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -15bbfe5cf0160915f7f51a9868704086 Flickr-Upload-1.32.tar.gz +0cc5af18cf1d103f2c4b1d3659170300 Flickr-Upload-1.5.tar.gz