]> git.pld-linux.org Git - packages/compat-ncurses5.git/commitdiff
- rel 12
authorJan Rękorajski <baggins@pld-linux.org>
Mon, 21 May 2012 09:44:59 +0000 (09:44 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- add trigger for upgrading from ncurses with separate libtinfo as
  rpm seems to remove ghost-ed files when they're no longer listed as ghost

Changed files:
    ncurses.spec -> 1.243

ncurses.spec

index e89371589169753e4f37a6d6644062a4bf387412..53ac97c9eb74bc55ac3921a07f60c14c80925ea2 100644 (file)
@@ -20,7 +20,7 @@ Summary(tr.UTF-8):    Terminal kontrol kitaplığı
 Summary(uk.UTF-8):     ncurses - нова бібліотека керування терміналами
 Name:          ncurses
 Version:       5.9
-Release:       11
+Release:       12
 License:       distributable
 Group:         Libraries
 Source0:       ftp://dickey.his.com/ncurses/%{name}-%{version}.tar.gz
@@ -503,6 +503,13 @@ rm -rf $RPM_BUILD_ROOT
 %post  ext -p /sbin/ldconfig
 %postun        ext -p /sbin/ldconfig
 
+%triggerpostun %{name} < 5.9-3
+# rpm seems to remove them as those was %ghosts in ncurses < 5.9-3
+# despite existing now as normal files/symlinks
+ln -sf /%{_lib}/libncurses.so.5.* /%{_lib}/libtinfo.so.5
+ln -sf /%{_lib}/libncursesw.so.6.* /%{_lib}/libtinfow.so.6
+ln -sf %{_libdir}/libncursesw.so.5.* %{_libdir}/libtinfow.so.5
+
 %files
 %defattr(644,root,root,755)
 %doc ANNOUNCE README
This page took 0.127911 seconds and 4 git commands to generate.