From 2b68c82fd91d158cd4acf7fb901857f0cf81c61d693a8d0c38880b9e1c2645eb Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Thu, 2 Apr 2009 15:31:42 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/icu?expand=0&rev=11 --- icu-remove-datetime.patch | 12 ++++++++++++ icu.changes | 5 +++++ icu.spec | 7 ++++++- 3 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 icu-remove-datetime.patch diff --git a/icu-remove-datetime.patch b/icu-remove-datetime.patch new file mode 100644 index 0000000..c40075e --- /dev/null +++ b/icu-remove-datetime.patch @@ -0,0 +1,12 @@ +Index: icu/source/Makefile.in +=================================================================== +--- icu.orig/source/Makefile.in ++++ icu/source/Makefile.in +@@ -190,7 +190,6 @@ $(top_builddir)/config/icu-config: $(top + sed -f $(top_srcdir)/config/make2sh.sed < $(top_builddir)/config/Makefile.inc | grep -v '#M#' | uniq >> $@ + sed -f $(top_srcdir)/config/make2sh.sed < @platform_make_fragment@ | grep -v '#M#' | uniq >> $@ + cat $(top_srcdir)/config/icu-config-bottom >> $@ +- echo "# Rebuilt on "`date` >> $@ + chmod u-w $@ + + config.status: $(srcdir)/configure $(srcdir)/common/unicode/uversion.h diff --git a/icu.changes b/icu.changes index a0ce7b1..7a56e47 100644 --- a/icu.changes +++ b/icu.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Mar 28 00:35:41 CET 2009 - vuntz@novell.com + +- Add icu-remove-datetime.patch to be more build-compare friendly. + ------------------------------------------------------------------- Mon Mar 2 22:07:18 CET 2009 - crrodriguez@suse.de diff --git a/icu.spec b/icu.spec index 38c2c2a..ab50db4 100644 --- a/icu.spec +++ b/icu.spec @@ -24,7 +24,7 @@ License: X11/MIT Group: System/Libraries AutoReqProv: on Version: 4.0 -Release: 8 +Release: 9 Requires: libicu = %{version} Url: http://ibm.com/software/globalization/icu Source0: icu4c-4_0-src.tar.bz2 @@ -33,6 +33,8 @@ Source3: SuSEconfig.icu # PATCH-FIX-UPSTREAM icu4c-3_6-src-setBreakType-public.diff -- OOo-2.3.1 and above needs to access the setBreakType method, see http://bugs.icu-project.org/trac/ticket/5498 Patch: icu4c-3_6-src-setBreakType-public.diff Patch1: icu-gcc44.patch +# PATCH-FIX-OPENSUSE icu-remove-datetime.patch vuntz@novell.com -- Do not put date/time in icu-config (needed for build-compare) +Patch2: icu-remove-datetime.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary: International Components for Unicode @@ -145,6 +147,7 @@ Authors: %setup -q -n icu -a1 %patch %patch1 +%patch2 -p1 %build cd source @@ -234,6 +237,8 @@ rm -rf $RPM_BUILD_ROOT /usr/share/icu/%{version}/UnicodeData.txt %changelog +* Sat Mar 28 2009 vuntz@novell.com +- Add icu-remove-datetime.patch to be more build-compare friendly. * Mon Mar 02 2009 crrodriguez@suse.de - fix build with GCC 4.4 - remove static libraries