Fix a basic regular expression when bootstrapping

Old filters call sed -e. Thus it's a basic regualar expression. '?' is
not a metacharacter in basic expressions.
This commit is contained in:
Petr Písař 2015-01-16 10:48:19 +01:00
parent 3e5a558647
commit 30a0588552

View File

@ -61,7 +61,7 @@ Requires: perl(DateTime::TimeZone::Tzfile)
%{?filter_setup: %{?filter_setup:
%filter_from_requires /^perl(Win32/d %filter_from_requires /^perl(Win32/d
%if 0%{?perl_bootstrap} %if 0%{?perl_bootstrap}
%filter_from_requires /^perl(DateTime\(::Duration\)?)/d %filter_from_requires /^perl(DateTime\(::Duration\)\{0,1\})/d
%endif %endif
%?perl_default_filter} %?perl_default_filter}