perl-devel requires redhat-rpm-config because of hardened compiler profiles
$Config{ccflags} inherits -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 from perl.spec build time. That breaks building XS modules if redhat-rpm-config is not installed.
This commit is contained in:
parent
8ee4862e56
commit
150a309e82
11
perl.spec
11
perl.spec
@ -81,7 +81,7 @@ License: GPL+ or Artistic
|
|||||||
Epoch: %{perl_epoch}
|
Epoch: %{perl_epoch}
|
||||||
Version: %{perl_version}
|
Version: %{perl_version}
|
||||||
# release number must be even higher, because dual-lived modules will be broken otherwise
|
# release number must be even higher, because dual-lived modules will be broken otherwise
|
||||||
Release: 411%{?dist}
|
Release: 412%{?dist}
|
||||||
Summary: Practical Extraction and Report Language
|
Summary: Practical Extraction and Report Language
|
||||||
Url: http://www.perl.org/
|
Url: http://www.perl.org/
|
||||||
Source0: http://www.cpan.org/src/5.0/perl-%{perl_version}.tar.bz2
|
Source0: http://www.cpan.org/src/5.0/perl-%{perl_version}.tar.bz2
|
||||||
@ -504,6 +504,11 @@ Requires: perl(ExtUtils::ParseXS)
|
|||||||
Requires: %perl_compat
|
Requires: %perl_compat
|
||||||
# Match library and header files when downgrading releases
|
# Match library and header files when downgrading releases
|
||||||
Requires: perl-libs%{?_isa} = %{perl_epoch}:%{perl_version}-%{release}
|
Requires: perl-libs%{?_isa} = %{perl_epoch}:%{perl_version}-%{release}
|
||||||
|
# Compiler and linker options stored into perl and used when building XS
|
||||||
|
# modules refer to hardering profiles like
|
||||||
|
# /usr/lib/rpm/redhat/redhat-hardened-cc1 that are delivered by
|
||||||
|
# redhat-rpm-config. Bug #1557667.
|
||||||
|
Requires: redhat-rpm-config
|
||||||
%if %{defined perl_bootstrap}
|
%if %{defined perl_bootstrap}
|
||||||
%gendep_perl_devel
|
%gendep_perl_devel
|
||||||
%endif
|
%endif
|
||||||
@ -5187,6 +5192,10 @@ popd
|
|||||||
|
|
||||||
# Old changelog entries are preserved in CVS.
|
# Old changelog entries are preserved in CVS.
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Apr 19 2018 Petr Pisar <ppisar@redhat.com> - 4:5.26.2-412
|
||||||
|
- perl-devel requires redhat-rpm-config because of hardened compiler profiles
|
||||||
|
(bug #1557667)
|
||||||
|
|
||||||
* Mon Apr 16 2018 Petr Pisar <ppisar@redhat.com> - 4:5.26.2-411
|
* Mon Apr 16 2018 Petr Pisar <ppisar@redhat.com> - 4:5.26.2-411
|
||||||
- 5.26.2 bump
|
- 5.26.2 bump
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user