From 4effbd357eadf4288fd625a55a4346afb6ba7526514b503831a642332f11386d Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Sun, 9 Feb 2014 15:55:31 +0000 Subject: [PATCH 1/3] - updated to 0.96 - added missing prereqs - bumped the minimum version needed for the (optional) prerequisite WWW::Pastebin::PastebinCom::Create, to avoid errors in previous versions (thanks, Zoffix!) - updated and fixed debian and ubuntu language mappings (haarg, PR#1) - packaging converted to Dist::Zilla; handling of optional features fixed (see RT#91053) OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-App-Nopaste?expand=0&rev=22 --- App-Nopaste-0.92.tar.gz | 3 --- App-Nopaste-0.96.tar.gz | 3 +++ perl-App-Nopaste.changes | 12 ++++++++++++ perl-App-Nopaste.spec | 38 ++++++++++++-------------------------- 4 files changed, 27 insertions(+), 29 deletions(-) delete mode 100644 App-Nopaste-0.92.tar.gz create mode 100644 App-Nopaste-0.96.tar.gz diff --git a/App-Nopaste-0.92.tar.gz b/App-Nopaste-0.92.tar.gz deleted file mode 100644 index 9f9b6a8..0000000 --- a/App-Nopaste-0.92.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8a7d8b19662c96679a7844685d9833cd16a75c47683d8a68908b56a2cc2da211 -size 42911 diff --git a/App-Nopaste-0.96.tar.gz b/App-Nopaste-0.96.tar.gz new file mode 100644 index 0000000..a838c9c --- /dev/null +++ b/App-Nopaste-0.96.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5d8125f398ee8ce8356d23311e152653d8b6a650b49b14adce01c14a685e010b +size 39469 diff --git a/perl-App-Nopaste.changes b/perl-App-Nopaste.changes index 3c84895..011c9d6 100644 --- a/perl-App-Nopaste.changes +++ b/perl-App-Nopaste.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Sun Feb 9 13:31:34 UTC 2014 - coolo@suse.com + +- updated to 0.96 + - added missing prereqs + - bumped the minimum version needed for the (optional) prerequisite + WWW::Pastebin::PastebinCom::Create, to avoid errors in previous + versions (thanks, Zoffix!) + - updated and fixed debian and ubuntu language mappings (haarg, PR#1) + - packaging converted to Dist::Zilla; handling of optional features + fixed (see RT#91053) + ------------------------------------------------------------------- Wed May 15 15:24:28 UTC 2013 - coolo@suse.com diff --git a/perl-App-Nopaste.spec b/perl-App-Nopaste.spec index 378821b..8f9b4e7 100644 --- a/perl-App-Nopaste.spec +++ b/perl-App-Nopaste.spec @@ -1,7 +1,7 @@ # # spec file for package perl-App-Nopaste # -# 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,7 +17,7 @@ Name: perl-App-Nopaste -Version: 0.92 +Version: 0.96 Release: 0 %define cpan_name App-Nopaste Summary: easy access to any pastebin @@ -31,40 +31,26 @@ BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros -BuildRequires: perl(Browser::Open) BuildRequires: perl(Class::Load) -BuildRequires: perl(Clipboard) -BuildRequires: perl(Getopt::Long::Descriptive) >= 0.090 +BuildRequires: perl(Getopt::Long::Descriptive) BuildRequires: perl(JSON) +BuildRequires: perl(LWP::Protocol) +BuildRequires: perl(Module::Build::Tiny) >= 0.034 BuildRequires: perl(Module::Pluggable) +BuildRequires: perl(Module::Runtime) BuildRequires: perl(URI::Escape) BuildRequires: perl(WWW::Mechanize) -BuildRequires: perl(WWW::Pastebin::PastebinCom::Create) -#BuildRequires: perl(App::Nopaste) -#BuildRequires: perl(App::Nopaste::Command) -#BuildRequires: perl(App::Nopaste::Service) -#BuildRequires: perl(CPANPLUS::Backend) -#BuildRequires: perl(HTTP::Request::Common) -#BuildRequires: perl(inc::Module::Install) -#BuildRequires: perl(LWP::Protocol) -#BuildRequires: perl(LWP::Simple) -#BuildRequires: perl(Module::AutoInstall) -#BuildRequires: perl(Module::Build) -#BuildRequires: perl(Module::Install::AutoManifest) -#BuildRequires: perl(Module::Install::Base) -#BuildRequires: perl(Module::Install::GithubMeta) -#BuildRequires: perl(Module::Install::ManifestSkip) -#BuildRequires: perl(Parse::CPAN::Meta) -#BuildRequires: perl(YAML::Tiny) -Requires: perl(Browser::Open) +BuildRequires: perl(version) Requires: perl(Class::Load) -Requires: perl(Clipboard) -Requires: perl(Getopt::Long::Descriptive) >= 0.090 +Requires: perl(Getopt::Long::Descriptive) Requires: perl(JSON) Requires: perl(Module::Pluggable) +Requires: perl(Module::Runtime) Requires: perl(URI::Escape) Requires: perl(WWW::Mechanize) -Requires: perl(WWW::Pastebin::PastebinCom::Create) +Recommends: perl(Browser::Open) +Recommends: perl(Clipboard) +Recommends: perl(WWW::Pastebin::PastebinCom::Create) >= 1.003 %{perl_requires} %description From 0852559c533c33ef33509d0e88ff3ab61a11d678889a64fd07ddaae9ff3294a5 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Sun, 9 Feb 2014 16:16:13 +0000 Subject: [PATCH 2/3] OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-App-Nopaste?expand=0&rev=23 --- perl-App-Nopaste.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-App-Nopaste.spec b/perl-App-Nopaste.spec index 8f9b4e7..d0a642d 100644 --- a/perl-App-Nopaste.spec +++ b/perl-App-Nopaste.spec @@ -24,7 +24,7 @@ Summary: easy access to any pastebin License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/App-Nopaste/ -Source: http://www.cpan.org/authors/id/S/SA/SARTAK/%{cpan_name}-%{version}.tar.gz +Source: http://www.cpan.org/authors/id/E/ET/ETHER/%{cpan_name}-%{version}.tar.gz # MANUAL Source1: SusePaste.pm BuildArch: noarch From ff14157add1c51a1851df169496046baf09cdeee49ebca9128b15be488eab467 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Sun, 9 Feb 2014 16:19:30 +0000 Subject: [PATCH 3/3] OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-App-Nopaste?expand=0&rev=24 --- perl-App-Nopaste.spec | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/perl-App-Nopaste.spec b/perl-App-Nopaste.spec index d0a642d..4cfd090 100644 --- a/perl-App-Nopaste.spec +++ b/perl-App-Nopaste.spec @@ -101,19 +101,18 @@ one. find . -type f -print0 | xargs -0 chmod 644 %build -%{__perl} Makefile.PL INSTALLDIRS=vendor -%{__make} %{?_smp_mflags} +%{__perl} Build.PL --installdirs=vendor +./Build build --flags=%{?_smp_mflags} %check -%{__make} test +./Build test %install -%perl_make_install -%perl_process_packlist +./Build install --destdir=%{buildroot} --create_packlist=0 %perl_gen_filelist %files -f %{name}.files %defattr(-,root,root,755) -%doc Changes +%doc Changes CONTRIBUTING LICENSE README README.md %changelog