[packages/zbar] define configuredir once

atler atler at pld-linux.org
Thu Mar 20 22:39:00 CET 2025


commit caf3f00352d27ff9db94ce5dc615cf4773c6e9cb
Author: Jan Palus <atler at pld-linux.org>
Date:   Thu Mar 20 22:36:24 2025 +0100

    define configuredir once

 zbar.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/zbar.spec b/zbar.spec
index 352df84..98ae995 100644
--- a/zbar.spec
+++ b/zbar.spec
@@ -291,11 +291,11 @@ Wtyczka ZBar dla przeglądarek WWW.
 # for ">>" in nested template usage
 CXXFLAGS="%{rpmcxxflags} -std=c++11"
 
+%define	configuredir	..
 for pythonbuild in %{?with_python2:python2} %{?with_python3:python3} %{!?with_python2:%{!?with_python3:no}} ; do
 builddir=build-${pythonbuild}
 install -d "$builddir"
 cd "$builddir"
-%define	configuredir	..
 %configure \
 	--disable-silent-rules \
 	%{?with_gtk2:--with-gtk=gtk2} \
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list