Fix filtering for EL7

This commit is contained in:
Xavier Bachelot 2014-02-19 22:28:45 +01:00
parent 510b76e9b8
commit 43b3fa0100

View File

@ -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@bachelot.org> 2013.11-2
- Fix filtering for EL7.
* Mon Dec 02 2013 Xavier Bachelot <xavier@bachelot.org> 2013.11-1
- Update to 2013.11.