[packages/hivex] use configuredir; rel 4

atler atler at pld-linux.org
Wed Mar 19 13:34:48 CET 2025


commit b99093dcca2118de6e55d87d28a8fade741863e4
Author: Jan Palus <atler at pld-linux.org>
Date:   Wed Mar 19 12:43:20 2025 +0100

    use configuredir; rel 4

 hivex.spec | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/hivex.spec b/hivex.spec
index 29c170f..1c90d22 100644
--- a/hivex.spec
+++ b/hivex.spec
@@ -14,7 +14,7 @@ Summary:	Windows Registry "hive" extraction library
 Summary(pl.UTF-8):	Biblioteka do wydobywania danych z plików "hive" Rejestru Windows
 Name:		hivex
 Version:	1.3.24
-Release:	3
+Release:	4
 License:	LGPL v2.1
 Group:		Libraries
 Source0:	https://download.libguestfs.org/hivex/%{name}-%{version}.tar.gz
@@ -43,7 +43,7 @@ BuildRequires:	python3-devel >= 1:3.2
 %endif
 BuildRequires:	readline-devel
 BuildRequires:	rpm-perlprov
-BuildRequires:	rpmbuild(macros) >= 1.745
+BuildRequires:	rpmbuild(macros) >= 2.043
 %if %{with ruby}
 BuildRequires:	ruby-devel
 BuildRequires:	ruby-rake
@@ -170,7 +170,8 @@ Wiązania języka Ruby do biblioteki hivex.
 %if %{with python3}
 install -d build-py3
 cd build-py3
-../%configure \
+%define	configuredir	..
+%configure \
 	PYTHON="%{__python3}" \
 	--with-python-installdir=%{py3_sitedir} \
 	--disable-ocaml \
@@ -182,6 +183,7 @@ cd build-py3
 cd ..
 %endif
 
+%undefine	configuredir
 %configure \
 	PYTHON="%{__python}" \
 	--disable-silent-rules \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/hivex.git/commitdiff/b99093dcca2118de6e55d87d28a8fade741863e4



More information about the pld-cvs-commit mailing list