Spec clean-up
- Use author-independent source URL - Specify all build dependencies - Use %{make_build} and %{make_install} - Fix permissions of installed files
This commit is contained in:
parent
199d2fb747
commit
809be24915
@ -8,15 +8,17 @@
|
||||
Name: perl-CPAN-Meta-Check
|
||||
Summary: Verify requirements in a CPAN::Meta object
|
||||
Version: 0.014
|
||||
Release: 13%{?dist}
|
||||
Release: 14%{?dist}
|
||||
License: GPL+ or Artistic
|
||||
URL: https://metacpan.org/release/CPAN-Meta-Check
|
||||
Source0: http://cpan.metacpan.org/authors/id/L/LE/LEONT/CPAN-Meta-Check-%{version}.tar.gz
|
||||
Source0: https://cpan.metacpan.org/modules/by-module/CPAN/CPAN-Meta-Check-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
# Build
|
||||
BuildRequires: coreutils
|
||||
BuildRequires: findutils
|
||||
BuildRequires: make
|
||||
BuildRequires: perl-interpreter
|
||||
BuildRequires: perl-generators
|
||||
BuildRequires: perl-interpreter
|
||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
||||
# Module
|
||||
BuildRequires: perl(base)
|
||||
@ -36,7 +38,7 @@ BuildRequires: perl(Test::More) >= 0.88
|
||||
# Break a build cycle: perl-Pod-Coverage-TrustPod → perl-Pod-Eventual
|
||||
# → perl-Mixin-Linewise → perl-Sub-Exporter → perl-Params-Util
|
||||
# → perl-Config-AutoConf → perl-File-Slurper → perl-Test-Warnings
|
||||
# → perl-CPAN-Meta-Check.
|
||||
# → perl-CPAN-Meta-Check
|
||||
# Extra tests
|
||||
BuildRequires: perl(blib)
|
||||
BuildRequires: perl(File::Spec)
|
||||
@ -58,10 +60,11 @@ present.
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
|
||||
make %{?_smp_mflags}
|
||||
%{make_build}
|
||||
|
||||
%install
|
||||
make install DESTDIR=%{buildroot}
|
||||
%{make_install}
|
||||
%{_fixperms} -c %{buildroot}
|
||||
|
||||
%check
|
||||
make test
|
||||
@ -76,6 +79,13 @@ make test TEST_FILES="$(echo $(find xt/ -name '*.t'))"
|
||||
%{_mandir}/man3/CPAN::Meta::Check.3*
|
||||
|
||||
%changelog
|
||||
* Tue Jan 12 2021 Paul Howarth <paul@city-fan.org> - 0.014-14
|
||||
- Spec clean-up
|
||||
- Use author-independent source URL
|
||||
- Specify all build dependencies
|
||||
- Use %%{make_build} and %%{make_install}
|
||||
- Fix permissions of installed files
|
||||
|
||||
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.014-13
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user