[perl-DateTime-TimeZone] Fix a basic regular expression when bootstrapping

Petr Pisar ppisar at fedoraproject.org
Fri Jan 16 09:50:51 UTC 2015


commit 30a058855246c7d28d164015ab2feebfe84e28e0
Author: Petr Písař <ppisar at redhat.com>
Date:   Fri Jan 16 10:48:19 2015 +0100

    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 files changed, 1 insertions(+), 1 deletions(-)
---
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}
 


More information about the scm-commits mailing list