1
0

Accepting request 398539 from devel:languages:perl

1

OBS-URL: https://build.opensuse.org/request/show/398539
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-App-Nopaste?expand=0&rev=10
This commit is contained in:
Dominique Leuenberger 2016-05-30 07:57:10 +00:00 committed by Git OBS Bridge
commit 96eead6c6f
4 changed files with 32 additions and 13 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:62eac2cd9bef0a3bd41c16da94236619ecab1f5cf950807dcd64783c9a7d2a16
size 45403

3
App-Nopaste-1.006.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:566698b6863d69568dc13119e3a20614f858d691ff849b638528c59a220c542f
size 49245

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Sat May 28 09:21:51 UTC 2016 - coolo@suse.com
- updated to 1.006
see /usr/share/doc/packages/perl-App-Nopaste/Changes
1.006 2016-05-24 02:55:20Z
- fix failing tests with other locales, environment settings
1.005 2016-05-20 02:39:52Z
- mark App::Nopaste::Service::Codepeek as deprecated in metadata
- the Gist command also looks in ~/.github for credentials
- many additional tests; thanks David J. Shultz!
-------------------------------------------------------------------
Tue Apr 14 10:11:38 UTC 2015 - coolo@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package perl-App-Nopaste
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2016 SUSE LINUX 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: 1.004
Version: 1.006
Release: 0
%define cpan_name App-Nopaste
Summary: Easy access to any pastebin
@ -32,25 +32,31 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Browser::Open)
BuildRequires: perl(CPAN::Meta::Requirements) >= 2.120620
BuildRequires: perl(Class::Load)
BuildRequires: perl(Getopt::Long::Descriptive)
BuildRequires: perl(JSON::MaybeXS)
BuildRequires: perl(LWP::Protocol)
BuildRequires: perl(Module::Metadata)
BuildRequires: perl(Module::Pluggable)
BuildRequires: perl(Module::Runtime)
BuildRequires: perl(Path::Tiny)
BuildRequires: perl(Test::Deep)
BuildRequires: perl(Test::Fatal)
BuildRequires: perl(Test::More) >= 0.88
BuildRequires: perl(URI::Escape)
BuildRequires: perl(WWW::Mechanize)
BuildRequires: perl(namespace::clean)
BuildRequires: perl(namespace::clean) >= 0.19
Requires: perl(Browser::Open)
Requires: perl(Class::Load)
Requires: perl(Getopt::Long::Descriptive)
Requires: perl(JSON::MaybeXS)
Requires: perl(Module::Pluggable)
Requires: perl(Module::Runtime)
Requires: perl(Path::Tiny)
Requires: perl(URI::Escape)
Requires: perl(WWW::Mechanize)
Requires: perl(namespace::clean)
Requires: perl(namespace::clean) >= 0.19
Recommends: perl(Browser::Open)
Recommends: perl(Clipboard)
Recommends: perl(WWW::Pastebin::PastebinCom::Create) >= 1.003
@ -63,20 +69,19 @@ would normally be too long to give directly in the channel (hence the name
nopaste).
Each pastebin is slightly different. When one pastebin goes down (I'm
looking at you, the http://paste.husk.org manpage), then you have to find a
new one. And if you usually use a script to publish text, then it's too
much hassle.
looking at you, http://paste.husk.org), then you have to find a new one.
And if you usually use a script to publish text, then it's too much hassle.
This module aims to smooth out the differences between pastebins, and
provides redundancy: if one site doesn't work, it just tries a different
one.
It's also modular: you only need to put on CPAN a the
App::Nopaste::Service::Foo manpage module and anyone can begin using it.
It's also modular: you only need to put on CPAN a
App::Nopaste::Service::Foo module and anyone can begin using it.
%prep
%setup -q -n %{cpan_name}-%{version}
find . -type f -print0 | xargs -0 chmod 644
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
# MANUAL BEGIN
%__install -m 0644 "%{SOURCE1}" lib/App/Nopaste/Service/
# MANUAL END