Spec tidy-up
- Specify all build requirements - Don't assume manpages have ".3pm" extension - Simplify find command using -delete
This commit is contained in:
parent
65cf3eeac8
commit
93d367f34c
@ -7,16 +7,20 @@
|
|||||||
|
|
||||||
Name: perl-PPIx-Utilities
|
Name: perl-PPIx-Utilities
|
||||||
Version: 1.001000
|
Version: 1.001000
|
||||||
Release: 34%{?dist}
|
Release: 35%{?dist}
|
||||||
Summary: Extensions to PPI
|
Summary: Extensions to PPI
|
||||||
License: GPL+ or Artistic
|
License: GPL+ or Artistic
|
||||||
URL: https://metacpan.org/release/PPIx-Utilities
|
URL: https://metacpan.org/release/PPIx-Utilities
|
||||||
Source0: https://cpan.metacpan.org/authors/id/E/EL/ELLIOTJS/PPIx-Utilities-%{version}.tar.gz
|
Source0: https://cpan.metacpan.org/authors/id/E/EL/ELLIOTJS/PPIx-Utilities-%{version}.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
# Build:
|
# 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)
|
||||||
|
BuildRequires: sed
|
||||||
# Run-time:
|
# Run-time:
|
||||||
BuildRequires: perl(base)
|
BuildRequires: perl(base)
|
||||||
BuildRequires: perl(Exception::Class)
|
BuildRequires: perl(Exception::Class)
|
||||||
@ -71,8 +75,8 @@ 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
|
||||||
@ -88,12 +92,17 @@ make test TEST_FILES="$(echo $(find xt/ -name '*.t'))"
|
|||||||
%endif
|
%endif
|
||||||
%doc Changes README
|
%doc Changes README
|
||||||
%{perl_vendorlib}/PPIx/
|
%{perl_vendorlib}/PPIx/
|
||||||
%{_mandir}/man3/PPIx::Utilities.3pm*
|
%{_mandir}/man3/PPIx::Utilities.3*
|
||||||
%{_mandir}/man3/PPIx::Utilities::Exception::Bug.3pm*
|
%{_mandir}/man3/PPIx::Utilities::Exception::Bug.3*
|
||||||
%{_mandir}/man3/PPIx::Utilities::Node.3pm*
|
%{_mandir}/man3/PPIx::Utilities::Node.3*
|
||||||
%{_mandir}/man3/PPIx::Utilities::Statement.3pm*
|
%{_mandir}/man3/PPIx::Utilities::Statement.3*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Sep 5 2019 Paul Howarth <paul@city-fan.org> - 1.001000-35
|
||||||
|
- Specify all build requirements
|
||||||
|
- Don't assume manpages have ".3pm" extension
|
||||||
|
- Simplify find command using -delete
|
||||||
|
|
||||||
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.001000-34
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.001000-34
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user