diff --git a/icu.changes b/icu.changes index ceb44d9..f331544 100644 --- a/icu.changes +++ b/icu.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Jan 12 20:29:30 UTC 2020 - Jan Engelhardt + +- Remove /usr/lib(64)/icu/current [boo#1158955]. + ------------------------------------------------------------------- Sat Oct 5 11:19:23 UTC 2019 - Jan Engelhardt diff --git a/icu.spec b/icu.spec index 16d5d2a..4bc8883 100644 --- a/icu.spec +++ b/icu.spec @@ -1,7 +1,7 @@ # # 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 # 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 %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 %postun -n %lname -p /sbin/ldconfig