[packages/npth] - drop .la file

qboosh qboosh at pld-linux.org
Wed Feb 28 19:10:42 CET 2024


commit 5f7d397b3ec8870e8e2b28265a6d0bb308927c11
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Wed Feb 28 18:48:54 2024 +0100

    - drop .la file

 npth.spec | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/npth.spec b/npth.spec
index 3d30da8..6c41367 100644
--- a/npth.spec
+++ b/npth.spec
@@ -1,6 +1,6 @@
 #
 # Conditional build:
-%bcond_without	static_libs	# don't build static libraries
+%bcond_without	static_libs	# static library
 #
 Summary:	nPth - New GNU Portable Threads Library
 Summary(pl.UTF-8):	nPth - nowa przenośna biblioteka wątków GNU
@@ -74,6 +74,9 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+# obsoleted by pkg-config
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libnpth.la
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -89,7 +92,6 @@ rm -rf $RPM_BUILD_ROOT
 %files devel
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libnpth.so
-%{_libdir}/libnpth.la
 %{_includedir}/npth.h
 %{_aclocaldir}/npth.m4
 %{_pkgconfigdir}/npth.pc
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/npth.git/commitdiff/5f7d397b3ec8870e8e2b28265a6d0bb308927c11



More information about the pld-cvs-commit mailing list