[packages/cracklib] use configuredir
atler
atler at pld-linux.org
Fri Mar 14 23:24:13 CET 2025
commit 1ff8632f2e60068e5ee3694ac9b1772ab67ede46
Author: Jan Palus <atler at pld-linux.org>
Date: Fri Mar 14 22:43:22 2025 +0100
use configuredir
cracklib.spec | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/cracklib.spec b/cracklib.spec
index 52f2bb4..73b10a4 100644
--- a/cracklib.spec
+++ b/cracklib.spec
@@ -30,7 +30,7 @@ BuildRequires: libtool >= 2:2
%{?with_python3:BuildRequires: python3-devel >= 1:3.2}
%{?with_python3:BuildRequires: python3-modules >= 1:3.2}
BuildRequires: rpm-pythonprov
-BuildRequires: rpmbuild(macros) >= 1.527
+BuildRequires: rpmbuild(macros) >= 2.043
BuildRequires: tar >= 1:1.22
BuildRequires: words
BuildRequires: xz
@@ -191,7 +191,8 @@ Wiązanie Pythona do crackliba.
%if %{with python2}
install -d build-python2
cd build-python2
-../%configure \
+%define configuredir ..
+%configure \
PYTHON=%{__python} \
--disable-static \
--with-default-dict=%{_datadir}/dict/cracklib_dict
@@ -202,7 +203,7 @@ cd ..
install -d build
cd build
-../%configure \
+%configure \
PYTHON=%{__python3} \
%{__enable_disable static_libs static} \
--with-default-dict=%{_datadir}/dict/cracklib_dict \
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/cracklib.git/commitdiff/e12ef9ef38ffb30bb116bdd2d4bc5daeefd6da98
More information about the pld-cvs-commit
mailing list