SHA256
1
0
forked from pool/icu

Accepting request 236145 from home:scarabeus_iv

- Ensure we escape the find %f properly.

OBS-URL: https://build.opensuse.org/request/show/236145
OBS-URL: https://build.opensuse.org/package/show/X11:common:Factory/icu?expand=0&rev=47
This commit is contained in:
Jan Engelhardt 2014-06-03 15:21:35 +00:00 committed by Git OBS Bridge
parent daa7b38679
commit 081f774654
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Jun 3 13:23:12 UTC 2014 - tchvatal@suse.com
- Ensure we escape the find %f properly.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jun 3 11:35:25 UTC 2014 - tchvatal@suse.com Tue Jun 3 11:35:25 UTC 2014 - tchvatal@suse.com

View File

@ -186,7 +186,7 @@ ICU_DATA="%buildroot/%_datadir/icu/%version" make check %{?_smp_mflags} VERBOSE=
# This should be run by whatever owns /usr/lib64/icu - # This should be run by whatever owns /usr/lib64/icu -
# the (main) package in this case # the (main) package in this case
if test -d "%_libdir/icu"; then if test -d "%_libdir/icu"; then
current=$(cd "%_libdir/icu/"; find [0-9]* -maxdepth 1 -type d -printf '%f\n' | current=$(cd "%_libdir/icu/"; find [0-9]* -maxdepth 1 -type d -printf '%%f\n' |
sort -V | tail -n1); sort -V | tail -n1);
if test -n "$current"; then if test -n "$current"; then
rm -f "%_libdir/icu/current"; rm -f "%_libdir/icu/current";
@ -196,7 +196,7 @@ fi;
%postun %postun
if test -d "%_libdir/icu"; then if test -d "%_libdir/icu"; then
current=$(cd "%_libdir/icu/"; find [0-9]* -maxdepth 1 -type d -printf '%f\n' | current=$(cd "%_libdir/icu/"; find [0-9]* -maxdepth 1 -type d -printf '%%f\n' |
sort -V | tail -n1); sort -V | tail -n1);
if test -n "$current"; then if test -n "$current"; then
rm -f "%_libdir/icu/current"; rm -f "%_libdir/icu/current";