[packages/zbar] use configuredir

atler atler at pld-linux.org
Thu Mar 20 02:45:54 CET 2025


commit 231031ab082fc943ddaa37205f26697564668f4b
Author: Jan Palus <atler at pld-linux.org>
Date:   Thu Mar 20 00:51:03 2025 +0100

    use configuredir

 zbar.spec | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/zbar.spec b/zbar.spec
index 1c4ec86..fed5784 100644
--- a/zbar.spec
+++ b/zbar.spec
@@ -49,7 +49,7 @@ BuildRequires:	python3-devel >= 1:3.2
 %endif
 BuildRequires:	rpm-perlprov >= 4.1-13
 BuildRequires:	rpm-pythonprov
-BuildRequires:	rpmbuild(macros) >= 1.357
+BuildRequires:	rpmbuild(macros) >= 2.043
 BuildRequires:	sed >= 4.0
 BuildRequires:	xmlto
 BuildRequires:	xorg-lib-libX11-devel
@@ -295,7 +295,8 @@ for pythonbuild in %{?with_python2:python2} %{?with_python3:python3} %{!?with_py
 builddir=build-${pythonbuild}
 install -d "$builddir"
 cd "$builddir"
-../%configure \
+%define	configuredir	..
+%configure \
 	--disable-silent-rules \
 	%{?with_gtk2:--with-gtk=gtk2} \
 	%{!?with_java:--without-java} \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/zbar.git/commitdiff/231031ab082fc943ddaa37205f26697564668f4b



More information about the pld-cvs-commit mailing list