[packages/libical] - that's libical-glib build that is racy; fixed install without python2

qboosh qboosh at pld-linux.org
Fri Apr 11 20:14:15 CEST 2025


commit 7b4a8346ef75f41b14e1fc4a77422d50c5f25d6a
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Fri Apr 11 19:59:37 2025 +0200

    - that's libical-glib build that is racy; fixed install without python2

 libical.spec | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/libical.spec b/libical.spec
index 830f359..c55c207 100644
--- a/libical.spec
+++ b/libical.spec
@@ -245,7 +245,7 @@ cd build-py2
 	-DPYTHON_EXECUTABLE=%{__python} \
 	-DPY_SITEDIR=%{py_sitedir}
 
-%{__make} -j1
+%{__make}
 cd ..
 %endif
 
@@ -260,13 +260,17 @@ cd build
 	-DPYTHON_EXECUTABLE=%{__python3} \
 	-DPY_SITEDIR=%{py3_sitedir}
 
+%{__make} -j1
+
 %{?with_apidocs:%{__make} -j1 docs}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
+%if %{with python2}
 %{__make} -C build-py2 install \
 	DESTDIR=$RPM_BUILD_ROOT
+%endif
 
 %{__make} -C build install \
 	DESTDIR=$RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libical.git/commitdiff/7b4a8346ef75f41b14e1fc4a77422d50c5f25d6a



More information about the pld-cvs-commit mailing list