Compare commits
13 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
4e1a6241d4 | ||
|
713f9e19d1 | ||
|
18af9ee711 | ||
|
14cdfe6e2e | ||
|
7127c66419 | ||
|
17c7302d1f | ||
|
d31cecb436 | ||
|
f98682f0e3 | ||
|
4efb5a7565 | ||
|
2b869c897e | ||
|
af3219baa9 | ||
|
01041b2842 | ||
|
f21ede422e |
@ -1,19 +1,29 @@
|
|||||||
#TODO: BR: perl(Test::CheckManifest) ≥ 1.24 when available
|
#TODO: BR: perl(Test::CheckManifest) ≥ 1.24 when available
|
||||||
|
|
||||||
|
# Run extra tests
|
||||||
|
%if ! (0%{?rhel})
|
||||||
|
%bcond_without perl_Software_License_CCpack_enables_extra_tests
|
||||||
|
%else
|
||||||
|
%bcond_with perl_Software_License_CCpack_enables_extra_tests
|
||||||
|
%endif
|
||||||
|
|
||||||
# noarch, but to avoid debug* files interfering with manifest test:
|
# noarch, but to avoid debug* files interfering with manifest test:
|
||||||
%global debug_package %{nil}
|
%global debug_package %{nil}
|
||||||
|
|
||||||
Name: perl-Software-License-CCpack
|
Name: perl-Software-License-CCpack
|
||||||
Version: 1.11
|
Version: 1.11
|
||||||
Release: 10%{?dist}
|
Release: 19%{?dist}
|
||||||
Summary: Software::License pack for Creative Commons' licenses
|
Summary: Software::License pack for Creative Commons' licenses
|
||||||
License: LGPLv3
|
License: LGPLv3
|
||||||
URL: http://search.cpan.org/dist/Software-License-CCpack/
|
URL: https://metacpan.org/release/Software-License-CCpack
|
||||||
Source0: http://search.cpan.org/CPAN/authors/id/B/BB/BBYRD/Software-License-CCpack-%{version}.tar.gz
|
Source0: https://cpan.metacpan.org/authors/id/B/BB/BBYRD/Software-License-CCpack-%{version}.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
# Module Build
|
# Module Build
|
||||||
BuildRequires: perl-interpreter
|
BuildRequires: coreutils
|
||||||
|
BuildRequires: findutils
|
||||||
|
BuildRequires: make
|
||||||
BuildRequires: perl-generators
|
BuildRequires: perl-generators
|
||||||
|
BuildRequires: perl-interpreter
|
||||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||||
# Module Runtime
|
# Module Runtime
|
||||||
BuildRequires: perl(base)
|
BuildRequires: perl(base)
|
||||||
@ -30,6 +40,7 @@ BuildRequires: perl(List::Util)
|
|||||||
BuildRequires: perl(Test::CheckDeps) >= 0.010
|
BuildRequires: perl(Test::CheckDeps) >= 0.010
|
||||||
BuildRequires: perl(Test::More) >= 0.96
|
BuildRequires: perl(Test::More) >= 0.96
|
||||||
# Extra Tests
|
# Extra Tests
|
||||||
|
%if 0%{!?perl_bootstrap:1} && %{with perl_Software_License_CCpack_enables_extra_tests}
|
||||||
BuildRequires: perl(Pod::Coverage::TrustPod)
|
BuildRequires: perl(Pod::Coverage::TrustPod)
|
||||||
BuildRequires: perl(Test::CPAN::Meta::JSON)
|
BuildRequires: perl(Test::CPAN::Meta::JSON)
|
||||||
BuildRequires: perl(Test::DistManifest)
|
BuildRequires: perl(Test::DistManifest)
|
||||||
@ -41,9 +52,6 @@ BuildRequires: perl(Test::Pod) >= 1.41
|
|||||||
BuildRequires: perl(Test::Pod::Coverage) >= 1.08
|
BuildRequires: perl(Test::Pod::Coverage) >= 1.08
|
||||||
BuildRequires: perl(Test::Portability::Files)
|
BuildRequires: perl(Test::Portability::Files)
|
||||||
BuildRequires: perl(Test::Synopsis)
|
BuildRequires: perl(Test::Synopsis)
|
||||||
# Disable using of Test::Vars, because it fails with Perl 5.22.0
|
|
||||||
# There is not a properly fix for it yet
|
|
||||||
%if ! 0%(perl -e 'print $] >= 5.022')
|
|
||||||
BuildRequires: perl(Test::Vars)
|
BuildRequires: perl(Test::Vars)
|
||||||
%endif
|
%endif
|
||||||
# Runtime
|
# Runtime
|
||||||
@ -67,12 +75,14 @@ make %{?_smp_mflags}
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
make pure_install DESTDIR=%{buildroot}
|
make pure_install DESTDIR=%{buildroot}
|
||||||
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
|
find %{buildroot} -type f -name .packlist -delete
|
||||||
%{_fixperms} %{buildroot}
|
%{_fixperms} -c %{buildroot}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make test
|
make test
|
||||||
|
%if 0%{!?perl_bootstrap:1} && %{with perl_Software_License_CCpack_enables_extra_tests}
|
||||||
make test TEST_FILES="$(echo $(find xt/ -name '*.t'))" RELEASE_TESTING=1
|
make test TEST_FILES="$(echo $(find xt/ -name '*.t'))" RELEASE_TESTING=1
|
||||||
|
%endif
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
@ -106,6 +116,36 @@ make test TEST_FILES="$(echo $(find xt/ -name '*.t'))" RELEASE_TESTING=1
|
|||||||
%{_mandir}/man3/Software::License::CC_PDM_1_0.3*
|
%{_mandir}/man3/Software::License::CC_PDM_1_0.3*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Sep 24 2019 Paul Howarth <paul@city-fan.org> - 1.11-19
|
||||||
|
- Don't run extra tests for EPEL builds
|
||||||
|
|
||||||
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.11-18
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sun Jun 02 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.11-17
|
||||||
|
- Perl 5.30 re-rebuild of bootstrapped packages
|
||||||
|
|
||||||
|
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.11-16
|
||||||
|
- Perl 5.30 rebuild
|
||||||
|
|
||||||
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.11-15
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.11-14
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sun Jul 01 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.11-13
|
||||||
|
- Perl 5.28 re-rebuild of bootstrapped packages
|
||||||
|
|
||||||
|
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.11-12
|
||||||
|
- Perl 5.28 rebuild
|
||||||
|
|
||||||
|
* Fri Apr 13 2018 Paul Howarth <paul@city-fan.org> - 1.11-11
|
||||||
|
- Specify all build dependencies
|
||||||
|
- Simplify find command using -delete
|
||||||
|
- BR: perl(Test::Vars) unconditionally
|
||||||
|
- Don't run the extra tests whilst bootstrapping
|
||||||
|
|
||||||
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.11-10
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.11-10
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user