rpms/amaya/devel amaya.spec,1.9,1.10

Ralf Corsépius (corsepiu) fedora-extras-commits at redhat.com
Mon May 30 14:24:36 UTC 2005


Author: corsepiu

Update of /cvs/extras/rpms/amaya/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv21802

Modified Files:
	amaya.spec 
Log Message:
Fixup symlinks.


Index: amaya.spec
===================================================================
RCS file: /cvs/extras/rpms/amaya/devel/amaya.spec,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- amaya.spec	30 May 2005 10:14:41 -0000	1.9
+++ amaya.spec	30 May 2005 14:24:34 -0000	1.10
@@ -57,9 +57,11 @@
  install
 
 # fix up symlinks
-rm -f $RPM_BUILD_ROOT%{_bindir}/amaya*
-ln -s %{_libdir}/Amaya/gtk/bin/amaya $RPM_BUILD_ROOT%{_bindir}/amaya-gtk
-ln -s amaya-gtk $RPM_BUILD_ROOT%{_bindir}/amaya
+pushd ${RPM_BUILD_ROOT}%{_bindir} >/dev/null
+rm -f amaya*
+ln -s %{_libdir}/Amaya-*/gtk/bin/amaya amaya-gtk
+ln -s amaya-gtk amaya
+popd >/dev/null
 
 # Menu entry
 cat << EOF > %{name}.desktop
@@ -96,6 +98,7 @@
 
 %changelog
 * Mon May 30 2005 Ralf Corsepius <ralf[AT]links2linux.de>
+- Fixup symlinks.
 - Acknowledge RPM_OPT_FLAGS.
 - Remove -D__cplusplus from configure.
 - Cleanup installation dirs.




More information about the fedora-extras-commits mailing list