rpms/glib2/devel glib2.spec,1.210,1.211

Matthias Clasen mclasen at fedoraproject.org
Mon Jul 6 05:14:30 UTC 2009


Author: mclasen

Update of /cvs/pkgs/rpms/glib2/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv14710

Modified Files:
	glib2.spec 
Log Message:

use --with-runtime-libdir



Index: glib2.spec
===================================================================
RCS file: /cvs/pkgs/rpms/glib2/devel/glib2.spec,v
retrieving revision 1.210
retrieving revision 1.211
diff -u -p -r1.210 -r1.211
--- glib2.spec	6 Jul 2009 04:47:56 -0000	1.210
+++ glib2.spec	6 Jul 2009 05:14:30 -0000	1.211
@@ -3,7 +3,7 @@
 Summary: A library of handy utility functions
 Name: glib2
 Version: 2.21.3
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: LGPLv2+
 Group: System Environment/Libraries
 URL: http://www.gtk.org
@@ -52,7 +52,7 @@ of version 2 of the GLib library.
 %setup -q -n glib-%{version}
 
 %build
-%configure --disable-gtk-doc --enable-static
+%configure --disable-gtk-doc --enable-static --with-runtime-libdir=../../%{_lib}
 make %{?_smp_mflags}
 
 %install
@@ -60,16 +60,6 @@ rm -rf $RPM_BUILD_ROOT
 
 make install DESTDIR=$RPM_BUILD_ROOT
 
-# we build into /usr/lib, but we want the libraries (but not
-# the devel stuff) in /lib
-./mkinstalldirs $RPM_BUILD_ROOT/%{_lib}
-pushd $RPM_BUILD_ROOT%{_libdir}
-for name in glib gobject gmodule gthread gio; do
-  mv lib${name}-2.0.so.* ../../%{_lib}
-  ln -sf ../../%{_lib}/lib${name}-2.0.so.*.* lib${name}-2.0.so
-done
-popd
-
 ## glib2.sh and glib2.csh
 ./mkinstalldirs $RPM_BUILD_ROOT%{_sysconfdir}/profile.d
 install -p -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/profile.d
@@ -117,6 +107,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/lib*.a
 
 %changelog
+* Mon Jul  6 2009 Matthias Clasen <mclasen at redhat.com> - 2.21.3-2
+- Use --with-runtime-libdir
+
 * Mon Jul  6 2009 Matthias Clasen <mclasen at redhat.com> - 2.21.3-1
 - Update to 2.21.3
 




More information about the fedora-extras-commits mailing list