2006-05-04 Brian Cameron <[email protected]>
authorbc99092
Thu, 04 May 2006 23:06:36 +0000
changeset 7212 c009364c9131
parent 7211 49c996aff393
child 7213 de4993616a84
2006-05-04 Brian Cameron <[email protected]> * gnome-mount.spec: Fixed to include relative symlinks
ChangeLog
gnome-mount.spec
--- 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