From a6fdb126d265875c3e0a10e28699a9135be8d36eece114dcf6122788460d43ad Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Sun, 9 Feb 2014 15:51:36 +0000 Subject: [PATCH] - updated to 1.003 - Fixed a bug where the module died when a network error occured - Fixed the module and the tests to handle properly the case when we reach the daily 10-pastes limit. - Resurrected the module for use with App::Nopaste OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-WWW-Pastebin-PastebinCom-Create?expand=0&rev=8 --- perl-WWW-Pastebin-PastebinCom-Create.changes | 9 +++++++ perl-WWW-Pastebin-PastebinCom-Create.spec | 27 ++++++++++---------- WWW-Pastebin-PastebinCom-Create-0.004.tar.gz | 3 --- WWW-Pastebin-PastebinCom-Create-1.003.tar.gz | 3 +++ 4 files changed, 25 insertions(+), 17 deletions(-) delete mode 100644 WWW-Pastebin-PastebinCom-Create-0.004.tar.gz create mode 100644 WWW-Pastebin-PastebinCom-Create-1.003.tar.gz diff --git a/perl-WWW-Pastebin-PastebinCom-Create.changes b/perl-WWW-Pastebin-PastebinCom-Create.changes index 90cefd3..4433f6a 100644 --- a/perl-WWW-Pastebin-PastebinCom-Create.changes +++ b/perl-WWW-Pastebin-PastebinCom-Create.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Sun Feb 9 13:34:25 UTC 2014 - coolo@suse.com + +- updated to 1.003 + - Fixed a bug where the module died when a network error occured + - Fixed the module and the tests to handle properly the case + when we reach the daily 10-pastes limit. + - Resurrected the module for use with App::Nopaste + ------------------------------------------------------------------- Sat Jun 15 06:13:45 UTC 2013 - coolo@suse.com diff --git a/perl-WWW-Pastebin-PastebinCom-Create.spec b/perl-WWW-Pastebin-PastebinCom-Create.spec index dcc5534..309230e 100644 --- a/perl-WWW-Pastebin-PastebinCom-Create.spec +++ b/perl-WWW-Pastebin-PastebinCom-Create.spec @@ -1,7 +1,7 @@ # # spec file for package perl-WWW-Pastebin-PastebinCom-Create # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,11 +17,11 @@ Name: perl-WWW-Pastebin-PastebinCom-Create -Version: 0.004 +Version: 1.003 Release: 0 %define cpan_name WWW-Pastebin-PastebinCom-Create -Summary: paste to L from Perl. -License: Artistic-1.0 or GPL-1.0+ +Summary: paste on www.pastebin.com without API keys +License: Artistic-2.0 Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/WWW-Pastebin-PastebinCom-Create/ Source: http://www.cpan.org/authors/id/Z/ZO/ZOFFIX/%{cpan_name}-%{version}.tar.gz @@ -29,18 +29,17 @@ BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros -BuildRequires: perl(LWP::UserAgent) >= 2.036 -BuildRequires: perl(Module::Build) >= 0.36 -BuildRequires: perl(URI) >= 1.35 -#BuildRequires: perl(Test::Kwalitee) -#BuildRequires: perl(WWW::Pastebin::PastebinCom::Create) -Requires: perl(LWP::UserAgent) >= 2.036 -Requires: perl(URI) >= 1.35 +BuildRequires: perl(Module::Build) +BuildRequires: perl(Moo) >= 1.004001 +BuildRequires: perl(WWW::Mechanize) >= 1.73 +Requires: perl(Moo) >= 1.004001 +Requires: perl(WWW::Mechanize) >= 1.73 %{perl_requires} %description -The module provides means of pasting large texts into the -http://pastebin.com manpage pastebin site. +This module provides the means to paste on the www.pastebin.com manpage +pastebin, without the need for http://pastebin.com/api. See the WARNING!!! +section above. %prep %setup -q -n %{cpan_name}-%{version} @@ -58,6 +57,6 @@ http://pastebin.com manpage pastebin site. %files -f %{name}.files %defattr(-,root,root,755) -%doc Changes examples README +%doc Changes examples LICENSE README xt %changelog diff --git a/WWW-Pastebin-PastebinCom-Create-0.004.tar.gz b/WWW-Pastebin-PastebinCom-Create-0.004.tar.gz deleted file mode 100644 index cd37477..0000000 --- a/WWW-Pastebin-PastebinCom-Create-0.004.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:dd4a265a4cc77f6323036b4e1e1b72b390f941db29a1126811c4726dfa02f8b4 -size 8283 diff --git a/WWW-Pastebin-PastebinCom-Create-1.003.tar.gz b/WWW-Pastebin-PastebinCom-Create-1.003.tar.gz new file mode 100644 index 0000000..6008a40 --- /dev/null +++ b/WWW-Pastebin-PastebinCom-Create-1.003.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:96b24d47f02df306bec091ff57acdad183c14edceb2bf2180c25d34a234c4277 +size 15663