[packages/tarlz] - fixed configure with recent rpm macros
qboosh
qboosh at pld-linux.org
Sat Mar 1 17:43:50 CET 2025
commit 2db81861acb8390928149423aa701b7564c8157f
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Mar 1 17:16:59 2025 +0100
- fixed configure with recent rpm macros
tarlz.spec | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
---
diff --git a/tarlz.spec b/tarlz.spec
index cfec0bc..16a72d6 100644
--- a/tarlz.spec
+++ b/tarlz.spec
@@ -46,7 +46,13 @@ dołączać pliki na końcu takich skompresowanych archiwów.
%patch -P0 -p1
%build
-%configure
+# not autoconf configure, imitates 2.50+ style invocation (exported variables don't work)
+./configure \
+ CXX="%{__cxx}" \
+ CXXFLAGS="%{rpmcxxflags}" \
+ CPPFLAGS="%{rpmcppflags}" \
+ LDFLAGS="%{rpmldflags}" \
+ --prefix=%{_prefix}
%{__make} all info
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/tarlz.git/commitdiff/2db81861acb8390928149423aa701b7564c8157f
More information about the pld-cvs-commit
mailing list