|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
Name: perl-Perl-MinimumVersion
|
|
|
|
|
Version: 1.38
|
|
|
|
|
Release: 7%{?dist}
|
|
|
|
|
Release: 8%{?dist}
|
|
|
|
|
Summary: Find a minimum required version of perl for Perl code
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
@ -33,7 +33,6 @@ BuildRequires: perl(Test::More) >= 0.47
|
|
|
|
|
BuildRequires: perl(Test::Script) >= 1.03
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%{?perl_default_filter}
|
|
|
|
|
# Remove under-specified dependencies
|
|
|
|
|
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(version\\)$
|
|
|
|
|
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Params::Util\\)$
|
|
|
|
@ -46,12 +45,11 @@ Find a minimum required version of perl for Perl code
|
|
|
|
|
%setup -q -n Perl-MinimumVersion-%{version}
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
|
|
|
|
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
|
|
|
|
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
@ -60,13 +58,18 @@ make test
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%doc Changes LICENSE
|
|
|
|
|
%doc Changes
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%{_bindir}/*
|
|
|
|
|
%{perl_vendorlib}/Perl
|
|
|
|
|
%{_mandir}/man1/*
|
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed Jan 27 2016 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.38-8
|
|
|
|
|
- Add %%license.
|
|
|
|
|
- Modernize spec.
|
|
|
|
|
|
|
|
|
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.38-7
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|