[packages/libstoragemgmt] use configuredir

atler atler at pld-linux.org
Mon Mar 17 01:56:47 CET 2025


commit 7870a13ece714ff766914eae9c8a9617d870fec4
Author: Jan Palus <atler at pld-linux.org>
Date:   Sun Mar 16 23:55:53 2025 +0100

    use configuredir

 libstoragemgmt.spec | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/libstoragemgmt.spec b/libstoragemgmt.spec
index e35508c..a4858ac 100644
--- a/libstoragemgmt.spec
+++ b/libstoragemgmt.spec
@@ -39,7 +39,7 @@ BuildRequires:	python3-devel >= 1:3.2
 BuildRequires:	python3-pywbem
 BuildRequires:	python3-six
 BuildRequires:	rpm-build >= 4.6
-BuildRequires:	rpmbuild(macros) >= 1.673
+BuildRequires:	rpmbuild(macros) >= 2.043
 BuildRequires:	sqlite3-devel >= 3
 BuildRequires:	systemd-devel
 BuildRequires:	udev-devel
@@ -278,7 +278,8 @@ Ten pakiet zawiera wtyczkę do obsługi macierzy targetd.
 
 install -d build
 cd build
-../%configure \
+%define	configuredir	..
+%configure \
 	--disable-silent-rules \
 	--disable-static \
 	--with-bash-completion-dir=%{bash_compdir} \
@@ -291,7 +292,7 @@ cd ..
 %if %{with python2}
 install -d build-py2
 cd build-py2
-../%configure \
+%configure \
 	--disable-silent-rules \
 	--disable-static \
 	--with-bash-completion-dir=%{bash_compdir} \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libstoragemgmt.git/commitdiff/8e121e2aa630a3183108f884c89729d403ca730f



More information about the pld-cvs-commit mailing list