[Bug 1373015] New: EPEL6 missing required sombok version

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1373015

            Bug ID: 1373015
           Summary: EPEL6 missing required sombok version
           Product: Fedora EPEL
           Version: el6
         Component: perl-Unicode-LineBreak
          Severity: low
          Assignee: xavier@xxxxxxxxxxxx
          Reporter: bjarne@xxxxxxxxxxxxx
        QA Contact: extras-qa@xxxxxxxxxxxxxxxxx
                CC: perl-devel@xxxxxxxxxxxxxxxxxxxxxxx,
                    xavier@xxxxxxxxxxxx



Hi Xavier Bachelot <xavier@xxxxxxxxxxxx>

Could you please add this to the SPEC file (EPEL6 has only sombok 2.0.5);

diff --git a/perl-Unicode-LineBreak.spec b/perl-Unicode-LineBreak.spec
index 271c4b7..279751d 100644
--- a/perl-Unicode-LineBreak.spec
+++ b/perl-Unicode-LineBreak.spec
@@ -1,6 +1,8 @@
+%global sombok_version %(rpm -q --qf "%{VERSION}" sombok-devel || echo 0)
+
 Name:           perl-Unicode-LineBreak
 Version:        2016.003
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        UAX #14 Unicode Line Breaking Algorithm
 License:        GPL+ or Artistic
 Group:          Development/Libraries
@@ -69,10 +71,11 @@

 %prep
 %setup -q -n Unicode-LineBreak-%{version}
+%if "%{sombok_version}" > "2.4.0"
 # Remove bundled library
 rm -rf sombok
 sed -i -e '/^sombok/d' MANIFEST
-
+%endif

 %if 0%{?rhel} == 5
 cat << \EOF > %{name}-prov
@@ -129,6 +132,9 @@

-- 
You are receiving this mail because:
You are on the CC list for the bug.
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://lists.fedoraproject.org/admin/lists/perl-devel@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux