[packages/ncurses] force ldconfig run after ncurses 6.0 upgrade
glen
glen at pld-linux.org
Thu Mar 31 13:35:24 CEST 2016
commit db70fc1457cf5ccd5d2f63fb5f0c39b3a8d14d12
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Thu Mar 31 14:22:53 2016 +0300
force ldconfig run after ncurses 6.0 upgrade
hopefully second ldconfig would avoid such serious errors:
http://lists.pld-linux.org/mailman/pipermail/pld-devel-en/2016-March/024783.html
ncurses.spec | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/ncurses.spec b/ncurses.spec
index e63ed8a..6547561 100644
--- a/ncurses.spec
+++ b/ncurses.spec
@@ -21,7 +21,7 @@ Summary(tr.UTF-8): Terminal kontrol kitaplığı
Summary(uk.UTF-8): ncurses - нова бібліотека керування терміналами
Name: ncurses
Version: %{basever}.%{patchlevel}
-Release: 1
+Release: 2
License: distributable
Group: Libraries
Source0: ftp://dickey.his.com/ncurses/%{name}-%{basever}.tar.gz
@@ -461,6 +461,8 @@ rm -rf $RPM_BUILD_ROOT
%post ext -p /sbin/ldconfig
%postun ext -p /sbin/ldconfig
+%triggerpostun -p /sbin/ldconfig -- %{name} < 6.0.20151128-2
+
%files
%defattr(644,root,root,755)
%doc ANNOUNCE README
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ncurses.git/commitdiff/db70fc1457cf5ccd5d2f63fb5f0c39b3a8d14d12
More information about the pld-cvs-commit
mailing list