Bug 1410347

Summary: Provide perl(:VERSION) by perl-libs and perl-interpreter by perl
Product: Red Hat Enterprise Linux 7 Reporter: Petr Pisar <ppisar>
Component: perlAssignee: perl-maint-list
Status: CLOSED ERRATA QA Contact: Martin Kyral <mkyral>
Severity: low Docs Contact:
Priority: low    
Version: 7.3CC: bnater, djez, jorton, lmiksik, mkyral, mpetlan, perl-maint-list, sergio
Target Milestone: rcKeywords: EasyFix, FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://fedoraproject.org/wiki/Packaging:Perl
Whiteboard:
Fixed In Version: perl-5.16.3-293.el7 Doc Type: No Doc Update
Doc Text:
undefined
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-10-30 10:54:53 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1571850, 1572546    
Bug Blocks:    

Description Petr Pisar 2017-01-05 08:49:36 UTC
A new Perl packaging guidelines for Fedora offer `perl(:VERSION)' RPM dependency symbol for matching minimal Perl version. This is because perl's NEVRA is unusable for this purpose.

People sharing source packages between Fedora and EPEL desire to have perl(:VERSION) in RHEL. Adding this new Provide makes packaging for EPEL easier.

It's a simple matter of adding:

+Provides:       perl(:VERSION) = %{perl_version}

into perl-libs sub-package.

Comment 1 Petr Pisar 2017-06-29 12:05:39 UTC
A new Perl packaging guidiles for Fedora will mandate using "perl-interpreter" instead of "perl" dependency for installing perl executable <https://pagure.io/packaging-committee/issue/690>.

People sharing packages between Fedora and EPEL desire to have perl-interpreter in RHEL. Adding this new Provide makes packaging for EPEL easier.

The requested change is adding:

+Provides: perl-interpreter = %{perl_epoch}:%{perl_version}-%{release}

into perl sub-package.

Comment 2 Sergio Basto 2017-08-16 12:43:27 UTC
+1 please add "Provides: perl-interpreter = %{perl_epoch}:%{perl_version}-%{release}" to perl package ASAP

Comment 4 Michael Petlan 2018-01-03 17:23:34 UTC
Seems that ocaml source rpm cannot be rebuilt because it build-requires perl-interpreter package. I think we have everything necessary in perl package, so we don't actually need perl-interpreter as a separate package on RHEL. Also, with --nodeps it proceeds. Could this bug be fixed in RHEL-7.5, since we ship ocaml there and simple `rpmbuild --rebuild ocaml*src.rpm` fails? Looks like an easyfix. Thank you.

Comment 5 Petr Pisar 2018-01-04 08:17:23 UTC
Please contact Red Hat support to escalate your issue correctly.

Comment 11 errata-xmlrpc 2018-10-30 10:54:53 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2018:3183