1
0
Pascal Bleser 2010-08-31 21:36:23 +00:00 committed by Git OBS Bridge
parent 7364109cf8
commit cffc466fec
2 changed files with 17 additions and 0 deletions

15
SusePaste.pm Normal file
View File

@ -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;

View File

@ -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}"