Clean up spec file
This commit is contained in:
parent
c46e71f2fb
commit
233dd29ba6
@ -1,6 +1,6 @@
|
|||||||
Name: perl-Test-FailWarnings
|
Name: perl-Test-FailWarnings
|
||||||
Version: 0.008
|
Version: 0.008
|
||||||
Release: 24%{?dist}
|
Release: 25%{?dist}
|
||||||
Summary: Add test failures if warnings are caught
|
Summary: Add test failures if warnings are caught
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
|
|
||||||
@ -11,7 +11,7 @@ BuildArch: noarch
|
|||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
BuildRequires: perl-generators
|
BuildRequires: perl-generators
|
||||||
BuildRequires: perl-interpreter
|
BuildRequires: perl-interpreter
|
||||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.17
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
||||||
BuildRequires: perl(strict)
|
BuildRequires: perl(strict)
|
||||||
BuildRequires: perl(warnings)
|
BuildRequires: perl(warnings)
|
||||||
# Run-time:
|
# Run-time:
|
||||||
@ -29,7 +29,7 @@ BuildRequires: perl(IO::Handle)
|
|||||||
BuildRequires: perl(IPC::Open3)
|
BuildRequires: perl(IPC::Open3)
|
||||||
BuildRequires: perl(lib)
|
BuildRequires: perl(lib)
|
||||||
BuildRequires: perl(List::Util)
|
BuildRequires: perl(List::Util)
|
||||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
Requires: perl(:MODULE_COMPAT_%(eval "`/usr/bin/perl -V:version`"; echo $version))
|
||||||
|
|
||||||
%{?perl_default_filter}
|
%{?perl_default_filter}
|
||||||
|
|
||||||
@ -42,18 +42,15 @@ need to know the test count in advance.
|
|||||||
%setup -q -n Test-FailWarnings-%{version}
|
%setup -q -n Test-FailWarnings-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
/usr/bin/perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
|
||||||
make %{?_smp_mflags}
|
%{make_build}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
%{make_install}
|
||||||
|
|
||||||
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
|
||||||
|
|
||||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make test
|
%{make_build} test
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc Changes CONTRIBUTING LICENSE README
|
%doc Changes CONTRIBUTING LICENSE README
|
||||||
@ -61,6 +58,11 @@ make test
|
|||||||
%{_mandir}/man3/*
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Dec 24 2021 Emmanuel Seyman <emmanuel@seyman.fr> - 0.008-25
|
||||||
|
- Replace %%{__perl} with /usr/bin/perl
|
||||||
|
- Use %%{make_build} and %%{make_install} where appropriate
|
||||||
|
- Pass NO_PACKLIST and NO_PERLLOCAL to Makefile.PL
|
||||||
|
|
||||||
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.008-24
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.008-24
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user