2006-05-04 Brian Cameron <
[email protected]>
* gnome-mount.spec: Fixed to include relative symlinks
--- a/ChangeLog Thu May 04 21:08:45 2006 +0000
+++ b/ChangeLog Thu May 04 23:06:36 2006 +0000
@@ -1,3 +1,7 @@
+2006-05-04 Brian Cameron <[email protected]>
+
+ * gnome-mount.spec: Fixed to include relative symlinks
+
2006-05-04 Laszlo (Laca) Peter <[email protected]>
* pyspi.spec: bump to 0.5.4
--- a/gnome-mount.spec Thu May 04 21:08:45 2006 +0000
+++ b/gnome-mount.spec Thu May 04 23:06:36 2006 +0000
@@ -73,6 +73,15 @@
make install DESTDIR=$RPM_BUILD_ROOT
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
+cd $RPM_BUILD_ROOT%{_bindir}
+
+# Build symlinks as relative instead of full path.
+#
+rm -rf gnome-umount
+rm -fr gnome-eject
+ln -s gnome-mount gnome-umount
+ln -s gnome-mount gnome-eject
+
%clean
rm -rf $RPM_BUILD_ROOT