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

qboosh qboosh at pld-linux.org
Fri Feb 28 21:59:06 CET 2025


commit 902f2a76c7e54ad98f422ad1f49972b59359f786
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Fri Feb 28 21:55:21 2025 +0100

    - updated to 1.15, fix configure with recent rpm macros

 clzip-info.patch |  8 ++++----
 clzip.spec       | 12 +++++++++---
 2 files changed, 13 insertions(+), 7 deletions(-)
---
diff --git a/clzip.spec b/clzip.spec
index 0e911b2..52de65f 100644
--- a/clzip.spec
+++ b/clzip.spec
@@ -1,12 +1,12 @@
 Summary:	LZMA file compressor (C implementation)
 Summary(pl.UTF-8):	Kompresor plików oparty na algorytmie LZMA (implementacja w C)
 Name:		clzip
-Version:	1.14
+Version:	1.15
 Release:	1
 License:	GPL v3+
 Group:		Applications/Archiving
 Source0:	http://download.savannah.gnu.org/releases/lzip/clzip/%{name}-%{version}.tar.lz
-# Source0-md5:	e03cba196a8c0780e6c2f8cc439c09eb
+# Source0-md5:	7ce24adf9bcf7ed2ffdba53c0f47c36e
 Patch0:		%{name}-info.patch
 URL:		http://savannah.nongnu.org/projects/lzip/
 BuildRequires:	lzip
@@ -31,7 +31,13 @@ systemów wbudowanych lub nie mających kompilatora C++.
 %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}
 
 %{__make} all info
 
diff --git a/clzip-info.patch b/clzip-info.patch
index 1aa6062..5663ede 100644
--- a/clzip-info.patch
+++ b/clzip-info.patch
@@ -1,8 +1,8 @@
---- clzip-1.14/doc/clzip.texi.orig	2024-01-30 17:05:29.224522201 +0100
-+++ clzip-1.14/doc/clzip.texi	2024-01-30 17:06:40.410803219 +0100
+--- clzip-1.15/doc/clzip.texi.orig	2025-02-28 21:48:22.031695186 +0100
++++ clzip-1.15/doc/clzip.texi	2025-02-28 21:51:17.487411327 +0100
 @@ -9,9 +9,9 @@
- @set UPDATED 22 January 2024
- @set VERSION 1.14
+ @set UPDATED 10 January 2025
+ @set VERSION 1.15
  
 - at dircategory Compression
 + at dircategory File utilities:
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/clzip.git/commitdiff/902f2a76c7e54ad98f422ad1f49972b59359f786



More information about the pld-cvs-commit mailing list