[packages/xorg-lib-libX11] Rel 2. dropped %pretrans for the upgrade from Ac
arekm
arekm at pld-linux.org
Tue Oct 13 00:58:02 CEST 2026
commit 8d9e998fdc80c127f75810cc3580543ae517f8b7
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Tue Oct 13 00:54:58 2026 +0200
Rel 2. dropped %pretrans for the upgrade from Ac
A sh %pretrans needs /bin/sh in the rpmdb already, so installing into
an empty root failed.
xorg-lib-libX11.spec | 10 +---------
1 file changed, 1 insertion(+), 9 deletions(-)
---
diff --git a/xorg-lib-libX11.spec b/xorg-lib-libX11.spec
index 3cd5b50..639fc14 100644
--- a/xorg-lib-libX11.spec
+++ b/xorg-lib-libX11.spec
@@ -6,7 +6,7 @@ Summary: Core X11 protocol client library
Summary(pl.UTF-8): Podstawowa biblioteka kliencka protokołu X11
Name: xorg-lib-libX11
Version: 1.8.13
-Release: 1
+Release: 2
License: MIT
Group: X11/Libraries
Source0: https://xorg.freedesktop.org/archive/individual/lib/libX11-%{version}.tar.xz
@@ -145,14 +145,6 @@ rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
-%pretrans
-# this needs to be a dir
-if [ -L %{_libdir}/X11 ]; then
- umask 022
- mv -f %{_libdir}/X11{,.rpmsave}
- mkdir %{_libdir}/X11
-fi
-
%files
%defattr(644,root,root,755)
%{_libdir}/libX11.so.*.*.*
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/xorg-lib-libX11.git/commitdiff/8d9e998fdc80c127f75810cc3580543ae517f8b7
More information about the pld-cvs-commit
mailing list