Use distribution instead of perl version to control build-requires
There is no perl in the SRPM build root.
This commit is contained in:
parent
5fb5df0a3c
commit
47b59dca5f
@ -1,9 +1,13 @@
|
||||
# MRO is part of the Perl core since 5.9.5
|
||||
%global mro_in_core %(perl -e 'print $] > 5.009005 ? 1 : 0;')
|
||||
%if 0%{?rhel} && (0%{?rhel} < 6)
|
||||
%global mro_in_core 0
|
||||
%else
|
||||
%global mro_in_core 1
|
||||
%endif
|
||||
|
||||
Name: perl-MRO-Compat
|
||||
Version: 0.12
|
||||
Release: 11%{?dist}
|
||||
Release: 12%{?dist}
|
||||
Summary: Mro::* interface compatibility for Perls < 5.9.5
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries
|
||||
@ -75,6 +79,9 @@ rm -rf %{buildroot}
|
||||
%{_mandir}/man3/MRO::Compat.3pm*
|
||||
|
||||
%changelog
|
||||
* Fri Jul 22 2016 Petr Pisar <ppisar@redhat.com> - 0.12-12
|
||||
- Use distribution instead of perl version to control build-requires
|
||||
|
||||
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.12-11
|
||||
- Perl 5.24 rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user