remove *.so links from lib package [release 5.9.20141206-2mamba;Thu Nov 03 2016]
This commit is contained in:
parent
472d76af9b
commit
a945306f0b
@ -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 <silvan.calarco@mambasoft.it> 5.9.20141206-2mamba
|
||||
- remove *.so links from lib package
|
||||
|
||||
* Sat Feb 20 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 5.9.20141206-1mamba
|
||||
- update to 5.9.20141206
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user