Append and anchor filters

This commit is contained in:
Petr Písař 2013-10-22 09:38:22 +02:00
parent c954fb6e86
commit 0c4778d8b7
2 changed files with 6 additions and 4 deletions

View File

@ -44,10 +44,10 @@ export PERL_MM_USE_DEFAULT=1
# "%{?perl_default_filter}", before any %description block. # "%{?perl_default_filter}", before any %description block.
%perl_default_filter %{expand: \ %perl_default_filter %{expand: \
%global __provides_exclude_from %{_docdir} %global __provides_exclude_from %{?__provides_exclude_from:%__provides_exclude_from|}^%{_docdir}
%global __requires_exclude_from %{_docdir} %global __requires_exclude_from %{?__requires_exclude_from:%__requires_exclude_from|}^%{_docdir}
%global __provides_exclude perl\\\\(VMS|perl\\\\(Win32|perl\\\\(DB\\\\)|perl\\\\(UNIVERSAL\\\\) %global __provides_exclude %{?__provides_exclude:%__provides_exclude|}^perl\\\\(VMS|^perl\\\\(Win32|^perl\\\\(DB\\\\)|^perl\\\\(UNIVERSAL\\\\)
%global __requires_exclude perl\\\\(VMS|perl\\\\(Win32 %global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\\\(VMS|^perl\\\\(Win32
} }
############################################################################# #############################################################################

View File

@ -3628,6 +3628,8 @@ sed \
* Tue Oct 22 2013 Petr Pisar <ppisar@redhat.com> - 4:5.18.1-289 * Tue Oct 22 2013 Petr Pisar <ppisar@redhat.com> - 4:5.18.1-289
- perl_default_filter macro does not need to filter private libraries from - perl_default_filter macro does not need to filter private libraries from
provides (bug #1020809) provides (bug #1020809)
- perl_default_filter anchors the filter regular expressions
- perl_default_filter appends the filters instead of redefining them
* Mon Sep 09 2013 Jitka Plesnikova <jplesnik@redhat.com> - 4:5.18.1-288 * Mon Sep 09 2013 Jitka Plesnikova <jplesnik@redhat.com> - 4:5.18.1-288
- Fix rules for parsing numeric escapes in regexes (bug #978233) - Fix rules for parsing numeric escapes in regexes (bug #978233)