|
|
6eec1d0 |
# Test suite needs patching if we have Test::More < 0.88
|
|
|
6eec1d0 |
%global old_test_more %(perl -MTest::More -e 'print (($Test::More::VERSION) < 0.88 ? 1 : 0);' 2>/dev/null || echo 0)
|
|
|
6eec1d0 |
|
|
|
6eec1d0 |
Name: perl-ExtUtils-Config
|
|
|
f34ea90 |
Version: 0.008
|
|
|
682283f |
Release: 5%{?dist}
|
|
|
6eec1d0 |
Summary: A wrapper for perl's configuration
|
|
|
6eec1d0 |
Group: Development/Libraries
|
|
|
6eec1d0 |
License: GPL+ or Artistic
|
|
|
6eec1d0 |
URL: https://metacpan.org/release/ExtUtils-Config
|
|
|
6eec1d0 |
Source0: http://cpan.metacpan.org/authors/id/L/LE/LEONT/ExtUtils-Config-%{version}.tar.gz
|
|
|
f34ea90 |
Patch1: ExtUtils-Config-0.008-old-Test::More.patch
|
|
|
6eec1d0 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
|
|
|
6eec1d0 |
BuildArch: noarch
|
|
|
6eec1d0 |
# Build
|
|
|
f34ea90 |
BuildRequires: perl
|
|
|
f34ea90 |
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30
|
|
|
6eec1d0 |
# Module
|
|
|
6eec1d0 |
BuildRequires: perl(Config)
|
|
|
6eec1d0 |
BuildRequires: perl(Data::Dumper)
|
|
|
6eec1d0 |
# Test Suite
|
|
|
6eec1d0 |
BuildRequires: perl(File::Find)
|
|
|
6eec1d0 |
BuildRequires: perl(File::Temp)
|
|
|
6eec1d0 |
BuildRequires: perl(Test::More)
|
|
|
6eec1d0 |
# Runtime
|
|
|
6eec1d0 |
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
6eec1d0 |
|
|
|
6eec1d0 |
%description
|
|
|
6eec1d0 |
ExtUtils::Config is an abstraction around the %%Config hash.
|
|
|
6eec1d0 |
|
|
|
6eec1d0 |
%prep
|
|
|
6eec1d0 |
%setup -q -n ExtUtils-Config-%{version}
|
|
|
6eec1d0 |
|
|
|
6eec1d0 |
# Test suite needs patching if we have Test::More < 0.88
|
|
|
6eec1d0 |
%if %{old_test_more}
|
|
|
6eec1d0 |
%patch1
|
|
|
6eec1d0 |
%endif
|
|
|
6eec1d0 |
|
|
|
6eec1d0 |
%build
|
|
|
6eec1d0 |
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
6eec1d0 |
make %{?_smp_mflags}
|
|
|
6eec1d0 |
|
|
|
6eec1d0 |
%install
|
|
|
6eec1d0 |
rm -rf %{buildroot}
|
|
|
6eec1d0 |
make pure_install DESTDIR=%{buildroot}
|
|
|
6eec1d0 |
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
|
|
6eec1d0 |
%{_fixperms} %{buildroot}
|
|
|
6eec1d0 |
|
|
|
6eec1d0 |
%check
|
|
|
f34ea90 |
make test
|
|
|
6eec1d0 |
|
|
|
6eec1d0 |
%clean
|
|
|
6eec1d0 |
rm -rf %{buildroot}
|
|
|
6eec1d0 |
|
|
|
6eec1d0 |
%files
|
|
|
6eec1d0 |
%doc Changes LICENSE README
|
|
|
6eec1d0 |
%{perl_vendorlib}/ExtUtils/
|
|
|
6eec1d0 |
%{_mandir}/man3/ExtUtils::Config.3pm*
|
|
|
6eec1d0 |
|
|
|
6eec1d0 |
%changelog
|
|
|
682283f |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.008-5
|
|
|
682283f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
682283f |
|
|
|
05600e2 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.008-4
|
|
|
05600e2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
05600e2 |
|
|
|
e5f61a6 |
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.008-3
|
|
|
e5f61a6 |
- Perl 5.22 rebuild
|
|
|
e5f61a6 |
|
|
|
49c5d4f |
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.008-2
|
|
|
49c5d4f |
- Perl 5.20 rebuild
|
|
|
49c5d4f |
|
|
|
f34ea90 |
* Thu Jun 26 2014 Paul Howarth <paul@city-fan.org> - 0.008-1
|
|
|
f34ea90 |
- Update to 0.008
|
|
|
f34ea90 |
- Remove set, clear, clone methods
|
|
|
f34ea90 |
- Don't bother with the release tests, which can't be run on EPEL < 7 anyway
|
|
|
f34ea90 |
- Update patch for building with old Test::More versions
|
|
|
f34ea90 |
|
|
|
a8a0537 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.007-8
|
|
|
a8a0537 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
a8a0537 |
|
|
|
77255dd |
* Wed Sep 4 2013 Paul Howarth <paul@city-fan.org> - 0.007-7
|
|
|
77255dd |
- Skip the release tests when bootstrapping
|
|
|
77255dd |
|
|
|
f6a6cf5 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.007-6
|
|
|
f6a6cf5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
f6a6cf5 |
|
|
|
039984d |
* Tue Jul 23 2013 Petr Pisar <ppisar@redhat.com> - 0.007-5
|
|
|
039984d |
- Perl 5.18 rebuild
|
|
|
039984d |
|
|
|
46b6d53 |
* Mon Jul 22 2013 Paul Howarth <paul@city-fan.org> - 0.007-4
|
|
|
46b6d53 |
- Avoid Test::Kwalitee as it tries to verify the module's signature, which will fail
|
|
|
46b6d53 |
if we have to patch Makefile.PL, tests etc. for old distribution support
|
|
|
46b6d53 |
|
|
|
eaa69dc |
* Fri Jul 5 2013 Paul Howarth <paul@city-fan.org> - 0.007-3
|
|
|
eaa69dc |
- Don't BR: perl(Test::Kwalitee) when bootstrapping
|
|
|
eaa69dc |
|
|
|
6eec1d0 |
* Mon Apr 1 2013 Paul Howarth <paul@city-fan.org> - 0.007-2
|
|
|
6eec1d0 |
- Sanitize for Fedora submission
|
|
|
6eec1d0 |
|
|
|
6eec1d0 |
* Sun Mar 31 2013 Paul Howarth <paul@city-fan.org> - 0.007-1
|
|
|
6eec1d0 |
- Initial RPM version
|