- Drop dangling symlinks /usr/lib64/icu/*.inc

OBS-URL: https://build.opensuse.org/package/show/X11:common:Factory/icu?expand=0&rev=83
This commit is contained in:
Jan Engelhardt 2017-12-26 13:49:43 +00:00 committed by Git OBS Bridge
parent e929eb7bab
commit e2df0e8ce7
2 changed files with 11 additions and 26 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Dec 26 13:45:03 UTC 2017 - jengelh@inai.de
- Drop dangling symlinks /usr/lib64/icu/*.inc
-------------------------------------------------------------------
Thu Dec 14 17:56:54 UTC 2017 - jengelh@inai.de

View File

@ -136,20 +136,6 @@ ICU is a set of C and C++ libraries that provide extensive Unicode
and locale support.
This package contains the HTML documentation.
%package data
Summary: International Components for Unicode (Sources for the Data in ICU)
Group: Development/Sources
Requires: %lname >= %version
%description data
ICU is a set of C and C++ libraries that provide extensive Unicode
and locale support.
This package contains the uncompiled source files for the data found
in the "icu" package. This data describes the Unicode data (normative
and informative) and also all the table-based converters provided in
the ICU distribution.
%prep
%setup -q -n icu
%patch -P 3 -P 4 -P 6 -P 7 -P 8 -p1
@ -220,6 +206,12 @@ install -m 644 data/unidata/*.txt "%buildroot/%_datadir/icu/%version/unidata"
ln -s unidata/UnicodeData.txt "%buildroot/%_datadir/icu/%version/"
rm "%buildroot/%_datadir/icu/%version/install-sh"
# Seems unused
rm -Rf "%buildroot/%_datadir/icu/%version/unidata/" \
"%buildroot/%_datadir/icu/%version/UnicodeData.txt" \
"%buildroot/%_libdir/icu/current" \
"%buildroot/%_libdir/icu/Makefile.inc" \
"%buildroot/%_libdir/icu/pkgdata.inc"
%fdupes %buildroot/%_prefix
@ -260,9 +252,6 @@ fi
%files
%defattr(-,root,root)
%dir %_libdir/icu
%dir %_libdir/icu/%version
%_libdir/icu/current
%_bindir/derb
%_bindir/gen*
%_bindir/icuinfo
@ -302,8 +291,6 @@ fi
%dir %_libdir/icu/%version/
%_libdir/icu/%version/Makefile.inc
%_libdir/icu/%version/pkgdata.inc
%_libdir/icu/Makefile.inc
%_libdir/icu/pkgdata.inc
%_libdir/pkgconfig/icu-*.pc
%_bindir/icu-config
%dir %_datadir/icu/
@ -316,11 +303,4 @@ fi
%dir %_docdir/%name/
%_docdir/%name/html/
%files data
%defattr(-, root, root)
%dir %_datadir/icu/
%dir %_datadir/icu/%version/
%_datadir/icu/%version/unidata/
%_datadir/icu/%version/UnicodeData.txt
%changelog