- Remove /usr/lib(64)/icu/current [boo#1158955].
OBS-URL: https://build.opensuse.org/package/show/X11:common:Factory/icu?expand=0&rev=119
This commit is contained in:
parent
04a48fd8ca
commit
afbd88f038
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jan 12 20:29:30 UTC 2020 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Remove /usr/lib(64)/icu/current [boo#1158955].
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Oct 5 11:19:23 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
|
Sat Oct 5 11:19:23 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
24
icu.spec
24
icu.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package icu
|
# spec file for package icu
|
||||||
#
|
#
|
||||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2020 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -220,28 +220,6 @@ cd source
|
|||||||
ICU_DATA="%buildroot/%_datadir/icu/%version" make check %{?_smp_mflags} VERBOSE=1
|
ICU_DATA="%buildroot/%_datadir/icu/%version" make check %{?_smp_mflags} VERBOSE=1
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%post
|
|
||||||
# This should be run by whatever owns /usr/lib64/icu -
|
|
||||||
# the (main) package in this case
|
|
||||||
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
|
%post -n %lname -p /sbin/ldconfig
|
||||||
%postun -n %lname -p /sbin/ldconfig
|
%postun -n %lname -p /sbin/ldconfig
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user