Add BR: gcc (RHBZ#1605416).
Cleanup spec.
This commit is contained in:
parent
12855cb272
commit
1d52ff0922
@ -1,15 +1,18 @@
|
||||
Name: perl-Params-Util
|
||||
Version: 1.07
|
||||
Release: 24%{?dist}
|
||||
Release: 25%{?dist}
|
||||
Summary: Simple standalone parameter-checking functions
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries
|
||||
URL: https://metacpan.org/release/Params-Util
|
||||
Source0: https://cpan.metacpan.org/authors/id/A/AD/ADAMK/Params-Util-%{version}.tar.gz
|
||||
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
Requires: perl(Scalar::Util) >= 1.18
|
||||
|
||||
BuildRequires: %{__perl}
|
||||
BuildRequires: %{__make}
|
||||
BuildRequires: gcc
|
||||
|
||||
BuildRequires: perl-interpreter
|
||||
BuildRequires: perl-devel
|
||||
BuildRequires: perl-generators
|
||||
@ -42,16 +45,16 @@ makes checking parameters a hell of a lot easier.
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" NO_PACKLIST=1
|
||||
make %{?_smp_mflags}
|
||||
%{__make} %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
||||
%{__make} pure_install DESTDIR=$RPM_BUILD_ROOT
|
||||
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
|
||||
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
|
||||
chmod -R u+w $RPM_BUILD_ROOT/*
|
||||
|
||||
%check
|
||||
make test AUTOMATED_TESTING=1
|
||||
%{__make} test AUTOMATED_TESTING=1
|
||||
|
||||
%files
|
||||
%doc Changes
|
||||
@ -62,6 +65,10 @@ make test AUTOMATED_TESTING=1
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Sat Jul 21 2018 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.07-25
|
||||
- Add BR: gcc (RHBZ#1605416).
|
||||
- Cleanup spec.
|
||||
|
||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.07-24
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user