[packages/lrzip] - rel 3, fix build on x32

baggins baggins at pld-linux.org
Tue Mar 10 01:31:41 CET 2026


commit 53e1667a7f97bb769af7a862fc9873954fdee7f6
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Tue Mar 10 02:31:30 2026 +0100

    - rel 3, fix build on x32

 lrzip.spec | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/lrzip.spec b/lrzip.spec
index 74a86b7..0a4d9b3 100644
--- a/lrzip.spec
+++ b/lrzip.spec
@@ -5,15 +5,12 @@
 %ifnarch %{ix86} %{x8664}
 %undefine	with_asm
 %endif
-%ifarch x32
-%undefine	with_asm
-%endif
 
 Summary:	Long Range ZIP or Lzma RZIP
 Summary(pl.UTF-8):	Long Range ZIP lub Lzma RZIP
 Name:		lrzip
 Version:	0.660
-Release:	2
+Release:	3
 License:	GPL v2
 Group:		Applications/Archiving
 Source0:	https://github.com/ckolivas/lrzip/archive/v%{version}/%{name}-%{version}.tar.gz
@@ -51,7 +48,7 @@ Dekompresja jest zawsze dużo szybsza niż bzip2.
 
 %prep
 %setup -q
-%patch0 -p1
+%patch -P0 -p1
 
 %build
 %{__libtoolize}
@@ -59,6 +56,9 @@ Dekompresja jest zawsze dużo szybsza niż bzip2.
 %{__autoconf}
 %{__autoheader}
 %{__automake}
+%ifnarch %{ix86} %{x8664}
+export CPPFLAGS="%{rpmcppflags} -DNOJIT"
+%endif
 %configure \
 	--disable-silent-rules \
 	--disable-static-bin \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/lrzip.git/commitdiff/53e1667a7f97bb769af7a862fc9873954fdee7f6



More information about the pld-cvs-commit mailing list