[packages/pdlzip] - updated to 1.14, fix configure with recent rpm macros

qboosh qboosh at pld-linux.org
Sat Mar 1 17:37:35 CET 2025


commit 8a8f996a1049732c07f58c5fdb0c1b90fcfe999b
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Mar 1 17:10:12 2025 +0100

    - updated to 1.14, fix configure with recent rpm macros

 pdlzip.spec | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)
---
diff --git a/pdlzip.spec b/pdlzip.spec
index 3faeddc..470d0a7 100644
--- a/pdlzip.spec
+++ b/pdlzip.spec
@@ -1,12 +1,12 @@
 Summary:	Public domain version of lzip
 Summary(pl.UTF-8):	Wersja lzipa wydana jako Public Domain
 Name:		pdlzip
-Version:	1.13
+Version:	1.14
 Release:	1
 License:	Public Domain
 Group:		Applications/Archiving
 Source0:	http://download.savannah.gnu.org/releases/lzip/pdlzip/%{name}-%{version}.tar.lz
-# Source0-md5:	30e85bb27bacfa26e1cc1d16dd6f6f09
+# Source0-md5:	fd039a8ae5a1f0d71f16e30ec52eca7a
 URL:		http://savannah.nongnu.org/projects/lzip/
 BuildRequires:	lzip
 BuildRequires:	tar >= 1:1.22
@@ -32,7 +32,14 @@ wersja kompresora lzip wydana jako "public domain".
 %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/pdlzip.git/commitdiff/8a8f996a1049732c07f58c5fdb0c1b90fcfe999b



More information about the pld-cvs-commit mailing list