Hello community,

here is the log from the commit of package icu for openSUSE:Factory checked in 
at 2012-07-18 17:21:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/icu (Old)
 and      /work/SRC/openSUSE:Factory/.icu.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "icu", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/icu/icu.changes  2012-04-12 09:26:43.000000000 
+0200
+++ /work/SRC/openSUSE:Factory/.icu.new/icu.changes     2012-07-18 
17:21:04.000000000 +0200
@@ -1,0 +2,14 @@
+Wed Jul 11 21:35:12 UTC 2012 - [email protected]
+
+- Remove SuSEconfig.icu; only run the link updater on icu updates
+  (FATE#313539)
+
+-------------------------------------------------------------------
+Wed Jun 13 12:34:53 UTC 2012 - [email protected]
+
+- license update: SUSE-XFree86-1.0
+  The license (as stated in the license.html page) is not upstream at
+  http://www.spdx.org/licenses yet - thus, use this version (with SUSE-
+  proprietary prefix until the license goes upstream)
+
+-------------------------------------------------------------------

Old:
----
  SuSEconfig.icu

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ icu.spec ++++++
--- /var/tmp/diff_new_pack.b3Qt8Z/_old  2012-07-18 17:21:06.000000000 +0200
+++ /var/tmp/diff_new_pack.b3Qt8Z/_new  2012-07-18 17:21:06.000000000 +0200
@@ -21,12 +21,11 @@
 Version:        49.1
 Release:        0
 Summary:        International Components for Unicode
-License:        MIT and SUSE-Public-Domain
+License:        SUSE-XFree86-1.0
 Group:          System/Libraries
 Url:            http://ibm.com/software/globalization/icu
 Source0:        icu4c-49_1-src.tgz
 Source1:        icu4c-49_1-docs.zip
-Source3:        SuSEconfig.icu
 # PATCH-FIX-UPSTREAM icu-rpmlint.diff -- 
http://bugs.icu-project.org/trac/ticket/7808
 Patch1:         icu-rpmlint.diff
 # PATCH-FIX-OPENSUSE icu-remove-datetime.patch [email protected] -- Do not put 
date/time in icu-config (needed for build-compare)
@@ -142,10 +141,6 @@
 install -m 644 data/unidata/*.txt 
%{buildroot}/%{_datadir}/icu/%{version}/unidata
 ln -s unidata/UnicodeData.txt %{buildroot}/%{_datadir}/icu/%{version}/
 
-mkdir -p %{buildroot}/sbin/conf.d/
-sed -e "s/@ICUVERSION@/%{version}/g" < ${RPM_SOURCE_DIR}/SuSEconfig.icu > 
./SuSEconfig.icu
-install -m 755 ./SuSEconfig.icu %{buildroot}/sbin/conf.d/
-
 rm %{buildroot}/%{_datadir}/icu/%{version}/license.html
 rm %{buildroot}/%{_datadir}/icu/%{version}/install-sh
 
@@ -158,6 +153,28 @@
 make check
 %endif
 
+# This should be run by whatever owns /usr/lib64/icu -
+# the (main) package in this case
+%post
+if test -d "%_libdir/icu"; then
+       current=$(cd %_libdir/icu; find [0-9]* -maxdepth 1 -type d -printf 
'%f\n' |
+               sort -V | tail -n1);
+       if test -n "$current"; then
+               rm -f "%_libdir/icu/current";
+               ln -sv "$current" "%_libdir/icu/current";
+       fi;
+fi;
+
+%postun
+if test -d "%_libdir/icu"; then
+       current=$(cd %_libdir/icu; find [0-9]* -maxdepth 1 -type d -printf 
'%f\n' |
+               sort -V | tail -n1);
+       if test -n "$current"; then
+               rm -f "%_libdir/icu/current";
+               ln -sv "$current" "%_libdir/icu/current";
+       fi;
+fi;
+
 %post -n %lname -p /sbin/ldconfig
 
 %postun -n %lname -p /sbin/ldconfig
@@ -180,7 +197,6 @@
 %{_bindir}/uconv
 %{_sbindir}/*
 %{_mandir}/*/*
-/sbin/conf.d/SuSEconfig.icu
 
 %files -n %lname
 %defattr(-, root, root)


-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to