packages: ncurses/ncurses.spec - rel 12 - add trigger for upgrading from nc...
baggins
baggins at pld-linux.org
Mon May 21 11:45:05 CEST 2012
Author: baggins Date: Mon May 21 09:45:05 2012 GMT
Module: packages Tag: HEAD
---- Log message:
- rel 12
- 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
---- Files affected:
packages/ncurses:
ncurses.spec (1.242 -> 1.243)
---- Diffs:
================================================================
Index: packages/ncurses/ncurses.spec
diff -u packages/ncurses/ncurses.spec:1.242 packages/ncurses/ncurses.spec:1.243
--- packages/ncurses/ncurses.spec:1.242 Thu Mar 1 21:26:11 2012
+++ packages/ncurses/ncurses.spec Mon May 21 11:44:59 2012
@@ -21,7 +21,7 @@
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
@@ -504,6 +504,13 @@
%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
@@ -967,6 +974,11 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.243 2012/05/21 09:44:59 baggins
+- rel 12
+- 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
+
Revision 1.242 2012/03/01 20:26:11 arekm
- release 11
================================================================
---- CVS-web:
http://cvs.pld-linux.org/packages/ncurses/ncurses.spec?r1=1.242&r2=1.243
More information about the pld-cvs-commit
mailing list