Compare commits

...

13 Commits

Author SHA1 Message Date
Troy Dawson 4e1a6241d4 remove package.cfg per new epel-playground policy 2020-09-24 16:32:28 +00:00
Paul Howarth 713f9e19d1 Don't run extra tests for EPEL builds 2019-09-24 14:58:26 +01:00
Fedora Release Engineering 18af9ee711 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-09-24 14:58:17 +01:00
Jitka Plesnikova 14cdfe6e2e Perl 5.30 re-rebuild of bootstrapped packages 2019-09-24 14:58:09 +01:00
Jitka Plesnikova 7127c66419 Perl 5.30 rebuild 2019-09-24 14:58:01 +01:00
Fedora Release Engineering 17c7302d1f - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-09-24 14:57:54 +01:00
Fedora Release Engineering d31cecb436 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-09-24 14:57:46 +01:00
Jitka Plesnikova f98682f0e3 Perl 5.28 re-rebuild of bootstrapped packages 2019-09-24 14:57:37 +01:00
Jitka Plesnikova 4efb5a7565 Perl 5.28 rebuild 2019-09-24 14:57:30 +01:00
Petr Písař 2b869c897e cpan.org addresses moved to MetaCPAN <https://fedoraproject.org/wiki/Changes/Perl_Move_to_MetaCPAN> 2019-09-24 14:57:24 +01:00
Paul Howarth af3219baa9 Spec clean-up
- Specify all build dependencies
- Simplify find command using -delete
- BR: perl(Test::Vars) unconditionally
- Don't run the extra tests whilst bootstrapping
2019-09-24 14:57:18 +01:00
Paul Howarth 01041b2842 Merge remote-tracking branch 'origin/f28' into epel8 2019-09-24 14:56:55 +01:00
Gwyn Ciesla f21ede422e "Adding package.cfg file" 2019-09-24 08:16:41 -05:00
1 changed files with 49 additions and 9 deletions

View File

@ -1,19 +1,29 @@
#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:
%global debug_package %{nil}
Name: perl-Software-License-CCpack
Version: 1.11
Release: 10%{?dist}
Release: 19%{?dist}
Summary: Software::License pack for Creative Commons' licenses
License: LGPLv3
URL: http://search.cpan.org/dist/Software-License-CCpack/
Source0: http://search.cpan.org/CPAN/authors/id/B/BB/BBYRD/Software-License-CCpack-%{version}.tar.gz
URL: https://metacpan.org/release/Software-License-CCpack
Source0: https://cpan.metacpan.org/authors/id/B/BB/BBYRD/Software-License-CCpack-%{version}.tar.gz
BuildArch: noarch
# Module Build
BuildRequires: perl-interpreter
BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: make
BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl(ExtUtils::MakeMaker)
# Module Runtime
BuildRequires: perl(base)
@ -30,6 +40,7 @@ BuildRequires: perl(List::Util)
BuildRequires: perl(Test::CheckDeps) >= 0.010
BuildRequires: perl(Test::More) >= 0.96
# Extra Tests
%if 0%{!?perl_bootstrap:1} && %{with perl_Software_License_CCpack_enables_extra_tests}
BuildRequires: perl(Pod::Coverage::TrustPod)
BuildRequires: perl(Test::CPAN::Meta::JSON)
BuildRequires: perl(Test::DistManifest)
@ -41,9 +52,6 @@ BuildRequires: perl(Test::Pod) >= 1.41
BuildRequires: perl(Test::Pod::Coverage) >= 1.08
BuildRequires: perl(Test::Portability::Files)
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)
%endif
# Runtime
@ -67,12 +75,14 @@ make %{?_smp_mflags}
%install
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
%{_fixperms} %{buildroot}
find %{buildroot} -type f -name .packlist -delete
%{_fixperms} -c %{buildroot}
%check
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
%endif
%files
%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*
%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
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild