[packages/pacemaker/DEVEL-pacemaker-2] - drop .la files and python pacemaker._cts test classes

qboosh qboosh at pld-linux.org
Sun Jul 21 15:14:08 CEST 2024


commit 9f29e4803baa093e38a871462f5ef77c58072fe5
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Jul 21 14:31:44 2024 +0200

    - drop .la files and python pacemaker._cts test classes

 pacemaker.spec | 17 +++++++----------
 1 file changed, 7 insertions(+), 10 deletions(-)
---
diff --git a/pacemaker.spec b/pacemaker.spec
index 2fc4da5..d760645 100644
--- a/pacemaker.spec
+++ b/pacemaker.spec
@@ -230,12 +230,18 @@ install -d $RPM_BUILD_ROOT{/var/run/crm,/var/log}
 	mibdir=%{_datadir}/mibs \
 	DESTDIR=$RPM_BUILD_ROOT
 
-touch $RPM_BUILD_ROOT/var/log/pacemaker.log
+# obsoleted by pkg-config
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/lib*.la
 
 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/pacemaker/tests
+%{__rm} -r $RPM_BUILD_ROOT%{py3_sitescriptdir}/pacemaker/_cts/tests
+%{__rm} -r $RPM_BUILD_ROOT%{py3_sitescriptdir}/pacemaker/_cts/test.py
+%{__rm} -r $RPM_BUILD_ROOT%{py3_sitescriptdir}/pacemaker/_cts/__pycache__/test.*.py*
 # package as %doc
 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/pacemaker/{COPYING,README.markdown,crm_fencing.*,licenses}
 
+touch $RPM_BUILD_ROOT/var/log/pacemaker.log
+
 install -D %{SOURCE1} $RPM_BUILD_ROOT%{systemdtmpfilesdir}/%{name}.conf
 %if %{with corosync}
 install -D %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
@@ -405,15 +411,6 @@ fi
 %attr(755,root,root) %{_libdir}/libpe_rules.so
 %attr(755,root,root) %{_libdir}/libpe_status.so
 %attr(755,root,root) %{_libdir}/libstonithd.so
-%{_libdir}/libcib.la
-%{_libdir}/libcrmcluster.la
-%{_libdir}/libcrmcommon.la
-%{_libdir}/libcrmservice.la
-%{_libdir}/liblrmd.la
-%{_libdir}/libpacemaker.la
-%{_libdir}/libpe_rules.la
-%{_libdir}/libpe_status.la
-%{_libdir}/libstonithd.la
 %{_includedir}/pacemaker
 %{_pkgconfigdir}/libpacemaker.pc
 %{_pkgconfigdir}/pacemaker.pc
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/pacemaker.git/commitdiff/9f29e4803baa093e38a871462f5ef77c58072fe5



More information about the pld-cvs-commit mailing list