commit 248515cca42ab1d28eb79d54ee1676dce35b8ba3
Author: Jakub Bogusz <[email protected]>
Date:   Tue Jan 24 18:05:16 2023 +0100

    - explicitly set compression tool paths, do not rely on ncompress at build 
time; release 2

 xorg-lib-libXpm.spec | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/xorg-lib-libXpm.spec b/xorg-lib-libXpm.spec
index ee03fbb..2924b2f 100644
--- a/xorg-lib-libXpm.spec
+++ b/xorg-lib-libXpm.spec
@@ -2,7 +2,7 @@ Summary:        X Pixmap library
 Summary(pl.UTF-8):     Biblioteka X Pixmap
 Name:          xorg-lib-libXpm
 Version:       3.5.15
-Release:       1
+Release:       2
 License:       MIT
 Group:         X11/Libraries
 Source0:       
https://xorg.freedesktop.org/releases/individual/lib/libXpm-%{version}.tar.xz
@@ -22,6 +22,8 @@ BuildRequires:        xorg-proto-xextproto-devel
 BuildRequires: xorg-proto-xproto-devel >= 7.0.17
 BuildRequires: xorg-util-util-macros >= 1.8
 BuildRequires: xz
+Suggests:      gzip
+Suggests:      ncompress
 Obsoletes:     libXpm < 1:3.5.2
 Obsoletes:     xpm < 1.3.4
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -93,7 +95,11 @@ Programy użytkowe dla X Pixmap.
 %{__autoconf}
 %{__autoheader}
 %{__automake}
-%configure
+%configure \
+       XPM_PATH_COMPRESS=/usr/bin/compress \
+       XPM_PATH_GZIP=/usr/bin/gzip \
+       XPM_PATH_UNCOMPRESS=/usr/bin/uncompress
+
 %{__make}
 
 %install
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/xorg-lib-libXpm.git/commitdiff/248515cca42ab1d28eb79d54ee1676dce35b8ba3

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to