]> git.pld-linux.org Git - packages/Xaw3d.git/commitdiff
- added 1.5 -> 1.6 migration trigger (as pretrans, because of dir<>symlink exchange) auto/th/Xaw3d-1_6-4
authorJakub Bogusz <qboosh@pld-linux.org>
Tue, 24 Jan 2012 16:29:42 +0000 (16:29 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    Xaw3d.spec -> 1.60

Xaw3d.spec

index 62b4ac55e3f2cbb639d3b9d988591f7525ac5132..624edde7d7648125bf2dcbe4a0424eede60e1d94 100644 (file)
@@ -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
-Release:       3
+Release:       4
 License:       MIT
 Group:         X11/Libraries
 Source0:       http://xorg.freedesktop.org/releases/individual/lib/lib%{name}-%{version}.tar.bz2
@@ -231,6 +231,14 @@ rm -rf $RPM_BUILD_ROOT
 %post  -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
 
+# migration from Xaw3d 1.5E (where X11/Xaw3d was symlink to ../Xaw3d)
+%pretrans devel
+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
This page took 0.13403 seconds and 4 git commands to generate.