From 78c0e38f512820d2023447bc6f137da02fafda0921fe148f7b3d2d935cc3319a Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Wed, 12 Apr 2023 16:04:18 +0000 Subject: [PATCH] - require compress (ncompress package) on openSUSE; it's not - improved latest changelog entry (better explnation) OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libXpm?expand=0&rev=25 --- libXpm.changes | 11 +++++++++++ libXpm.spec | 5 ++++- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/libXpm.changes b/libXpm.changes index 0599982..7ea195f 100644 --- a/libXpm.changes +++ b/libXpm.changes @@ -1,7 +1,18 @@ +------------------------------------------------------------------- +Wed Apr 12 16:01:36 UTC 2023 - Stefan Dirsch + +- require compress (ncompress package) on openSUSE; it's not + supported on SLE + ------------------------------------------------------------------- Wed Apr 12 13:39:54 UTC 2023 - Fabian Vogt - Drop n_no-compress-on-sle.patch and set XPM_PATH_COMPRESS instead + (xpmPipeThrough function returns NULL when the command is not + available; so same result as with the patch applied; that the + child process for executing 'compress' returns with exit(1) + doesn't matter much; it might even be useful to see the error + message ...) ------------------------------------------------------------------- Wed Apr 12 11:59:25 UTC 2023 - Stefan Dirsch diff --git a/libXpm.spec b/libXpm.spec index 2193067..4d847ec 100644 --- a/libXpm.spec +++ b/libXpm.spec @@ -51,9 +51,12 @@ storing/retrieving X pixmaps to/from files. Summary: X Pixmap image file format library Group: System/Libraries # Invokes 'gzip' and 'uncompress' at runtime. -# 'compress' is not available on SLE and unlikely used. Requires: /usr/bin/gzip Requires: /usr/bin/uncompress +# 'compress' (ncompress package) is not available on SLE +%if 0%{?is_opensuse} +Requires: /usr/bin/compress +%endif %description -n %{lname} libXpm facilitates working with XPM (X PixMap), a format for