[texlive] Do not provide perl modules

Petr Pisar ppisar at fedoraproject.org
Fri May 16 07:13:46 UTC 2014


commit d3ee540bf26274a9d45061b97d19becb34b72c6c
Author: Petr Písař <ppisar at redhat.com>
Date:   Thu May 15 12:42:54 2014 +0200

    Do not provide perl modules

 texlive.spec          |    9 ++++++++-
 texlive.spec.template |    9 ++++++++-
 2 files changed, 16 insertions(+), 2 deletions(-)
---
diff --git a/texlive.spec b/texlive.spec
index ebd3440..5810b6e 100644
--- a/texlive.spec
+++ b/texlive.spec
@@ -1,6 +1,6 @@
 %global source_date 20140512_r33995
 %global tl_version 2013
-%global tl_rel 11
+%global tl_rel 12
 %global tl_release %{tl_rel}.%{source_date}%{?dist}
 %global tl_noarch_release %{tl_rel}%{?dist}
 %global source_name texlive-%{source_date}-source
@@ -11,6 +11,10 @@
 %if 0%{?fedora} <= 19
 # don't figure any perl dependencies
 %global __perl_requires %{nil}
+%else
+# don't export private perl modules
+%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}^perl\\(
+%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\((PDF::Reuse.*|Pedigree.*|TeXLive.*|Tk::path_tre)\\)
 %endif
 
 %global __os_install_post /usr/lib/rpm/brp-compress %{nil}
@@ -355498,6 +355502,9 @@ fi
 %{_libdir}/*.so
 
 %changelog
+* Thu May 15 2014 Petr Pisar <ppisar at redhat.com> - 2013-12-20140512
+- Do not export private perl modules (bug #1085424)
+
 * Wed May 14 2014 Jindrich Novy <novyjindrich at gmail.com> - 2013-11-20140512
 - remove explicit ghostscript-devel dependency in dvisvgm (#1087847)
 - pdftex now depends on pdftex-def (#1096535)
diff --git a/texlive.spec.template b/texlive.spec.template
index d1f349b..cc50dce 100644
--- a/texlive.spec.template
+++ b/texlive.spec.template
@@ -1,6 +1,6 @@
 %global source_date 20140512_r33995
 %global tl_version 2013
-%global tl_rel 11
+%global tl_rel 12
 %global tl_release %{tl_rel}.%{source_date}%{?dist}
 %global tl_noarch_release %{tl_rel}%{?dist}
 %global source_name texlive-%{source_date}-source
@@ -11,6 +11,10 @@
 %if 0%{?fedora} <= 19
 # don't figure any perl dependencies
 %global __perl_requires %{nil}
+%else
+# don't export private perl modules
+%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}^perl\\(
+%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\((PDF::Reuse.*|Pedigree.*|TeXLive.*|Tk::path_tre)\\)
 %endif
 
 %global __os_install_post /usr/lib/rpm/brp-compress %{nil}
@@ -381,6 +385,9 @@ fi
 %{_libdir}/*.so
 
 %changelog
+* Thu May 15 2014 Petr Pisar <ppisar at redhat.com> - 2013-12-20140512
+- Do not export private perl modules (bug #1085424)
+
 * Wed May 14 2014 Jindrich Novy <novyjindrich at gmail.com> - 2013-11-20140512
 - remove explicit ghostscript-devel dependency in dvisvgm (#1087847)
 - pdftex now depends on pdftex-def (#1096535)


More information about the scm-commits mailing list