|
|
55d4a3 |
%{?scl:%scl_package perl-Business-ISBN-Data}
|
|
|
55d4a3 |
|
|
|
55d4a3 |
Name: %{?scl_prefix}perl-Business-ISBN-Data
|
|
|
55d4a3 |
Version: 20140910.003
|
|
|
55d4a3 |
Release: 4%{?dist}
|
|
|
55d4a3 |
Summary: The data pack for Business::ISBN
|
|
|
55d4a3 |
Group: Development/Libraries
|
|
|
55d4a3 |
License: GPL+ or Artistic
|
|
|
55d4a3 |
URL: http://search.cpan.org/dist/Business-ISBN-Data/
|
|
|
55d4a3 |
Source0: http://search.cpan.org/CPAN/authors/id/B/BD/BDFOY/Business-ISBN-Data-%{version}.tar.gz
|
|
|
55d4a3 |
Patch0: Business-ISBN-Data-20120719-shellbang.patch
|
|
|
55d4a3 |
BuildArch: noarch
|
|
|
55d4a3 |
# Module Build
|
|
|
55d4a3 |
BuildRequires: coreutils
|
|
|
55d4a3 |
BuildRequires: findutils
|
|
|
55d4a3 |
BuildRequires: make
|
|
|
55d4a3 |
BuildRequires: %{?scl_prefix}perl
|
|
|
55d4a3 |
BuildRequires: %{?scl_prefix}perl-generators
|
|
|
55d4a3 |
BuildRequires: %{?scl_prefix}perl(ExtUtils::MakeMaker) >= 6.64
|
|
|
55d4a3 |
BuildRequires: %{?scl_prefix}perl(File::Spec)
|
|
|
55d4a3 |
%if !%{defined perl_small}
|
|
|
55d4a3 |
BuildRequires: %{?scl_prefix}perl(Test::Manifest) >= 1.21
|
|
|
55d4a3 |
%endif
|
|
|
55d4a3 |
# Module Runtime
|
|
|
55d4a3 |
BuildRequires: %{?scl_prefix}perl(Carp)
|
|
|
55d4a3 |
BuildRequires: %{?scl_prefix}perl(File::Basename)
|
|
|
55d4a3 |
BuildRequires: %{?scl_prefix}perl(File::Spec::Functions)
|
|
|
55d4a3 |
BuildRequires: %{?scl_prefix}perl(strict)
|
|
|
55d4a3 |
BuildRequires: %{?scl_prefix}perl(vars)
|
|
|
55d4a3 |
BuildRequires: %{?scl_prefix}perl(warnings)
|
|
|
55d4a3 |
# Test Suite
|
|
|
55d4a3 |
BuildRequires: %{?scl_prefix}perl(Test::More) >= 0.95
|
|
|
55d4a3 |
%if !%{defined perl_small}
|
|
|
55d4a3 |
BuildRequires: %{?scl_prefix}perl(Test::Pod) >= 1.00
|
|
|
55d4a3 |
BuildRequires: %{?scl_prefix}perl(Test::Pod::Coverage)
|
|
|
55d4a3 |
%endif
|
|
|
55d4a3 |
# Runtime
|
|
|
55d4a3 |
Requires: %{?scl_prefix}perl(:MODULE_COMPAT_%(%{?scl:scl enable %{scl} '}eval "$(perl -V:version)";echo $version%{?scl:'}))
|
|
|
55d4a3 |
|
|
|
55d4a3 |
%description
|
|
|
55d4a3 |
This is a data pack for Business::ISBN. You can update
|
|
|
55d4a3 |
the ISBN data without changing the version of Business::ISBN.
|
|
|
55d4a3 |
Most of the interesting stuff is in Business::ISBN.
|
|
|
55d4a3 |
|
|
|
55d4a3 |
%prep
|
|
|
55d4a3 |
%setup -q -n Business-ISBN-Data-%{version}
|
|
|
55d4a3 |
|
|
|
55d4a3 |
# Fix shellbang and script permissions for make_data.pl
|
|
|
55d4a3 |
%patch0
|
|
|
55d4a3 |
chmod -c +x make_data.pl
|
|
|
55d4a3 |
%{?scl:scl enable %{scl} '}perl -MExtUtils::MakeMaker -e "ExtUtils::MM_Unix->fixin(qq{make_data.pl})"%{?scl:'}
|
|
|
55d4a3 |
|
|
|
55d4a3 |
%build
|
|
|
55d4a3 |
%{?scl:scl enable %{scl} '}perl Makefile.PL INSTALLDIRS=vendor && make %{?_smp_mflags}%{?scl:'}
|
|
|
55d4a3 |
|
|
|
55d4a3 |
%install
|
|
|
55d4a3 |
%{?scl:scl enable %{scl} '}make pure_install DESTDIR=%{buildroot}%{?scl:'}
|
|
|
55d4a3 |
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
|
|
55d4a3 |
%{_fixperms} %{buildroot}
|
|
|
55d4a3 |
|
|
|
55d4a3 |
%check
|
|
|
55d4a3 |
%{?scl:scl enable %{scl} '}make test%{?scl:'}
|
|
|
55d4a3 |
|
|
|
55d4a3 |
%files
|
|
|
55d4a3 |
%doc LICENSE
|
|
|
55d4a3 |
%doc Changes README.pod examples/ t/
|
|
|
55d4a3 |
%{perl_vendorlib}/Business/
|
|
|
55d4a3 |
%{_mandir}/man3/Business::ISBN::Data.3*
|
|
|
55d4a3 |
|
|
|
55d4a3 |
%changelog
|
|
|
55d4a3 |
* Tue Jul 19 2016 Petr Pisar <ppisar@redhat.com> - 20140910.003-4
|
|
|
55d4a3 |
- SCL
|
|
|
55d4a3 |
|
|
|
55d4a3 |
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 20140910.003-3
|
|
|
55d4a3 |
- Perl 5.24 rebuild
|
|
|
55d4a3 |
|
|
|
55d4a3 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 20140910.003-2
|
|
|
55d4a3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
55d4a3 |
|
|
|
55d4a3 |
* Wed Dec 16 2015 Paul Howarth <paul@city-fan.org> - 20140910.003-1
|
|
|
55d4a3 |
- Update to 20140910.003
|
|
|
55d4a3 |
- Hide the Business::ISBN namespace
|
|
|
55d4a3 |
- Drop now-redundant provides filter
|
|
|
55d4a3 |
|
|
|
55d4a3 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20140910.002-3
|
|
|
55d4a3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
55d4a3 |
|
|
|
55d4a3 |
* Fri Jun 05 2015 Jitka Plesnikova <jplesnik@redhat.com> - 20140910.002-2
|
|
|
55d4a3 |
- Perl 5.22 rebuild
|
|
|
55d4a3 |
|
|
|
55d4a3 |
* Tue Sep 23 2014 Paul Howarth <paul@city-fan.org> - 20140910.002-1
|
|
|
55d4a3 |
- Update to 20140910.002
|
|
|
55d4a3 |
- Look in the current directory for RangeMessage.xml if it's not in other
|
|
|
55d4a3 |
locations; this can help with various Perl app packagers (also try
|
|
|
55d4a3 |
ISBN_RANGE_MESSAGE env var)
|
|
|
55d4a3 |
|
|
|
55d4a3 |
* Fri Sep 19 2014 Paul Howarth <paul@city-fan.org> - 20140910.001-1
|
|
|
55d4a3 |
- Update to 20140910.001
|
|
|
55d4a3 |
- Update to the latest data (2014-09-10)
|
|
|
55d4a3 |
- Use %%license
|
|
|
55d4a3 |
- Classify buildreqs by usage
|
|
|
55d4a3 |
- Drop redundant LWP::Simple requires filter
|
|
|
55d4a3 |
|
|
|
55d4a3 |
* Thu Aug 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 20120719.001-6
|
|
|
55d4a3 |
- Perl 5.20 rebuild
|
|
|
55d4a3 |
|
|
|
55d4a3 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20120719.001-5
|
|
|
55d4a3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
55d4a3 |
|
|
|
55d4a3 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20120719.001-4
|
|
|
55d4a3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
55d4a3 |
|
|
|
55d4a3 |
* Sun Jul 21 2013 Petr Pisar <ppisar@redhat.com> - 20120719.001-3
|
|
|
55d4a3 |
- Perl 5.18 rebuild
|
|
|
55d4a3 |
|
|
|
55d4a3 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20120719.001-2
|
|
|
55d4a3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
55d4a3 |
|
|
|
55d4a3 |
* Thu Jul 26 2012 Paul Howarth <paul@city-fan.org> - 20120719.001-1
|
|
|
55d4a3 |
- Update to 20120719.001:
|
|
|
55d4a3 |
- Require Test::More ≥ 0.95 for subtest support
|
|
|
55d4a3 |
- No code or feature changes
|
|
|
55d4a3 |
- Bump Test::Manifest version requirement to 1.21
|
|
|
55d4a3 |
- Bump Test::More version requirement to 0.95
|
|
|
55d4a3 |
- Drop redundant buildreq perl(Test::Prereq)
|
|
|
55d4a3 |
|
|
|
55d4a3 |
* Tue Jul 24 2012 Paul Howarth <paul@city-fan.org> - 20120719-1
|
|
|
55d4a3 |
- Update to 20120719:
|
|
|
55d4a3 |
- Support using data from RangeMessage.xml, so you can use the latest data
|
|
|
55d4a3 |
from ISBN without updating this module
|
|
|
55d4a3 |
- Fix shellbang and permissions of make_data.pl script to placate rpmlint
|
|
|
55d4a3 |
- Filter dependency on perl(LWP::Simple), required only by make_data.pl script,
|
|
|
55d4a3 |
not in normal operation
|
|
|
55d4a3 |
- Don't need to remove empty directories from the buildroot
|
|
|
55d4a3 |
- BR: perl(Carp), perl(File::Spec::Functions) and perl(Test::Manifest) ≥ 1.14
|
|
|
55d4a3 |
- BR: at least version 1.00 of perl(Test::Pod)
|
|
|
55d4a3 |
|
|
|
55d4a3 |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20081208-10
|
|
|
55d4a3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
55d4a3 |
|
|
|
55d4a3 |
* Wed Jun 13 2012 Petr Pisar <ppisar@redhat.com> - 20081208-9
|
|
|
55d4a3 |
- Perl 5.16 rebuild
|
|
|
55d4a3 |
|
|
|
55d4a3 |
* Fri Jan 20 2012 Paul Howarth <paul@city-fan.org> - 20081208-8
|
|
|
55d4a3 |
- Clean up for modern rpmbuild:
|
|
|
55d4a3 |
- Drop BuildRoot specification
|
|
|
55d4a3 |
- Drop %%clean section
|
|
|
55d4a3 |
- Don't bother cleaning buildroot in %%install section
|
|
|
55d4a3 |
- Make %%files list more explicit
|
|
|
55d4a3 |
- Use DESTDIR rather than PERL_INSTALL_ROOT
|
|
|
55d4a3 |
- Use %%{_fixperms} macro rather than our own chmod incantation
|
|
|
55d4a3 |
- Replace provides filter with version that works with rpm ≥ 4.9
|
|
|
55d4a3 |
- Include tests as %%doc since they're referred to by examples/README
|
|
|
55d4a3 |
|
|
|
55d4a3 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20081208-7
|
|
|
55d4a3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
55d4a3 |
|
|
|
55d4a3 |
* Tue Jun 21 2011 Marcela Mašláňová <mmaslano@redhat.com> - 20081208-6
|
|
|
55d4a3 |
- Perl mass rebuild
|
|
|
55d4a3 |
|
|
|
55d4a3 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20081208-5
|
|
|
55d4a3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
55d4a3 |
|
|
|
55d4a3 |
* Wed Dec 15 2010 Marcela Maslanova <mmaslano@redhat.com> - 20081208-4
|
|
|
55d4a3 |
- Rebuild to fix problems with vendorarch/lib (#661697)
|
|
|
55d4a3 |
|
|
|
55d4a3 |
* Thu Apr 29 2010 Marcela Maslanova <mmaslano@redhat.com> - 20081208-3
|
|
|
55d4a3 |
- Mass rebuild with perl-5.12.0
|
|
|
55d4a3 |
|
|
|
55d4a3 |
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 20081208-2
|
|
|
55d4a3 |
- rebuild against perl 5.10.1
|
|
|
55d4a3 |
|
|
|
55d4a3 |
* Mon Oct 5 2009 Stepan Kasal <skasal@redhat.com> - 20081208-1
|
|
|
55d4a3 |
- new upstream version
|
|
|
55d4a3 |
|
|
|
55d4a3 |
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20081020-3
|
|
|
55d4a3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
55d4a3 |
|
|
|
55d4a3 |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20081020-2
|
|
|
55d4a3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
55d4a3 |
|
|
|
55d4a3 |
* Mon Nov 24 2008 Stepan Kasal <skasal@redhat.com> - 20081020-1
|
|
|
55d4a3 |
- new upstream version
|
|
|
55d4a3 |
|
|
|
55d4a3 |
* Thu Feb 7 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.15-4
|
|
|
55d4a3 |
- rebuild for new perl
|
|
|
55d4a3 |
|
|
|
55d4a3 |
* Thu Nov 15 2007 Robin Norwood <rnorwood@redhat.com> - 1.15-3
|
|
|
55d4a3 |
- Should not provide perl(Business::ISBN)
|
|
|
55d4a3 |
|
|
|
55d4a3 |
* Thu Oct 25 2007 Robin Norwood <rnorwood@redhat.com> - 1.15-2
|
|
|
55d4a3 |
- Fix BuildRequires
|
|
|
55d4a3 |
|
|
|
55d4a3 |
* Thu Oct 25 2007 Robin Norwood <rnorwood@redhat.com> - 1.15-1
|
|
|
55d4a3 |
- Initial build
|