From fc0d45e3f807529855aa63a2b4bc5c0829994b61 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppi...@redhat.com>
Date: Mon, 19 Jun 2017 14:49:34 +0200
Subject: Provide perl-interpreter RPM dependency symbol

The perl-interpreter will turn into a normal package in the future.
---
 perl.spec | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/perl.spec b/perl.spec
index 139a426..d5b8b1a 100644
--- a/perl.spec
+++ b/perl.spec
@@ -293,6 +293,11 @@ BuildRequires:  procps, rsyslog
 # compat macro needed for rebuild
 %global perl_compat perl(:MODULE_COMPAT_5.22.3)
 
+# perl-interpreter denotes a package with the perl executable.
+# Full EVR is for compatibility with systems that swapped perl and perl-core
+# 
<https://fedoraproject.org/wiki/Changes/perl_Package_to_Install_Core_Modules>.
+Provides: perl-interpreter = %{perl_epoch}:%{perl_version}-%{release}
+
 # File provides
 Provides: perl(bytes_heavy.pl)
 Provides: perl(dumpvar.pl)
@@ -4917,7 +4922,7 @@ popd
 
 # Old changelog entries are preserved in CVS.
 %changelog
-* Fri Jun 16 2017 Petr Pisar <ppi...@redhat.com> - 4:5.22.3-371
+* Mon Jun 26 2017 Petr Pisar <ppi...@redhat.com> - 4:5.22.3-371
 - Make File::Glob more resistant against degenerative matching (RT#131211)
 - Fix a memory wrap in sv_vcatpvfn_flags() (RT#131260)
 - Fix a crash when calling a subroutine from a stash (RT#131085)
@@ -4928,6 +4933,8 @@ popd
 - Fix checks for tainted directory in $ENV{PATH} if a backslash escape presents
 - Fix handling backslashes in PATH environment variable when executing
   "perl -S" (RT#129183)
+- Provide perl-interpreter RPM dependency symbol
+  <https://fedoraproject.org/wiki/Changes/perl_Package_to_Install_Core_Modules>
 
 * Wed Mar 08 2017 Petr Pisar <ppi...@redhat.com> - 4:5.22.3-370
 - Fix a null-pointer dereference on malformed code (RT#130815)
-- 
cgit v1.1


        
https://src.fedoraproject.org/cgit/perl.git/commit/?h=f24&id=fc0d45e3f807529855aa63a2b4bc5c0829994b61
_______________________________________________
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org

Reply via email to