[packages/xcb-proto] use configuredir
atler
atler at pld-linux.org
Fri Mar 21 14:30:42 CET 2025
commit f08848067c7f0ce72eff480e62cdaa0012de27db
Author: Jan Palus <atler at pld-linux.org>
Date: Fri Mar 21 13:39:37 2025 +0100
use configuredir
xcb-proto.spec | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/xcb-proto.spec b/xcb-proto.spec
index a3500e7..57a25df 100644
--- a/xcb-proto.spec
+++ b/xcb-proto.spec
@@ -26,7 +26,7 @@ BuildRequires: python3 >= 1:3.2
BuildRequires: python3-modules >= 1:3.2
%endif
BuildRequires: rpm-pythonprov
-BuildRequires: rpmbuild(macros) >= 1.752
+BuildRequires: rpmbuild(macros) >= 2.043
BuildRequires: tar >= 1:1.22
BuildRequires: xz
%if %{without python3}
@@ -87,11 +87,12 @@ Moduł xcbgen dla Pythona 3.
%{__autoconf}
%{__automake}
+%define configuredir ..
%if %{with python3}
install -d build3
cd build3
-PYTHON=%{__python3} \
-../%configure
+%configure \
+ PYTHON=%{__python3}
%{__make}
cd ..
%endif
@@ -99,8 +100,8 @@ cd ..
%if %{with python2}
install -d build2
cd build2
-PYTHON=%{__python} \
-../%configure
+%configure
+ PYTHON=%{__python}
%{__make}
cd ..
%endif
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/xcb-proto.git/commitdiff/f08848067c7f0ce72eff480e62cdaa0012de27db
More information about the pld-cvs-commit
mailing list