[packages/libxcrypt] use %configuredir

atler atler at pld-linux.org
Fri Nov 7 11:43:20 CET 2025


commit 0a9d9463a42c4c662978f034d373374325a31b68
Author: Jan Palus <atler at pld-linux.org>
Date:   Fri Nov 7 11:39:22 2025 +0100

    use %configuredir

 libxcrypt.spec | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/libxcrypt.spec b/libxcrypt.spec
index 256c465..9ce730d 100644
--- a/libxcrypt.spec
+++ b/libxcrypt.spec
@@ -22,6 +22,7 @@ BuildRequires:	gcc >= 5:3.2
 BuildRequires:	libltdl-devel
 BuildRequires:	libtool >= 2:2
 BuildRequires:	pkgconfig >= 1:0.27
+BuildRequires:	rpmbuild(macros) >= 2.043
 %if %{with default_crypt}
 Provides:	crypt(blowfish)
 Obsoletes:	glibc-libcrypt < 6:2.37
@@ -117,7 +118,8 @@ dostarczaną przez ten pakiet.
 
 install -d regular
 cd regular
-../%configure \
+%define		configuredir	..
+%configure \
 	--enable-hashes=all \
 %if %{with default_crypt}
 	--disable-obsolete-api \
@@ -137,7 +139,7 @@ cd ..
 %if %{with compat_pkg}
 install -d compat
 cd compat
-../%configure \
+%configure \
 	--enable-hashes=all \
 	--enable-obsolete-api=glibc \
 	--enable-obsolete-api-enosys \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libxcrypt.git/commitdiff/a3b3a1a4c7c2142d44c178b2644b0c9a3edf381a



More information about the pld-cvs-commit mailing list