[packages/lzip] pass flags via configure args; rel 2
atler
atler at pld-linux.org
Fri Feb 7 03:25:43 CET 2025
commit 7016d229a1ce10672279091922d8649506b1d751
Author: Jan Palus <atler at pld-linux.org>
Date: Fri Feb 7 01:36:00 2025 +0100
pass flags via configure args; rel 2
this hand crafted configure script ignores env vars and picks only
those passed as arguments. pass them manually like in old %configure
macro
lzip.spec | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/lzip.spec b/lzip.spec
index ecf7faf..0328d6e 100644
--- a/lzip.spec
+++ b/lzip.spec
@@ -2,7 +2,7 @@ Summary: LZMA file compressor
Summary(pl.UTF-8): Kompresor plików oparty na algorytmie LZMA
Name: lzip
Version: 1.25
-Release: 1
+Release: 2
License: GPL v3+
Group: Applications/Archiving
Source0: https://download.savannah.gnu.org/releases/lzip/%{name}-%{version}.tar.gz
@@ -38,7 +38,12 @@ zależności od wykorzystania bitów.
%patch -P0 -p1
%build
-%configure
+%configure \
+ CXX="%{__cxx}" \
+ CXXFLAGS="%{rpmcxxflags}" \
+ CPPFLAGS="%{rpmcppflags}" \
+ LDFLAGS="%{rpmldflags}"
+
%{__make} all info
%install
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/lzip.git/commitdiff/7016d229a1ce10672279091922d8649506b1d751
More information about the pld-cvs-commit
mailing list