[packages/plzip] - updated to 1.12, fix configure with recent rpm macros

qboosh qboosh at pld-linux.org
Sat Mar 1 17:42:03 CET 2025


commit 870c0942b3c87bc0b7ab401b4a65663c4194a0aa
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Mar 1 17:15:03 2025 +0100

    - updated to 1.12, fix configure with recent rpm macros

 plzip-info.patch |  8 ++++----
 plzip.spec       | 14 ++++++++++----
 2 files changed, 14 insertions(+), 8 deletions(-)
---
diff --git a/plzip.spec b/plzip.spec
index 0b58f78..a2aab55 100644
--- a/plzip.spec
+++ b/plzip.spec
@@ -1,12 +1,12 @@
 Summary:	Parallel LZMA file compressor
 Summary(pl.UTF-8):	Równoległy kompresor plików oparty na algorytmie LZMA
 Name:		plzip
-Version:	1.11
+Version:	1.12
 Release:	1
 License:	GPL v3+
 Group:		Applications/Archiving
 Source0:	http://download.savannah.gnu.org/releases/lzip/plzip/%{name}-%{version}.tar.lz
-# Source0-md5:	23c3fa3eb0b2755bd474ba7b583e2a5a
+# Source0-md5:	24567d9aaf0db7e91395f742d06636f6
 Patch0:		%{name}-info.patch
 URL:		http://savannah.nongnu.org/projects/lzip/
 BuildRequires:	libstdc++-devel
@@ -39,10 +39,16 @@ MB lepiej używać lzipa.
 
 %prep
 %setup -q
-%patch0 -p1
+%patch -P0 -p1
 
 %build
-%configure
+./configure \
+	CXX="%{__cxx}" \
+	CXXFLAGS="%{rpmcxxflags}" \
+	CPPFLAGS="%{rpmcppflags}" \
+	LDFLAGS="%{rpmldflags}" \
+	--prefix=%{_prefix}
+
 %{__make} all info
 
 %install
diff --git a/plzip-info.patch b/plzip-info.patch
index 545c0da..429c832 100644
--- a/plzip-info.patch
+++ b/plzip-info.patch
@@ -1,8 +1,8 @@
---- plzip-1.11/doc/plzip.texi.orig	2024-01-30 18:18:49.134019180 +0100
-+++ plzip-1.11/doc/plzip.texi	2024-01-30 18:19:28.637138507 +0100
+--- plzip-1.12/doc/plzip.texi.orig	2025-03-01 17:11:59.133463481 +0100
++++ plzip-1.12/doc/plzip.texi	2025-03-01 17:12:32.629948682 +0100
 @@ -9,9 +9,9 @@
- @set UPDATED 21 January 2024
- @set VERSION 1.11
+ @set UPDATED 9 January 2025
+ @set VERSION 1.12
  
 - at dircategory Compression
 + at dircategory File utilities:
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/plzip.git/commitdiff/870c0942b3c87bc0b7ab401b4a65663c4194a0aa



More information about the pld-cvs-commit mailing list