Move a comment into the right spot

OBS-URL: https://build.opensuse.org/package/show/X11:common:Factory/icu?expand=0&rev=46
This commit is contained in:
Jan Engelhardt 2014-06-03 12:15:05 +00:00 committed by Git OBS Bridge
parent 2343facf45
commit daa7b38679

View File

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