rpms/rcssserver3d/F-11 rcssserver3d.spec,1.20,1.21

Hedayat Vatankhah hedayat at fedoraproject.org
Thu Jan 21 21:22:13 UTC 2010


Author: hedayat

Update of /cvs/pkgs/rpms/rcssserver3d/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv326

Modified Files:
	rcssserver3d.spec 
Log Message:
Another workaround


Index: rcssserver3d.spec
===================================================================
RCS file: /cvs/pkgs/rpms/rcssserver3d/F-11/rcssserver3d.spec,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -p -r1.20 -r1.21
--- rcssserver3d.spec	21 Jan 2010 21:00:53 -0000	1.20
+++ rcssserver3d.spec	21 Jan 2010 21:22:13 -0000	1.21
@@ -55,15 +55,20 @@ cd build
 export CXXFLAGS="${CXXFLAGS:-%optflags}"
 export CFLAGS="${CFLAGS:-%optflags}"
 cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} -DLIBDIR:PATH=%{_lib} ..
+# apparently there is a problem with installing invalid symbolic links by
+# cmake; so do it myself
+rm -f rcssserver3d/simspark
+touch rcssserver3d/simspark
 make VERBOSE=1 %{?_smp_mflags}
 make pdf
 cp doc/users/user-manual.pdf ../doc/users/
 
 %install
 rm -rf %{buildroot}
-cd build
-ls rcssserver3d/*
-make install DESTDIR=%{buildroot}
+make -C build install DESTDIR=%{buildroot}
+# installing the correct symlink
+rm -f %{buildroot}/%{_bindir}/simspark
+ln -s %{_bindir}/rcssserver3d %{buildroot}/%{_bindir}/simspark
 
 mkdir %{buildroot}/%{_datadir}/pixmaps/
 cp -p data/logos/simspark.png %{buildroot}/%{_datadir}/pixmaps/



More information about the scm-commits mailing list