From daa7b38679bbd9ca0e399427c87a9f8e6a8b5b1872ca393387cbb67e66db21f8 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Tue, 3 Jun 2014 12:15:05 +0000 Subject: [PATCH] Move a comment into the right spot OBS-URL: https://build.opensuse.org/package/show/X11:common:Factory/icu?expand=0&rev=46 --- icu.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/icu.spec b/icu.spec index c8dc8df..542a3aa 100644 --- a/icu.spec +++ b/icu.spec @@ -25,6 +25,7 @@ Summary: International Components for Unicode License: MIT Group: Development/Libraries/C and C++ Url: http://icu-project.org/ + Source: http://download.icu-project.org/files/icu4c/%version/icu4c-%aversion-src.tgz Source2: http://download.icu-project.org/files/icu4c/%version/icu4c-%aversion-docs.zip Source3: sanitize_docs.sh @@ -181,10 +182,9 @@ cd source ICU_DATA="%buildroot/%_datadir/icu/%version" make check %{?_smp_mflags} VERBOSE=1 %endif +%post # 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);