[perl/rc/master] Change macros according to new definition.

Marcela Mašláňová mmaslano at fedoraproject.org
Wed Jun 8 14:04:50 UTC 2011


commit ba86d0eba97ae09d713f3f9cc4a7663058e61dcc
Author: Marcela Mašláňová <mmaslano at redhat.com>
Date:   Wed Jun 8 15:58:01 2011 +0200

    Change macros according to new definition.

 macros.perl |   11 ++++++-----
 sources     |    1 -
 2 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/macros.perl b/macros.perl
index 9ba91e9..f3efc3d 100644
--- a/macros.perl
+++ b/macros.perl
@@ -41,11 +41,12 @@ export PERL_MM_USE_DEFAULT=1
 # Note that this must be invoked in the spec file, preferably as 
 # "%{?perl_default_filter}", before any %description block.
 
-%perl_default_filter %{?filter_setup: %{expand: \
-%define __provides_exclude_from (%{_perl_vendorarch}\/auto\/*|%{perl_archlib}/(?!CORE/libperl).*)\.so*|%{_docdir} \
-%define __requires_exclude_from %{_docdir} \
-%filter_setup \
-}}
+%perl_default_filter %{expand: \
+%global __provides_exclude_from %{perl_vendorarch}/auto/.*\.so|%{perl_archlib}/.*\.so|%{_docdir}
+%global __requires_exclude_from %{_docdir}
+%global __provides_exclude perl\\\\(VMS|perl\\\\(Win32|perl\\\\(BSD::|perl\\\\(DB\\\\)|perl\\\\(UNIVERSAL\\\\)
+%global __requires_exclude perl\\\\(VMS|perl\\\\(BSD::|perl\\\\(Win32
+}
 
 #############################################################################
 # Macros to assist with generating a "-tests" subpackage in a semi-automatic
diff --git a/sources b/sources
index 507f93c..ca9a89e 100644
--- a/sources
+++ b/sources
@@ -2,5 +2,4 @@ aceea3db13a159cd5f7e5f2e3ad9534f  perl-5.8.0-libdir64.patch
 ad5d07285d6e4914384b43c9abc2bdba  filter-requires.sh
 1737a36154bb5bca781296794afc6791  perl.stp
 df28fe2c574e8807d0a803308c545dca  perl-example.stp
-fa0e67ce4def80b563f4b312f770a8ff  macros.perl
 e688b0ddad50bca9a6223693a85c439d  perl-5.14.0.tar.gz


More information about the scm-commits mailing list