From a945306f0ba541c78deb74cb1b95e9ff2aafedf0 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 07:34:11 +0100 Subject: [PATCH] remove *.so links from lib package [release 5.9.20141206-2mamba;Thu Nov 03 2016] --- ncurses5.spec | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/ncurses5.spec b/ncurses5.spec index 4996f4b..08b7aed 100644 --- a/ncurses5.spec +++ b/ncurses5.spec @@ -4,7 +4,7 @@ %define tack_ver 1.07 Name: ncurses5 Version: 5.9.20141206 -Release: 1mamba +Release: 2mamba Summary: A CRT screen handling and optimization package Group: System/Libraries Vendor: openmamba @@ -169,7 +169,13 @@ done %clean [ "%{buildroot}" != / ] && rm -rf %{buildroot} -%post -n lib%{name} -p /sbin/ldconfig +%post -n lib%{name} +# Fix legacy wrong link +rm -f %{_libdir}/libncurses.so.5 +rm -f %{_libdir}/libncursesw.so.5 +/sbin/ldconfig +: + %postun -n lib%{name} -p /sbin/ldconfig %files @@ -190,8 +196,8 @@ done %files -n lib%{name} %defattr(-,root,root) -/%{_lib}/libncurses*.so* -%{_libdir}/*.so* +/%{_lib}/libncurses*.so.* +%{_libdir}/*.so.* #%{_datadir}/terminfo/* %if "%{_target_cpu}" != "x86_64" %{_libdir}/terminfo @@ -204,6 +210,7 @@ done %{_datadir}/tabset/* %{_includedir}/* %{_libdir}/*.a +%{_libdir}/lib*.so %{_libdir}/pkgconfig/form.pc %{_libdir}/pkgconfig/formw.pc %{_libdir}/pkgconfig/menu.pc @@ -228,6 +235,9 @@ done %{_datadir}/terminfo/* %changelog +* Thu Nov 03 2016 Silvan Calarco 5.9.20141206-2mamba +- remove *.so links from lib package + * Sat Feb 20 2016 Silvan Calarco 5.9.20141206-1mamba - update to 5.9.20141206