Group :: Development/Perl
RPM: perl-WWW-Pastebin-PastebinCom-Create
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Group: Development/Perl
# BEGIN SourceDeps(oneline):
BuildRequires(pre): rpm-build-perl
BuildRequires: perl(overload.pm) perl-podlators
# END SourceDeps(oneline)
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name: perl-WWW-Pastebin-PastebinCom-Create
Version: 1.003
Release: alt1_12
Summary: Paste to http://pastebin.com from Perl
License: GPL+ or Artistic
URL: https://metacpan.org/release/WWW-Pastebin-PastebinCom-Create
Source0: https://cpan.metacpan.org/authors/id/Z/ZO/ZOFFIX/WWW-Pastebin-PastebinCom-Create-%{version}.tar.gz
BuildArch: noarch
BuildRequires: rpm-build-perl
BuildRequires: perl(LWP/UserAgent.pm)
BuildRequires: perl(Module/Build.pm)
BuildRequires: perl(Moo.pm)
BuildRequires: perl(Test/Kwalitee.pm)
BuildRequires: perl(Test/More.pm)
BuildRequires: perl(Test/Pod.pm)
BuildRequires: perl(Test/Pod/Coverage.pm)
BuildRequires: perl(URI.pm)
BuildRequires: perl(WWW/Mechanize.pm)
Source44: import.info
%description
The module provides means of pasting large texts into http://pastebin.com
pastebin site.
%prep
%setup -q -n WWW-Pastebin-PastebinCom-Create-%{version}
# Disable the 01-paste test as it requires network access which we don't
# have when building in koji
rm t/01-paste.t
%build
/usr/bin/perl Build.PL installdirs=vendor
./Build
%install
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
# %{_fixperms} $RPM_BUILD_ROOT/*
%check
./Build test
%files
%doc Changes README examples
%{perl_vendor_privlib}/*
%changelog
…
Full changelog you can see here
# BEGIN SourceDeps(oneline):
BuildRequires(pre): rpm-build-perl
BuildRequires: perl(overload.pm) perl-podlators
# END SourceDeps(oneline)
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name: perl-WWW-Pastebin-PastebinCom-Create
Version: 1.003
Release: alt1_12
Summary: Paste to http://pastebin.com from Perl
License: GPL+ or Artistic
URL: https://metacpan.org/release/WWW-Pastebin-PastebinCom-Create
Source0: https://cpan.metacpan.org/authors/id/Z/ZO/ZOFFIX/WWW-Pastebin-PastebinCom-Create-%{version}.tar.gz
BuildArch: noarch
BuildRequires: rpm-build-perl
BuildRequires: perl(LWP/UserAgent.pm)
BuildRequires: perl(Module/Build.pm)
BuildRequires: perl(Moo.pm)
BuildRequires: perl(Test/Kwalitee.pm)
BuildRequires: perl(Test/More.pm)
BuildRequires: perl(Test/Pod.pm)
BuildRequires: perl(Test/Pod/Coverage.pm)
BuildRequires: perl(URI.pm)
BuildRequires: perl(WWW/Mechanize.pm)
Source44: import.info
%description
The module provides means of pasting large texts into http://pastebin.com
pastebin site.
%prep
%setup -q -n WWW-Pastebin-PastebinCom-Create-%{version}
# Disable the 01-paste test as it requires network access which we don't
# have when building in koji
rm t/01-paste.t
%build
/usr/bin/perl Build.PL installdirs=vendor
./Build
%install
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
# %{_fixperms} $RPM_BUILD_ROOT/*
%check
./Build test
%files
%doc Changes README examples
%{perl_vendor_privlib}/*
%changelog
…
Full changelog you can see here