Adapt RPM version detection to SRPM build root without perl
This commit is contained in:
parent
82abce1a5e
commit
d16adc46fb
@ -1,10 +1,10 @@
|
||||
# Only need manual requires for "use base XXX;" prior to rpm 4.9
|
||||
%global rpm49 %(rpm --version | perl -p -e 's/^.* (\\d+)\\.(\\d+).*/sprintf("%d.%03d",$1,$2) ge 4.009 ? 1 : 0/e')
|
||||
%global rpm49 0%(rpm --version | perl -p -e 's/^.* (\\d+)\\.(\\d+).*/sprintf("%d.%03d",$1,$2) ge 4.009 ? 1 : 0/e')
|
||||
|
||||
Name: perl-Test-Requires
|
||||
Summary: Checks to see if a given module can be loaded
|
||||
Version: 0.10
|
||||
Release: 4%{?dist}
|
||||
Release: 5%{?dist}
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries
|
||||
URL: http://search.cpan.org/dist/Test-Requires
|
||||
@ -75,6 +75,9 @@ rm -rf %{buildroot}
|
||||
%{_mandir}/man3/Test::Requires.3*
|
||||
|
||||
%changelog
|
||||
* Fri Jul 22 2016 Petr Pisar <ppisar@redhat.com> - 0.10-5
|
||||
- Adapt RPM version detection to SRPM build root without perl
|
||||
|
||||
* Wed May 18 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.10-4
|
||||
- Perl 5.24 re-rebuild of bootstrapped packages
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user