Name: perl-WWW-Pastebin-PastebinCom-Create Version: 1.003 Release: 31%{?dist} Summary: Paste to http://pastebin.com from Perl without API keys # Build.PL: Artistic-2.0 # lib/WWW/Pastebin/PastebinCom/Create.pm: Artistic-2.0 # LICENSE: GPL-1.0-or-later OR Artistic-1.0-Perl # README: Artistic-2.0 # WWW-Pastebin-PastebinCom-Create-1.001 changed a licenese declaration in all # files except of LICENSE file. A clarification requested from the upstream, # CPAN RT#146431. License: Artistic-2.0 AND (GPL-1.0-or-later OR Artistic-1.0-Perl) 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 # Do not use /usr/bin/env in shebangs, not suitable for upstream Patch0: WWW-Pastebin-PastebinCom-Create-1.003-Do-not-use-usr-bin-env-in-shell-bangs.patch BuildArch: noarch BuildRequires: coreutils BuildRequires: make BuildRequires: perl-generators BuildRequires: perl-interpreter BuildRequires: perl(:VERSION) >= 5.6 BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 # Run-time: BuildRequires: perl(Moo) >= 1.004001 BuildRequires: perl(overload) BuildRequires: perl(WWW::Mechanize) >= 1.73 # Tests: BuildRequires: perl(strict) BuildRequires: perl(Test::More) Requires: perl(Moo) >= 1.004001 Requires: perl(WWW::Mechanize) >= 1.73 # Filter underspecified dependencies %global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^perl\\((Moo|WWW::Mechanize)\\)$ %description This module provides the means to paste on pastebin, without the need for API keys which limits a number of pastes per day. If you need pasting more oftern, consider using WWW::Pastebin::PastebinCom::API Perl module. %prep %autosetup -p1 -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 perl -i -ne 'print $_ unless m{^t/01-paste\.t\>}' MANIFEST %build perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 %{make_build} %install %{make_install} %{_fixperms} %{buildroot}/* %check export HARNESS_OPTIONS=j$(perl -e 'if ($ARGV[0] =~ /.*-j([0-9][0-9]*).*/) {print $1} else {print 1}' -- '%{?_smp_mflags}') make test %files %license LICENSE %doc Changes README examples %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Fri Jul 19 2024 Fedora Release Engineering - 1.003-31 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Thu Jan 25 2024 Fedora Release Engineering - 1.003-30 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 1.003-29 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 1.003-28 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Mon Feb 13 2023 Petr Pisar - 1.003-27 - License corrected to "Artistic-2.0 AND (GPL-1.0-or-later OR Artistic-1.0-Perl)" - Update a package description * Fri Jan 20 2023 Fedora Release Engineering - 1.003-26 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 1.003-25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jun 01 2022 Jitka Plesnikova - 1.003-24 - Perl 5.36 rebuild * Fri Jan 21 2022 Fedora Release Engineering - 1.003-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 1.003-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Sun May 23 2021 Jitka Plesnikova - 1.003-21 - Perl 5.34 rebuild * Wed Jan 27 2021 Fedora Release Engineering - 1.003-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 1.003-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jun 23 2020 Jitka Plesnikova - 1.003-18 - Perl 5.32 rebuild * Thu Jan 30 2020 Fedora Release Engineering - 1.003-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 1.003-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri May 31 2019 Jitka Plesnikova - 1.003-15 - Perl 5.30 rebuild * Sat Feb 02 2019 Fedora Release Engineering - 1.003-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 1.003-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Jun 28 2018 Jitka Plesnikova - 1.003-12 - Perl 5.28 rebuild * Fri Feb 09 2018 Fedora Release Engineering - 1.003-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 1.003-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Tue Jun 06 2017 Jitka Plesnikova - 1.003-9 - Perl 5.26 rebuild * Sat Feb 11 2017 Fedora Release Engineering - 1.003-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon May 16 2016 Jitka Plesnikova - 1.003-7 - Perl 5.24 rebuild * Thu Feb 04 2016 Fedora Release Engineering - 1.003-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 1.003-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Fri Jun 12 2015 Emmanuel Seyman - 1.003-3 - Disable the 01-paste test * Fri Jun 12 2015 Emmanuel Seyman - 1.003-3 - Bump to rebuild * Mon Jun 08 2015 Jitka Plesnikova - 1.003-2 - Perl 5.22 rebuild * Mon Nov 10 2014 Emmanuel Seyman - 1.003-1 - Update to 1.003 * Fri Aug 29 2014 Jitka Plesnikova - 0.004-8 - Perl 5.20 rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.004-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sun Aug 04 2013 Fedora Release Engineering - 0.004-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Tue Jul 30 2013 Petr Pisar - 0.004-5 - Perl 5.18 rebuild * Thu Feb 14 2013 Fedora Release Engineering - 0.004-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Jul 20 2012 Fedora Release Engineering - 0.004-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Sat Jun 23 2012 Petr Pisar - 0.004-2 - Perl 5.16 rebuild * Fri Jan 06 2012 Iain Arnell 0.004-1 - update to latest upstream version - clean up spec for modern rpmbuild * Tue Jul 19 2011 Petr Sabata - 0.003-5 - Perl mass rebuild * Wed Feb 09 2011 Fedora Release Engineering - 0.003-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Thu Dec 23 2010 Marcela Maslanova - 0.003-3 - 661697 rebuild for fixing problems with vendorach/lib * Fri May 07 2010 Marcela Maslanova - 0.003-2 - Mass rebuild with perl-5.12.0 * Fri Mar 19 2010 Iain Arnell 0.003-1 - update to latest upstream - use perl_default_filter * Mon Dec 7 2009 Stepan Kasal - 0.002-4 - rebuild against perl 5.10.1 * Sun Jul 26 2009 Fedora Release Engineering - 0.002-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Apr 23 2009 Iain Arnell 0.002-2 - add examples as documentation * Sun Apr 19 2009 Iain Arnell 0.002-1 - Specfile autogenerated by cpanspec 1.77.