[packages/Xaw3d] Rel 2. dropped %pretrans for the migration from Xaw3d 1.5E
arekm
arekm at pld-linux.org
Tue Oct 13 00:58:40 CEST 2026
commit 07197bd5e90ece524edadcb9a359af2a6dc66bb5
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Tue Oct 13 00:54:58 2026 +0200
Rel 2. dropped %pretrans for the migration from Xaw3d 1.5E
A sh %pretrans needs /bin/sh in the rpmdb already, so installing into
an empty root failed.
Xaw3d.spec | 10 +---------
1 file changed, 1 insertion(+), 9 deletions(-)
---
diff --git a/Xaw3d.spec b/Xaw3d.spec
index 6d021d3..df4a54f 100644
--- a/Xaw3d.spec
+++ b/Xaw3d.spec
@@ -10,7 +10,7 @@ Summary(tr.UTF-8): 3D X Athena arayüz elemanları (widgets)
Summary(uk.UTF-8): Версія MIT Athena widget set для X
Name: Xaw3d
Version: 1.6.6
-Release: 1
+Release: 2
License: MIT
Group: X11/Libraries
Source0: https://xorg.freedesktop.org/releases/individual/lib/lib%{name}-%{version}.tar.xz
@@ -234,14 +234,6 @@ rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
-%pretrans devel
-# migration from Xaw3d 1.5E (where X11/Xaw3d was symlink to ../Xaw3d)
-if [ -d %{_includedir}/Xaw3d -a -L %{_includedir}/X11/Xaw3d ]; then
- rm -f %{_includedir}/X11/Xaw3d
- mv -f %{_includedir}/Xaw3d %{_includedir}/X11/Xaw3d
- ln -snf X11/Xaw3d %{_includedir}/Xaw3d
-fi
-
%files
%defattr(644,root,root,755)
%doc COPYING ChangeLog README.md src/README.XAW3D
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/Xaw3d.git/commitdiff/07197bd5e90ece524edadcb9a359af2a6dc66bb5
More information about the pld-cvs-commit
mailing list