[perl] fix escaping of the __provides_exclude_from macro
Iain Arnell
iarnell at fedoraproject.org
Sat Jul 16 04:02:03 UTC 2011
commit df9c3f09d95f1da285cc5990172b42051dc80245
Author: Iain Arnell <iarnell at gmail.com>
Date: Sat Jul 16 06:01:17 2011 +0200
fix escaping of the __provides_exclude_from macro
macros.perl | 2 +-
perl.spec | 7 +++++--
2 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/macros.perl b/macros.perl
index b29584d..293d3e6 100644
--- a/macros.perl
+++ b/macros.perl
@@ -42,7 +42,7 @@ export PERL_MM_USE_DEFAULT=1
# "%{?perl_default_filter}", before any %description block.
%perl_default_filter %{expand: \
-%global __provides_exclude_from %{perl_vendorarch}/auto/.*\.so|%{perl_archlib}/.*\.so|%{_docdir}
+%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\\\\(DB\\\\)|perl\\\\(UNIVERSAL\\\\)
%global __requires_exclude perl\\\\(VMS|perl\\\\(Win32
diff --git a/perl.spec b/perl.spec
index ac515da..820f92c 100644
--- a/perl.spec
+++ b/perl.spec
@@ -7,7 +7,7 @@
%global parallel_tests 1
%global tapsetdir %{_datadir}/systemtap/tapset
-%global __provides_exclude_from .*/auto/.*\.so|.*/%{perl_archlib}/.*\.so|%{_docdir}
+%global __provides_exclude_from .*/auto/.*\\.so$|.*/%{perl_archlib}/.*\\.so$|%{_docdir}
%global __requires_exclude_from %{_docdir}
%global __provides_exclude perl\\(VMS|perl\\(Win32|perl\\(BSD::|perl\\(DB\\)
%global __requires_exclude perl\\(VMS|perl\\(BSD::|perl\\(Win32|perl\\(Tk|perl\\(Mac::|perl\\(Your::Module::Here
@@ -17,7 +17,7 @@
Name: perl
Version: %{perl_version}
# release number must be even higher, because dual-lived modules will be broken otherwise
-Release: 179%{?dist}
+Release: 180%{?dist}
Epoch: %{perl_epoch}
Summary: Practical Extraction and Report Language
Group: Development/Languages
@@ -2078,6 +2078,9 @@ sed \
# Old changelog entries are preserved in CVS.
%changelog
+* Sat Jul 16 2011 Iain Arnell <iarnell at gmail.com> 4:5.14.1-180
+- fix escaping of the __provides_exclude_from macro
+
* Wed Jul 13 2011 Iain Arnell <iarnell at gmail.com> 4:5.14.1-179
- Parse-CPAN-Meta explicitly requires CPAN::Meta::YAML and JSON::PP
- Exclude CPAN::Meta* from CPAN sub-package
More information about the scm-commits
mailing list