[packages/lunzip] - updated to 1.15, fix configure with recent rpm macros

qboosh qboosh at pld-linux.org
Sat Mar 1 13:34:23 CET 2025


commit 15b8383584256a038e2d62852e89c04f73fee3d4
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Mar 1 12:44:52 2025 +0100

    - updated to 1.15, fix configure with recent rpm macros

 lunzip.spec | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)
---
diff --git a/lunzip.spec b/lunzip.spec
index 9bae89e..1780d3c 100644
--- a/lunzip.spec
+++ b/lunzip.spec
@@ -1,12 +1,12 @@
 Summary:	lzip file decompressor
 Summary(pl.UTF-8):	Dekompresor plików w formacie lzip
 Name:		lunzip
-Version:	1.14
+Version:	1.15
 Release:	1
 License:	GPL v3+
 Group:		Applications/Archiving
 Source0:	http://download.savannah.gnu.org/releases/lzip/lunzip/%{name}-%{version}.tar.lz
-# Source0-md5:	9e67c3cc7ca71a11ea0b3ccdff737b14
+# Source0-md5:	5011d8ecafbc243bd48581cb2841bbea
 URL:		http://savannah.nongnu.org/projects/lzip/
 BuildRequires:	lzip
 BuildRequires:	tar >= 1:1.22
@@ -29,7 +29,13 @@ nowszymi wersjami.
 %setup -q
 
 %build
-%configure
+# not autoconf configure, imitates 2.50+ style invocation (exported variables don't work)
+./configure \
+	CC="%{__cc}" \
+	CFLAGS="%{rpmcflags}" \
+	CPPFLAGS="%{rpmcppflags}" \
+	LDFLAGS="%{rpmldflags}" \
+	--prefix=%{_prefix}
 %{__make}
 
 %install
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/lunzip.git/commitdiff/15b8383584256a038e2d62852e89c04f73fee3d4



More information about the pld-cvs-commit mailing list