Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
e13daec489 | ||
|
bc81d0db66 | ||
|
5c524d15b9 | ||
|
453a085f4d |
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
||||
/Perl-MinimumVersion-1.40.tar.gz
|
||||
Perl-MinimumVersion-1.20.tar.gz
|
||||
|
@ -1,46 +1,33 @@
|
||||
Name: perl-Perl-MinimumVersion
|
||||
Version: 1.40
|
||||
Release: 7%{?dist}
|
||||
Version: 1.20
|
||||
Release: 1%{?dist}
|
||||
Summary: Find a minimum required version of perl for Perl code
|
||||
License: GPL+ or Artistic
|
||||
URL: https://metacpan.org/release/Perl-MinimumVersion
|
||||
Source0: https://cpan.metacpan.org/authors/id/D/DB/DBOOK/Perl-MinimumVersion-%{version}.tar.gz
|
||||
Group: Development/Libraries
|
||||
URL: http://search.cpan.org/dist/Perl-MinimumVersion/
|
||||
Source0: http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/Perl-MinimumVersion-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: %{__make}
|
||||
BuildRequires: %{__perl}
|
||||
|
||||
BuildRequires: perl-generators
|
||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30
|
||||
# Run-time and tests:
|
||||
BuildRequires: perl(Carp)
|
||||
BuildRequires: perl(Exporter)
|
||||
BuildRequires: perl(List::Util) >= 1.20
|
||||
BuildRequires: perl(Params::Util) >= 0.25
|
||||
BuildRequires: perl(Perl::Critic::Utils) >= 1.104
|
||||
BuildRequires: perl(PPI) >= 1.215
|
||||
BuildRequires: perl(PPI::Util)
|
||||
BuildRequires: perl(PPIx::Utils)
|
||||
BuildRequires: perl(PPIx::Regexp) >= 0.033
|
||||
BuildRequires: perl(strict)
|
||||
BuildRequires: perl(vars)
|
||||
BuildRequires: perl(version) >= 0.76
|
||||
BuildRequires: perl(warnings)
|
||||
%if !%{defined perl_bootstrap}
|
||||
BuildRequires: perl(File::Find::Rule) >= 0.32
|
||||
BuildRequires: perl(List::Util) >= 1.19
|
||||
BuildRequires: perl(PPI) >= 1.118
|
||||
BuildRequires: perl(Test::Script) >= 1.02
|
||||
BuildRequires: perl(version)
|
||||
BuildRequires: perl(File::Find::Rule) >= 0.30
|
||||
BuildRequires: perl(File::Find::Rule::Perl) >= 1.04
|
||||
BuildRequires: perl(File::Spec) >= 0.80
|
||||
BuildRequires: perl(Getopt::Long)
|
||||
BuildRequires: perl(Test::More) >= 0.47
|
||||
BuildRequires: perl(Test::Script) >= 1.03
|
||||
%endif
|
||||
|
||||
# Remove under-specified dependencies
|
||||
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(version\\)$
|
||||
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Params::Util\\)$
|
||||
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl >= 0:5.005$
|
||||
# For improved tests
|
||||
BuildRequires: perl(Test::Pod) >= 1.00
|
||||
BuildRequires: perl(Test::CPAN::Meta) >= 0.12
|
||||
# n/a in Fedora
|
||||
# BuildRequires: perl(Pod::Simple) >= 3.07
|
||||
BuildRequires: perl(Pod::Simple)
|
||||
BuildRequires: perl(Test::MinimumVersion) >= 0.008
|
||||
|
||||
|
||||
%description
|
||||
Find a minimum required version of perl for Perl code
|
||||
@ -49,220 +36,31 @@ Find a minimum required version of perl for Perl code
|
||||
%setup -q -n Perl-MinimumVersion-%{version}
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
|
||||
%{make_build}
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
%{make_install} DESTDIR=$RPM_BUILD_ROOT
|
||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
||||
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
|
||||
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
|
||||
chmod -R u+w $RPM_BUILD_ROOT/*
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%check
|
||||
%if !%{defined perl_bootstrap}
|
||||
%{__make} test
|
||||
%endif
|
||||
make test AUTOMATED_TESTING=1
|
||||
|
||||
%files
|
||||
%doc Changes
|
||||
%license LICENSE
|
||||
%defattr(-,root,root,-)
|
||||
%doc Changes LICENSE
|
||||
%{_bindir}/*
|
||||
%{perl_vendorlib}/Perl
|
||||
%{_mandir}/man1/*
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.40-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Fri Jun 03 2022 Jitka Plesnikova <jplesnik@redhat.com> - 1.40-6
|
||||
- Perl 5.36 re-rebuild of bootstrapped packages
|
||||
|
||||
* Wed Jun 01 2022 Jitka Plesnikova <jplesnik@redhat.com> - 1.40-5
|
||||
- Perl 5.36 rebuild
|
||||
|
||||
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.40-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.40-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Mon May 24 2021 Jitka Plesnikova <jplesnik@redhat.com> - 1.40-2
|
||||
- Perl 5.34 re-rebuild of bootstrapped packages
|
||||
|
||||
* Sun May 23 2021 Jitka Plesnikova <jplesnik@redhat.com> - 1.40-1
|
||||
- Perl 5.34 rebuild
|
||||
|
||||
* Thu May 06 2021 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.40-1
|
||||
- Upstream update to 1.40.
|
||||
- Reflect Source0-URL having changed.
|
||||
- Add BR: perl(PPIx::Utils).
|
||||
- Modernize spec.
|
||||
|
||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.38-28
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.38-27
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Fri Jun 26 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1.38-26
|
||||
- Perl 5.32 re-rebuild of bootstrapped packages
|
||||
|
||||
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1.38-25
|
||||
- Perl 5.32 rebuild
|
||||
|
||||
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.38-24
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.38-23
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Sun Jun 02 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.38-22
|
||||
- Perl 5.30 re-rebuild of bootstrapped packages
|
||||
|
||||
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.38-21
|
||||
- Perl 5.30 rebuild
|
||||
|
||||
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.38-20
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.38-19
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Sun Jul 01 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.38-18
|
||||
- Perl 5.28 re-rebuild of bootstrapped packages
|
||||
|
||||
* Fri Jun 29 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.38-17
|
||||
- Perl 5.28 rebuild
|
||||
|
||||
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.38-16
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.38-15
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Wed Jun 07 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.38-14
|
||||
- Perl 5.26 re-rebuild of bootstrapped packages
|
||||
|
||||
* Tue Jun 06 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.38-13
|
||||
- Perl 5.26 rebuild
|
||||
|
||||
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.38-12
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Wed May 18 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.38-11
|
||||
- Perl 5.24 re-rebuild of bootstrapped packages
|
||||
|
||||
* Mon May 16 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.38-10
|
||||
- Perl 5.24 rebuild
|
||||
|
||||
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.38-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* 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
|
||||
|
||||
* Wed Jun 10 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.38-6
|
||||
- Perl 5.22 re-rebuild of bootstrapped packages
|
||||
|
||||
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.38-5
|
||||
- Perl 5.22 rebuild
|
||||
|
||||
* Sun Sep 07 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.38-4
|
||||
- Perl 5.20 re-rebuild of bootstrapped packages
|
||||
|
||||
* Fri Aug 29 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.38-3
|
||||
- Perl 5.20 rebuild
|
||||
|
||||
* Thu Aug 28 2014 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.38-2
|
||||
- Filter underspecified deps.
|
||||
|
||||
* Thu Aug 28 2014 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.38-1
|
||||
- Upstream update.
|
||||
|
||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.37-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
* Mon May 12 2014 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.37-1
|
||||
- Upstream update.
|
||||
|
||||
* Wed May 07 2014 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.35-1
|
||||
- Upstream update.
|
||||
- Reflect upstream BR:-changes.
|
||||
- Reflect Source0: having changed.
|
||||
- Minor spec file modernization.
|
||||
|
||||
* Wed Aug 14 2013 Jitka Plesnikova <jplesnik@redhat.com> - 1.32-5
|
||||
- Perl 5.18 re-rebuild of bootstrapped packages
|
||||
|
||||
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.32-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||
|
||||
* Tue Jul 30 2013 Petr Pisar <ppisar@redhat.com> - 1.32-3
|
||||
- Perl 5.18 rebuild
|
||||
|
||||
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.32-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||
|
||||
* Fri Jan 18 2013 Ralf Corsépius - 1.32-1
|
||||
- Upstream update.
|
||||
- Add BR: perl(PPIx::Regexp).
|
||||
- Reflect upstream URL having changed.
|
||||
|
||||
* Wed Oct 24 2012 Petr Pisar <ppisar@redhat.com> - 1.28-8
|
||||
- Specify all dependencies
|
||||
|
||||
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.28-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||
|
||||
* Tue Jul 10 2012 Petr Pisar <ppisar@redhat.com> - 1.28-6
|
||||
- Perl 5.16 re-rebuild of bootstrapped packages
|
||||
|
||||
* Wed Jun 20 2012 Petr Pisar <ppisar@redhat.com> - 1.28-5
|
||||
- Perl 5.16 rebuild
|
||||
|
||||
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.28-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||||
|
||||
* Tue Jul 19 2011 Petr Sabata <contyk@redhat.com> - 1.28-3
|
||||
- Perl mass rebuild
|
||||
|
||||
* Tue Jun 28 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.28-2
|
||||
- use perl_bootstrap macro
|
||||
|
||||
* Fri Jun 17 2011 Ralf Corsépius <ralf.corsepius@fedoraproject.org> - 1.28-1
|
||||
- Upstream update.
|
||||
- Remove maintainer test (Upstream doesn't want us to find his bugs).
|
||||
- Update BR's.
|
||||
|
||||
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.26-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||
|
||||
* Tue Dec 21 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.26-2
|
||||
- 661697 rebuild for fixing problems with vendorach/lib
|
||||
|
||||
* Thu Aug 05 2010 Ralf Corsépius <ralf.corsepius@fedoraproject.org> - 1.26-1
|
||||
- Upstream update.
|
||||
|
||||
* Tue May 04 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.24-3
|
||||
- Mass rebuild with perl-5.12.0
|
||||
|
||||
* Mon May 3 2010 Marcela Mašláňová <mmaslano@redhat.com> - 1.24-2
|
||||
- for the meantime apply changes from trunk. Other builds using
|
||||
this package should succed with perl-5.12.
|
||||
|
||||
* Mon Mar 01 2010 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.24-1
|
||||
- Upstream update.
|
||||
- Adjust BR's.
|
||||
|
||||
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1.20-3
|
||||
- rebuild against perl 5.10.1
|
||||
|
||||
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.20-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||
|
||||
* Sun Apr 26 2009 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.20-1
|
||||
- Upstream update.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user