SPECS: fltk2.spec - broken symlinks; got this other way around

duddits duddits at pld-linux.org
Tue Mar 24 12:19:05 CET 2009


Author: duddits                      Date: Tue Mar 24 11:19:05 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- broken symlinks; got this other way around

---- Files affected:
SPECS:
   fltk2.spec (1.8 -> 1.9) 

---- Diffs:

================================================================
Index: SPECS/fltk2.spec
diff -u SPECS/fltk2.spec:1.8 SPECS/fltk2.spec:1.9
--- SPECS/fltk2.spec:1.8	Mon Mar 23 23:21:45 2009
+++ SPECS/fltk2.spec	Tue Mar 24 12:18:59 2009
@@ -19,9 +19,9 @@
 Patch1:		%{name}-soname.patch
 URL:		http://www.fltk.org/
 BuildRequires:	autoconf
+BuildRequires:	Mesa-libGLU-devel
 # don't build with cairo support if you're planning to use fltk2 with
 # dillo 2.x
-BuildRequires:	Mesa-libGLU-devel
 %{?with_cairo:BuildRequires:	cairo-devel}
 BuildRequires:	libstdc++-devel
 BuildRequires:	rpmbuild(macros) >= 1.315
@@ -123,10 +123,10 @@
 
 # broken so linking, the idea stolen from
 # https://bugzilla.redhat.com/show_bug.cgi?id=477683
-ln -fs libfltk2.so.2.0 $RPM_BUILD_ROOT%{_libdir}/libfltk2.so
-ln -fs libfltk2_gl.so.2.0 $RPM_BUILD_ROOT%{_libdir}/libfltk2_gl.so
-ln -fs libfltk2_glut.so.2.0 $RPM_BUILD_ROOT%{_libdir}/libfltk2_glut.so
-ln -fs libfltk2_images.so.2.0 $RPM_BUILD_ROOT%{_libdir}/libfltk2_images.so
+ln -fs $RPM_BUILD_ROOT%{_libdir}/libfltk2.so.2.0 libfltk2.so
+ln -fs $RPM_BUILD_ROOT%{_libdir}/libfltk2_gl.so.2.0 libfltk2_gl.so
+ln -fs $RPM_BUILD_ROOT%{_libdir}/libfltk2_glut.so.2.0 libfltk2_glut.so
+ln -fs $RPM_BUILD_ROOT%{_libdir}/libfltk2_images.so.2.0 libfltk2_images.so
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -147,10 +147,10 @@
 %doc documentation/*.{html,gif,jpg}
 %attr(755,root,root) %{_bindir}/fltk2-config
 %attr(755,root,root) %{_bindir}/fluid2
-%attr(755,root,root) %ghost %{_libdir}/libfltk2.so
-%attr(755,root,root) %ghost %{_libdir}/libfltk2_gl.so
-%attr(755,root,root) %ghost %{_libdir}/libfltk2_glut.so
-%attr(755,root,root) %ghost %{_libdir}/libfltk2_images.so
+%attr(755,root,root) %{_libdir}/libfltk2.so
+%attr(755,root,root) %{_libdir}/libfltk2_gl.so
+%attr(755,root,root) %{_libdir}/libfltk2_glut.so
+%attr(755,root,root) %{_libdir}/libfltk2_images.so
 %dir %{_includedir}/fltk
 %dir %{_includedir}/fltk/compat
 %dir %{_includedir}/fltk/compat/FL
@@ -173,6 +173,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.9  2009/03/24 11:18:59  duddits
+- broken symlinks; got this other way around
+
 Revision 1.8  2009/03/23 22:21:45  duddits
 - two patches for broken soname and rpath added
 - taken from: http://mnowak.fedorapeople.org/fltk2/
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/fltk2.spec?r1=1.8&r2=1.9&f=u



More information about the pld-cvs-commit mailing list