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);