From f3536c83178d5589fe46c958b50845ace5680b42 Mon Sep 17 00:00:00 2001 From: Petr Písař Date: Jun 23 2015 14:40:58 +0000 Subject: 1.13 bump --- diff --git a/.gitignore b/.gitignore index 20d54eb..d3fa128 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ Flickr-API-1.02.tar.gz /Flickr-API-1.04.tar.gz /Flickr-API-1.05.tar.gz +/Flickr-API-1.13.tar.gz diff --git a/Flickr-API-1.13-Do-not-install-examples-into-PATH.patch b/Flickr-API-1.13-Do-not-install-examples-into-PATH.patch new file mode 100644 index 0000000..6cb9b50 --- /dev/null +++ b/Flickr-API-1.13-Do-not-install-examples-into-PATH.patch @@ -0,0 +1,35 @@ +From 668a4b58b1cd7d8bf9b449bb66566351158f0efe Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= +Date: Tue, 23 Jun 2015 16:27:45 +0200 +Subject: [PATCH] Do not install examples into PATH +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +CPAN RT#105426 + +Signed-off-by: Petr Písař +--- + Makefile.PL | 8 -------- + 1 file changed, 8 deletions(-) + +diff --git a/Makefile.PL b/Makefile.PL +index cb3d8d7..95cd7bb 100644 +--- a/Makefile.PL ++++ b/Makefile.PL +@@ -53,12 +53,4 @@ WriteMakefile( + 'Term::ReadKey' => 0, + 'Getopt::Long' => 0, + }, +- 'EXE_FILES' => +- [ +- 'examples/flickr_oauth_authentication.pl', +- 'examples/flickr_method_test_echo.pl', +- 'examples/flickr_method_test_login.pl', +- 'examples/flickr_dump_stored_config.pl', +- 'examples/flickr_make_stored_config.pl', +- ] + ); +-- +2.1.0 + diff --git a/perl-Flickr-API.spec b/perl-Flickr-API.spec index 0ed021f..c45573a 100644 --- a/perl-Flickr-API.spec +++ b/perl-Flickr-API.spec @@ -1,57 +1,83 @@ Name: perl-Flickr-API -Version: 1.05 -Release: 8%{?dist} +Version: 1.13 +Release: 1%{?dist} Summary: Perl interface to the Flickr API -License: Artistic 2.0 +# LICENSE: Artistic 2.0 +# examples/flickr_method_test_login.pl: GPL+ or Artistic +License: (Artistic 2.0) and (GPL+ or Artistic) Group: Development/Libraries URL: http://search.cpan.org/dist/Flickr-API/ -Source0: http://www.cpan.org/authors/id/I/IA/IAMCAL/Flickr-API-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Source0: http://www.cpan.org/authors/id/L/LB/LBMOORE/Flickr-API-%{version}.tar.gz +# Do not install examples as tools into PATH, CPAN RT#105426 +Patch0: Flickr-API-1.13-Do-not-install-examples-into-PATH.patch BuildArch: noarch +BuildRequires: coreutils +BuildRequires: findutils +BuildRequires: make +BuildRequires: perl BuildRequires: perl(ExtUtils::MakeMaker) +# Run-time: +BuildRequires: perl(Carp) +# Compress::Zlib is optional +BuildRequires: perl(Digest::MD5) +BuildRequires: perl(Encode) +# HTTP::Message 1.56 needed because it brings decoded_content() +BuildRequires: perl(HTTP::Message) >= 1.56 BuildRequires: perl(HTTP::Request) BuildRequires: perl(HTTP::Response) BuildRequires: perl(LWP::UserAgent) -BuildRequires: perl(Test::More) +BuildRequires: perl(Net::OAuth) +BuildRequires: perl(Scalar::Util) +BuildRequires: perl(Storable) +BuildRequires: perl(strict) BuildRequires: perl(URI) >= 1.18 +BuildRequires: perl(warnings) BuildRequires: perl(XML::Parser::Lite::Tree) >= 0.06 +# Tests: +BuildRequires: perl(Data::Dumper) +BuildRequires: perl(File::Temp) +BuildRequires: perl(Term::ReadLine) +BuildRequires: perl(Test::More) +BuildRequires: perl(XML::Simple) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +# HTTP::Message 1.56 needed because it brings decoded_content() +Requires: perl(HTTP::Message) >= 1.56 Requires: perl(URI) >= 1.18 Requires: perl(XML::Parser::Lite::Tree) >= 0.06 -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +# Filter under-specified dependencies +%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\((URI|XML::Parser::Lite::Tree)\\)$ %description A simple interface for using the Flickr API. %prep %setup -q -n Flickr-API-%{version} +%patch0 -p1 %build -%{__perl} Makefile.PL INSTALLDIRS=vendor +perl Makefile.PL INSTALLDIRS=vendor /dev/null \; - %{_fixperms} $RPM_BUILD_ROOT/* %check make test -%clean -rm -rf $RPM_BUILD_ROOT - %files -%defattr(-,root,root,-) -%doc Changes README +%license LICENSE +%doc Changes examples README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog +* Tue Jun 23 2015 Petr Pisar - 1.13-1 +- 1.13 bump +- License corrected to (Artistic 2.0) and (GPL+ or Artistic) + * Thu Jun 18 2015 Fedora Release Engineering - 1.05-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild diff --git a/sources b/sources index 8fdf3f2..7b92d10 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -55e5b890fa11969baa4aa0a84a4f04ac Flickr-API-1.05.tar.gz +1fd7a1156edd2848bddc0c9395c06e7f Flickr-API-1.13.tar.gz