[packages/hamlib] - use configuredir
qboosh
qboosh at pld-linux.org
Sat Mar 29 22:14:18 CET 2025
commit 9929bebfd1334416cdfd4252bcd43e09275dade5
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Mar 29 19:21:21 2025 +0100
- use configuredir
hamlib.spec | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/hamlib.spec b/hamlib.spec
index 68e3085..12cbe2e 100644
--- a/hamlib.spec
+++ b/hamlib.spec
@@ -41,6 +41,7 @@ BuildRequires: pkgconfig
%{?with_python2:BuildRequires: python-devel >= 2.1}
%{?with_python3:BuildRequires: python3-devel >= 1:3.2}
BuildRequires: readline-devel
+BuildRequires: rpmbuild(macros) >= 2.043
BuildRequires: source-highlight
%{?with_perl:BuildRequires: swig-perl >= 1.3.22}
%{?with_python:BuildRequires: swig-python >= 1.3.22}
@@ -236,10 +237,11 @@ radiem z poziomu skryptów Tcl-a.
%{__autoconf}
%{__autoheader}
%{__automake}
+%define configuredir ..
%if %{with python2}
install -d build-python2
cd build-python2
-../%configure \
+%configure \
PYTHON=%{__python} \
--disable-silent-rules \
--disable-static \
@@ -253,7 +255,7 @@ cd ..
install -d build
cd build
-../%configure \
+%configure \
LUA=/usr/bin/lua5.2 \
PYTHON=%{__python3} \
TCL_VERSION=%{tcl_version} \
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/hamlib.git/commitdiff/8e2c1b2532bc239a77746d5794a682cab7804636
More information about the pld-cvs-commit
mailing list