[texlive/f20] Do not provide perl modules

Petr Pisar ppisar at fedoraproject.org
Fri May 16 07:18:39 UTC 2014


commit 982c5b6d6dfea2197654ef158287e7badf4c43ed
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 830c486..dde2c41 100644
--- a/texlive.spec
+++ b/texlive.spec
@@ -1,6 +1,6 @@
 %global source_date 20131226_r32488
 %global tl_version 2013
-%global tl_rel 4
+%global tl_rel 5
 %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}
@@ -343101,6 +343105,9 @@ fi
 %{_libdir}/*.so
 
 %changelog
+* Thu May 15 2014 Petr Pisar <ppisar at redhat.com> - 2013-5-20131226
+- Do not export private perl modules (bug #1085424)
+
 * Thu Dec 26 2013 Jindrich Novy <novyjindrich at gmail.com> - 2013-4-20131226
 - sync with upstream + add BR: libpaper-devel, potrace-devel
 - remove generated files upon update to avoid 'I'm stymified', etc.
diff --git a/texlive.spec.template b/texlive.spec.template
index 9553df3..a3a75a3 100644
--- a/texlive.spec.template
+++ b/texlive.spec.template
@@ -1,6 +1,6 @@
 %global source_date 20131226_r32488
 %global tl_version 2013
-%global tl_rel 4
+%global tl_rel 5
 %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-5-20131226
+- Do not export private perl modules (bug #1085424)
+
 * Thu Dec 26 2013 Jindrich Novy <novyjindrich at gmail.com> - 2013-4-20131226
 - sync with upstream + add BR: libpaper-devel, potrace-devel
 - remove generated files upon update to avoid 'I'm stymified', etc.


More information about the scm-commits mailing list