[packages/lziprecover] - updated to 1.25, fix configure with recent rpm macros
qboosh
qboosh at pld-linux.org
Sat Mar 1 17:25:55 CET 2025
commit 996ecbeb24915a8d575221b18a9421c83ff0715d
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Mar 1 16:57:27 2025 +0100
- updated to 1.25, fix configure with recent rpm macros
lziprecover-info.patch | 8 ++++----
lziprecover.spec | 14 ++++++++++----
2 files changed, 14 insertions(+), 8 deletions(-)
---
diff --git a/lziprecover.spec b/lziprecover.spec
index 7f0de36..913716f 100644
--- a/lziprecover.spec
+++ b/lziprecover.spec
@@ -1,12 +1,12 @@
Summary: Data recovery tool and decompressor for lzip files
Summary(pl.UTF-8): Narzędzie do odzyskiwania danych i dekompresor dla plików lzip
Name: lziprecover
-Version: 1.24
+Version: 1.25
Release: 1
License: GPL v3+
Group: Applications/Archiving
Source0: http://download.savannah.gnu.org/releases/lzip/lziprecover/%{name}-%{version}.tar.lz
-# Source0-md5: c702dcab7cd765975d2914b8e3e05fd1
+# Source0-md5: d1ff543e4cfc4d6c3aaa49ef1379a903
Patch0: %{name}-info.patch
URL: http://savannah.nongnu.org/projects/lzip/
BuildRequires: libstdc++-devel
@@ -30,10 +30,16 @@ dekompresować pliki oraz testować integralność plików.
%prep
%setup -q
-%patch0 -p1
+%patch -P0 -p1
%build
-%configure
+# not autoconf configure, imitates 2.50+ style invocation (exported variables don't work)
+./configure \
+ CXX="%{__cxx}" \
+ CXXFLAGS="%{rpmcxxflags}" \
+ CPPFLAGS="%{rpmcppflags}" \
+ LDFLAGS="%{rpmldflags}" \
+ --prefix=%{_prefix}
%{__make} all info
diff --git a/lziprecover-info.patch b/lziprecover-info.patch
index d9fd750..fff316b 100644
--- a/lziprecover-info.patch
+++ b/lziprecover-info.patch
@@ -1,8 +1,8 @@
---- lziprecover-1.24/doc/lziprecover.texi.orig 2024-01-30 17:38:40.587067399 +0100
-+++ lziprecover-1.24/doc/lziprecover.texi 2024-01-30 17:44:06.785300231 +0100
+--- lziprecover-1.25/doc/lziprecover.texi.orig 2025-03-01 12:50:14.841874266 +0100
++++ lziprecover-1.25/doc/lziprecover.texi 2025-03-01 12:50:41.151731733 +0100
@@ -9,9 +9,9 @@
- @set UPDATED 20 January 2024
- @set VERSION 1.24
+ @set UPDATED 8 January 2025
+ @set VERSION 1.25
- at dircategory Compression
+ at dircategory File utilities:
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/lziprecover.git/commitdiff/996ecbeb24915a8d575221b18a9421c83ff0715d
More information about the pld-cvs-commit
mailing list