From cffc466fec9f8cc8ec3ed38c61484cc28b3fefe51975236ce97ffa10279e3b42 Mon Sep 17 00:00:00 2001 From: Pascal Bleser Date: Tue, 31 Aug 2010 21:36:23 +0000 Subject: [PATCH] add susepaste OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-App-Nopaste?expand=0&rev=2 --- SusePaste.pm | 15 +++++++++++++++ perl-App-Nopaste.spec | 2 ++ 2 files changed, 17 insertions(+) create mode 100644 SusePaste.pm diff --git a/SusePaste.pm b/SusePaste.pm new file mode 100644 index 0000000..3d45216 --- /dev/null +++ b/SusePaste.pm @@ -0,0 +1,15 @@ +package App::Nopaste::Service::SusePaste; +use strict; +use warnings; +use base 'App::Nopaste::Service'; + +sub uri { "http://paste.opensuse.org" } + +=head1 NAME + +App::Nopaste::Service::SusePaste - http://paste.opensuse.org/ + +=cut + +1; + diff --git a/perl-App-Nopaste.spec b/perl-App-Nopaste.spec index 0b30f36..2aeff6b 100644 --- a/perl-App-Nopaste.spec +++ b/perl-App-Nopaste.spec @@ -6,6 +6,7 @@ Version: 0.22 Release: 0 Summary: Easy access to any pastebin Source: http://search.cpan.org/CPAN/authors/id/S/SA/SARTAK/App-Nopaste-%{version}.tar.gz +Source1: SusePaste.pm URL: http://search.cpan.org/dist/App-Nopaste Group: Development/Libraries/Perl License: Perl License @@ -68,6 +69,7 @@ one. %prep %setup -q -n "App-Nopaste-%{version}" %__sed -i '/^auto_install/d' Makefile.PL +%__install -m 0644 "%{SOURCE1}" lib/App/Nopaste/Service/ %build %__perl Makefile.PL PREFIX="%{_prefix}"