8
0

Compare commits

...

14 Commits

Author SHA256 Message Date
b060e4809a Accepting request 1288047 from devel:languages:perl
- Normalize CPAN version
  See https://github.com/openSUSE/cpanspec/issues/47 for details

OBS-URL: https://build.opensuse.org/request/show/1288047
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-App-Nopaste?expand=0&rev=18
2025-06-24 18:48:26 +00:00
7bbeff5ab4 Normalize CPAN version
See https://github.com/openSUSE/cpanspec/issues/47 for details

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-App-Nopaste?expand=0&rev=44
2025-06-23 20:28:23 +00:00
9664dd98aa Accepting request 717907 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/717907
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-App-Nopaste?expand=0&rev=17
2019-07-26 10:39:12 +00:00
f7760063c2 Accepting request 623039 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/623039
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-App-Nopaste?expand=0&rev=16
2018-07-28 10:39:30 +00:00
3f2d8c2da4 Accepting request 520452 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/520452
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-App-Nopaste?expand=0&rev=15
2017-09-04 10:37:13 +00:00
e2f59753ad Accepting request 516814 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/516814
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-App-Nopaste?expand=0&rev=14
2017-08-24 16:52:28 +00:00
17b4582fff Accepting request 489029 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/489029
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-App-Nopaste?expand=0&rev=13
2017-05-16 12:33:37 +00:00
b9c0fc22b0 Accepting request 460883 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/460883
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-App-Nopaste?expand=0&rev=12
2017-03-28 13:20:51 +00:00
82eb98e4f1 Accepting request 428409 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/428409
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-App-Nopaste?expand=0&rev=11
2016-09-30 13:31:16 +00:00
96eead6c6f 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
2016-05-30 07:57:10 +00:00
11bc48db1d Accepting request 296973 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/296973
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-App-Nopaste?expand=0&rev=9
2015-04-16 12:13:10 +00:00
Stephan Kulow
58b06693a9 Accepting request 221599 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/221599
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-App-Nopaste?expand=0&rev=7
2014-02-11 09:42:28 +00:00
Stephan Kulow
d676bba452 Accepting request 175763 from devel:languages:perl
- updated to 0.92
     Fix the language mappins for Ubuntu's pastebin (Sergey Romanov)
     Don't need to load Moose in the tests (Sergey Romanov)
     Decode incoming text as utf8 (Jesse Luehrs)
     Support for GITHUB_USER and GITHUB_PASS (Rafael Kitover)
     Name the gist file `nopaste` not `nopaste.txt` for possible syntax highlighting (Rafael Kitover)
     Use decode_json not a regular expression to decode Gist response body (Shawn M Moore)
     Give a hint to perldoc App::Nopaste::Service::Gist on 401 (Shawn M Moore)
     Port from Moose and MooseX::Getopt to Getopt::Long::Descriptive (frew)
     App::Nopaste is not using any interesting Moose features,
     so it doesn't make sense to pay the startup cost (even
     though it's probably dominated by network latency)
     Please report any regressions!

OBS-URL: https://build.opensuse.org/request/show/175763
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-App-Nopaste?expand=0&rev=5
2013-05-16 09:22:58 +00:00
Ismail Dönmez
26001b1e77 Accepting request 134033 from devel:languages:perl
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/134033
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-App-Nopaste?expand=0&rev=3
2012-09-14 10:33:38 +00:00
2 changed files with 38 additions and 19 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Jun 23 20:28:17 UTC 2025 - Tina Müller <tina.mueller@suse.com>
- Normalize CPAN version
See https://github.com/openSUSE/cpanspec/issues/47 for details
-------------------------------------------------------------------
Tue Jul 23 05:02:18 UTC 2019 - Stephan Kulow <coolo@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-App-Nopaste
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,23 +16,22 @@
#
Name: perl-App-Nopaste
Version: 1.013
Release: 0
%define cpan_name App-Nopaste
Summary: Easy access to any pastebin
Name: perl-App-Nopaste
Version: 1.13.0
Release: 0
# 1.013 -> normalize -> 1.13.0
%define cpan_version 1.013
License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl
Url: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/E/ET/ETHER/%{cpan_name}-%{version}.tar.gz
Summary: Easy access to any pastebin
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/E/ET/ETHER/%{cpan_name}-%{cpan_version}.tar.gz
Source1: SusePaste.pm
Source2: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Browser::Open)
BuildRequires: perl(CPAN::Meta::Requirements) >= 2.120620
BuildRequires: perl(CPAN::Meta::Requirements) >= 2.121
BuildRequires: perl(Class::Load)
BuildRequires: perl(Getopt::Long::Descriptive)
BuildRequires: perl(JSON::MaybeXS)
@@ -47,9 +46,8 @@ BuildRequires: perl(Test::Fatal)
BuildRequires: perl(Test::More) >= 0.88
BuildRequires: perl(URI::Escape)
BuildRequires: perl(WWW::Mechanize)
BuildRequires: perl(namespace::clean) >= 0.19
BuildRequires: perl(namespace::clean) >= 0.190
BuildRequires: perl(parent)
Requires: perl(Browser::Open)
Requires: perl(Class::Load)
Requires: perl(Getopt::Long::Descriptive)
Requires: perl(JSON::MaybeXS)
@@ -59,11 +57,26 @@ Requires: perl(Module::Runtime)
Requires: perl(Path::Tiny)
Requires: perl(URI::Escape)
Requires: perl(WWW::Mechanize)
Requires: perl(namespace::clean) >= 0.19
Requires: perl(namespace::clean) >= 0.190
Requires: perl(parent)
Provides: perl(App::Nopaste) = %{version}
Provides: perl(App::Nopaste::Command) = %{version}
Provides: perl(App::Nopaste::Service) = %{version}
Provides: perl(App::Nopaste::Service::Codepeek) = %{version}
Provides: perl(App::Nopaste::Service::Debian) = %{version}
Provides: perl(App::Nopaste::Service::Gist) = %{version}
Provides: perl(App::Nopaste::Service::GitLab) = %{version}
Provides: perl(App::Nopaste::Service::Mojopaste) = %{version}
Provides: perl(App::Nopaste::Service::PastebinCom) = %{version}
Provides: perl(App::Nopaste::Service::Pastie) = %{version}
Provides: perl(App::Nopaste::Service::Shadowcat) = %{version}
Provides: perl(App::Nopaste::Service::Snitch) = %{version}
Provides: perl(App::Nopaste::Service::Ubuntu) = %{version}
Provides: perl(App::Nopaste::Service::ssh) = %{version}
%undefine __perllib_provides
Recommends: perl(Browser::Open)
Recommends: perl(Clipboard)
Recommends: perl(WWW::Pastebin::PastebinCom::Create) >= 1.003
Recommends: perl(WWW::Pastebin::PastebinCom::Create) >= 1.3
%{perl_requires}
%description
@@ -84,15 +97,16 @@ 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 ! -name \*.pl -print0 | xargs -0 chmod 644
%autosetup -n %{cpan_name}-%{cpan_version} -p1
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644
# MANUAL BEGIN
%__install -m 0644 "%{SOURCE1}" lib/App/Nopaste/Service/
# MANUAL END
%build
perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%make_build
%check
make test
@@ -103,7 +117,6 @@ make test
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes CONTRIBUTING README
%license LICENSE