commit 708d81c94aebdc2b9303844bbfd5e1a95788db99
Author: Jakub Bogusz <[email protected]>
Date: Fri Apr 23 19:44:21 2021 +0200
- document what default means
shiboken.spec | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/shiboken.spec b/shiboken.spec
index 8431bb1..dcda1db 100644
--- a/shiboken.spec
+++ b/shiboken.spec
@@ -125,11 +125,12 @@ cd ..
%install
rm -rf $RPM_BUILD_ROOT
-# version installed as last will be default
+# version installed as last will be default (it covers default PYTHON_SUFFIX
in cmake files and .pc symlink)
for pyver in %{?with_python3_default:%{?with_python2:py2}}
%{?with_python3:py3} %{!?with_python3_default:%{?with_python2:py2}} ; do
%{__make} -C build-${pyver} install \
DESTDIR=$RPM_BUILD_ROOT
+
%{__mv} $RPM_BUILD_ROOT%{_pkgconfigdir}/shiboken.pc
$RPM_BUILD_ROOT%{_pkgconfigdir}/shiboken-${pyver}.pc
ln -sf shiboken-${pyver}.pc $RPM_BUILD_ROOT%{_pkgconfigdir}/shiboken.pc
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/shiboken.git/commitdiff/708d81c94aebdc2b9303844bbfd5e1a95788db99
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit