[packages/vde2] - use configuredir

qboosh qboosh at pld-linux.org
Sun Mar 30 10:08:39 CEST 2025


commit abe58e7ba0fb789c050213ff1b990e2ec69acd88
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Mar 30 10:08:33 2025 +0200

    - use configuredir

 vde2.spec | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/vde2.spec b/vde2.spec
index 590f74f..c972aeb 100644
--- a/vde2.spec
+++ b/vde2.spec
@@ -25,7 +25,7 @@ BuildRequires:	openssl-devel
 %{?with_python2:BuildRequires:	python-devel >= 1:2.5}
 %{?with_python3:BuildRequires:	python3-devel >= 1:3.2}
 BuildRequires:	rpm-pythonprov
-BuildRequires:	rpmbuild(macros) >= 1.507
+BuildRequires:	rpmbuild(macros) >= 2.043
 Requires:	%{name}-libs = %{version}-%{release}
 Obsoletes:	vde < 2
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -116,10 +116,11 @@ Pythonowy interfejs do VDE2.
 %{__autoconf}
 %{__autoheader}
 %{__automake}
+%define configuredir ..
 %if %{with python2}
 install -d build-py2
 cd build-py2
-../%configure  \
+%configure  \
 	PYTHON=%{__python} \
 	--disable-silent-rules \
 	--enable-kernel-switch
@@ -132,7 +133,7 @@ cd ..
 %if %{with python3}
 install -d build-py3
 cd build-py3
-../%configure  \
+%configure  \
 	PYTHON=%{__python3} \
 	--disable-silent-rules \
 	--enable-kernel-switch
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/vde2.git/commitdiff/abe58e7ba0fb789c050213ff1b990e2ec69acd88



More information about the pld-cvs-commit mailing list