[icu] Resolves: rhbz#856594 roll back and build without --disable-renaming again

Eike Rathke erack at fedoraproject.org
Tue Jan 29 09:52:03 UTC 2013


commit e530a83e14f845674072226c828564f2fe03b9f3
Author: Eike Rathke <erack at redhat.com>
Date:   Tue Jan 29 10:46:59 2013 +0100

    Resolves: rhbz#856594 roll back and build without --disable-renaming again

 icu.spec |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/icu.spec b/icu.spec
index 5be6f51..bd77081 100644
--- a/icu.spec
+++ b/icu.spec
@@ -1,6 +1,6 @@
 Name:      icu
 Version:   50.1.2
-Release:   2%{?dist}
+Release:   3%{?dist}
 Summary:   International Components for Unicode
 Group:     Development/Tools
 License:   MIT and UCD and Public Domain
@@ -68,7 +68,8 @@ CXXFLAGS='%optflags -fno-strict-aliasing'
 %if ! 0%{?endian}
 CPPFLAGS='-DU_IS_BIG_ENDIAN=1'
 %endif
-%configure --with-data-packaging=library --disable-samples --disable-renaming
+#rhbz856594 do not use --disable-renaming or cope with the mess
+%configure --with-data-packaging=library --disable-samples
 #rhbz#225896
 sed -i 's|-nodefaultlibs -nostdlib||' config/mh-linux
 #rhbz#681941
@@ -85,7 +86,7 @@ sed -i '/^\s\+\$(INSTALL_DATA) \$(docsrchfiles) \$(DESTDIR)\$(docdir)\/\$(docsub
 # rhbz#856594 The configure --disable-renaming and possibly other options
 # result in icu/source/uconfig.h.prepend being created, include that content in
 # icu/source/common/unicode/uconfig.h to propagate to consumer packages.
-sed -e '/^#define __UCONFIG_H__/ r uconfig.h.prepend' -i common/unicode/uconfig.h
+test -f uconfig.h.prepend && sed -e '/^#define __UCONFIG_H__/ r uconfig.h.prepend' -i common/unicode/uconfig.h
 
 make %{?_smp_mflags}
 make %{?_smp_mflags} doc
@@ -163,6 +164,9 @@ make %{?_smp_mflags} -C source check
 %doc source/__docs/%{name}/html/*
 
 %changelog
+* Tue Jan 29 2013 Eike Rathke <erack at redhat.com> - 50.1.2-3
+- Resolves: rhbz#856594 roll back and build without --disable-renaming again
+
 * Mon Jan 28 2013 Eike Rathke <erack at redhat.com> - 50.1.2-2
 - Resolves: rhbz#856594 include content of icu/source/uconfig.h.prepend
 


More information about the scm-commits mailing list