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

qboosh qboosh at pld-linux.org
Sat Mar 1 17:29:38 CET 2025


commit 3248728b99fcb2760ea14e1f3cedf2e98a2be148
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Mar 1 17:01:31 2025 +0100

    - updated to 1.15, fix configure with recent rpm macros

 lzlib-info.patch |  8 ++++----
 lzlib.spec       | 16 ++++++++++++----
 2 files changed, 16 insertions(+), 8 deletions(-)
---
diff --git a/lzlib.spec b/lzlib.spec
index 08ab0ff..791dcd9 100644
--- a/lzlib.spec
+++ b/lzlib.spec
@@ -1,14 +1,14 @@
 Summary:	Data compression library providing in-memory LZMA compression and decompression
 Summary(pl.UTF-8):	Biblioteka zapewniająca kompresję i dekompresję LZMA dla danych w pamięci
 Name:		lzlib
-Version:	1.14
+Version:	1.15
 Release:	1
 # library license is (2-clause) BSD
 # minilzip license is GPL v2, but it's not packaged
 License:	BSD
 Group:		Libraries
 Source0:	http://download.savannah.gnu.org/releases/lzip/lzlib/%{name}-%{version}.tar.lz
-# Source0-md5:	742f6790b7ff0f9d9f96d1450218b38d
+# Source0-md5:	7f70f0b1f8b4cd0696f6bf394f81b114
 Patch0:		%{name}-info.patch
 URL:		http://savannah.nongnu.org/projects/lzip/
 BuildRequires:	lzip
@@ -54,11 +54,19 @@ Statyczna biblioteka lzlib.
 
 %prep
 %setup -q
-%patch0 -p1
+%patch -P0 -p1
 
 %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} \
+	--libdir=%{_libdir} \
 	--enable-shared
+
 %{__make} all info
 
 %install
diff --git a/lzlib-info.patch b/lzlib-info.patch
index 5b3bf32..7e415ca 100644
--- a/lzlib-info.patch
+++ b/lzlib-info.patch
@@ -1,8 +1,8 @@
---- lzlib-1.14/doc/lzlib.texi.orig	2024-01-30 17:55:17.205001590 +0100
-+++ lzlib-1.14/doc/lzlib.texi	2024-01-30 17:55:45.454848547 +0100
+--- lzlib-1.15/doc/lzlib.texi.orig	2025-03-01 16:59:06.690981495 +0100
++++ lzlib-1.15/doc/lzlib.texi	2025-03-01 16:59:36.684152341 +0100
 @@ -9,9 +9,9 @@
- @set UPDATED 20 January 2024
- @set VERSION 1.14
+ @set UPDATED 9 January 2025
+ @set VERSION 1.15
  
 - at dircategory Compression
 + at dircategory Libraries:
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/lzlib.git/commitdiff/3248728b99fcb2760ea14e1f3cedf2e98a2be148



More information about the pld-cvs-commit mailing list