commit 6ce0788a3808caae9320dc6103e101bf81ffd14c Author: Petr Šabata <contyk@xxxxxxxxxx> Date: Fri Nov 7 16:30:47 2014 +0100 0.96 bump .gitignore | 1 + perl-App-Nopaste.spec | 58 +++++++++++++++++++++++++++--------------------- sources | 2 +- 3 files changed, 35 insertions(+), 26 deletions(-) --- diff --git a/.gitignore b/.gitignore index 82f6719..556dbdb 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ App-Nopaste-0.22.tar.gz /App-Nopaste-0.33.tar.gz /App-Nopaste-0.35.tar.gz /App-Nopaste-0.90.tar.gz +/App-Nopaste-0.96.tar.gz diff --git a/perl-App-Nopaste.spec b/perl-App-Nopaste.spec index 2fa7d95..9547e52 100644 --- a/perl-App-Nopaste.spec +++ b/perl-App-Nopaste.spec @@ -1,35 +1,43 @@ Name: perl-App-Nopaste -Version: 0.90 -Release: 6%{?dist} +Version: 0.96 +Release: 1%{?dist} Summary: Easy access to any pastebin License: GPL+ or Artistic -Group: Development/Libraries URL: http://search.cpan.org/dist/App-Nopaste/ Source0: http://www.cpan.org/authors/id/S/SA/SARTAK/App-Nopaste-%{version}.tar.gz BuildArch: noarch -BuildRequires: perl(inc::Module::Install) -BuildRequires: perl(Browser::Open) +# Build +BuildRequires: perl +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30 +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Runtime +BuildRequires: perl(base) BuildRequires: perl(Class::Load) +BuildRequires: perl(Exporter) +BuildRequires: perl(File::Basename) BuildRequires: perl(File::Spec) BuildRequires: perl(File::Temp) -BuildRequires: perl(Getopt::Long::Descriptive) >= 0.090 +BuildRequires: perl(Getopt::Long::Descriptive) BuildRequires: perl(JSON) BuildRequires: perl(Module::Pluggable) -BuildRequires: perl(Test::More) +BuildRequires: perl(Module::Runtime) +BuildRequires: perl(POSIX) +BuildRequires: perl(URI::Escape) BuildRequires: perl(WWW::Mechanize) -# necessary for optional modules -BuildRequires: perl(Clipboard) -BuildRequires: perl(Config::GitLike) -BuildRequires: perl(WWW::Pastebin::PastebinCom::Create) +# Tests only +BuildRequires: perl(File::Spec::Functions) +BuildRequires: perl(List::Util) +BuildRequires: perl(LWP::Protocol) +BuildRequires: perl(Test::More) +BuildRequires: perl(version) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) -# autoreq doesn't catch this -Requires: perl(Browser::Open) -# necessary for optional modules -Requires: perl(Clipboard) -Requires: perl(Config::GitLike) -Requires: perl(WWW::Pastebin::PastebinCom::Create) # for ssh plugin Requires: /usr/bin/scp +Requires: perl(Clipboard) +Requires: perl(Browser::Open) +Requires: perl(WWW::Pastebin::PastebinCom::Create) +Requires: perl(HTTP::Request::Common) %description Pastebins (also known as nopaste sites) let you post text, usually code, @@ -58,22 +66,19 @@ normally be too long to give directly in the channel (hence the name nopaste). find lib -type f | xargs chmod -x %build -PERL5_CPANPLUS_IS_RUNNING=1 %{__perl} Makefile.PL INSTALLDIRS=vendor +perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install -make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT - -find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; -find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; - -%{_fixperms} $RPM_BUILD_ROOT/* +make pure_install DESTDIR=%{buildroot} +find %{buildroot} -type f -name .packlist -exec rm -f {} + +%{_fixperms} %{buildroot}/* %check make test %files -%doc Changes +%doc Changes CONTRIBUTING LICENSE README %{perl_vendorlib}/* %{_mandir}/man3/* @@ -82,6 +87,9 @@ make test %{_mandir}/man1/* %changelog +* Fri Nov 07 2014 Petr Šabata <contyk@xxxxxxxxxx> - 0.96-1 +- 0.96 bump + * Mon Sep 01 2014 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 0.90-6 - Perl 5.20 rebuild diff --git a/sources b/sources index 156b7e8..e52c10f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -19c985f55fee9b7b0dc6cbe5e3ed4275 App-Nopaste-0.90.tar.gz +609063c6bbdf4334ef7d2a115260a82d App-Nopaste-0.96.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel