[perl-Unicode-LineBreak] Fix filtering for EL7

xavierb xavierb at fedoraproject.org
Wed Feb 19 21:28:25 UTC 2014


commit 43b3fa0100134b6cd17d7e79301b85b7ba1372f5
Author: Xavier Bachelot <xavier at bachelot.org>
Date:   Wed Feb 19 22:28:45 2014 +0100

    Fix filtering for EL7

 perl-Unicode-LineBreak.spec |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/perl-Unicode-LineBreak.spec b/perl-Unicode-LineBreak.spec
index 20a8d55..683b856 100644
--- a/perl-Unicode-LineBreak.spec
+++ b/perl-Unicode-LineBreak.spec
@@ -1,6 +1,6 @@
 Name:           perl-Unicode-LineBreak
 Version:        2013.11
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        UAX #14 Unicode Line Breaking Algorithm
 License:        GPL+ or Artistic
 Group:          Development/Libraries
@@ -30,13 +30,13 @@ Requires:       perl(Encode) >= 1.98
 Requires:       perl(MIME::Charset) >= 1.006.2
 
 
-%if 0%{?rhel} > 5
+%if 0%{?rhel} == 6
 %filter_from_provides /^perl(Unicode::LineBreak)$/d
 %filter_from_requires /^perl(Unicode::LineBreak::Constants)$/d
 %{?perl_default_filter}
 %endif
 
-%if 0%{?fedora} > 14
+%if 0%{?fedora} > 14 || 0%{?rhel} > 6
 %{?filter_setup:
 %filter_from_requires /perl(Unicode::LineBreak::Constants)/d
 %filter_from_provides /^perl(Unicode::LineBreak)$/d
@@ -122,6 +122,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Tue Feb 18 2014 Xavier Bachelot <xavier at bachelot.org> 2013.11-2
+- Fix filtering for EL7.
+
 * Mon Dec 02 2013 Xavier Bachelot <xavier at bachelot.org> 2013.11-1
 - Update to 2013.11.
 


More information about the scm-commits mailing list