From 30a058855246c7d28d164015ab2feebfe84e28e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Fri, 16 Jan 2015 10:48:19 +0100 Subject: [PATCH] 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. --- perl-DateTime-TimeZone.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-DateTime-TimeZone.spec b/perl-DateTime-TimeZone.spec index 09fb897..5ceb54f 100644 --- a/perl-DateTime-TimeZone.spec +++ b/perl-DateTime-TimeZone.spec @@ -61,7 +61,7 @@ Requires: perl(DateTime::TimeZone::Tzfile) %{?filter_setup: %filter_from_requires /^perl(Win32/d %if 0%{?perl_bootstrap} -%filter_from_requires /^perl(DateTime\(::Duration\)?)/d +%filter_from_requires /^perl(DateTime\(::Duration\)\{0,1\})/d %endif %?perl_default_filter}