rpms/gnubversion/F-10 gnubversion.spec,1.1,1.2

Lubomir Rintel lkundrak at fedoraproject.org
Thu Jan 8 00:02:43 UTC 2009


Author: lkundrak

Update of /cvs/pkgs/rpms/gnubversion/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv15137

Modified Files:
	gnubversion.spec 
Log Message:
* Thu Jan 08 2009 Lubomir Rintel <lkundrak at v3.sk> - 0.5-4
- Place the library to libdir



Index: gnubversion.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gnubversion/F-10/gnubversion.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- gnubversion.spec	20 Dec 2008 21:01:00 -0000	1.1
+++ gnubversion.spec	8 Jan 2009 00:02:13 -0000	1.2
@@ -1,6 +1,6 @@
 Name:           gnubversion
 Version:        0.5
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        Gnome Interface to Subversion
 
 Group:          Applications/System
@@ -39,6 +39,11 @@
 rm -rf $RPM_BUILD_ROOT
 make install DESTDIR=$RPM_BUILD_ROOT CPPROG='install -p'
 
+# Place the libraries where they belong, so that
+# we don't rely on rpath uselessly
+mv $RPM_BUILD_ROOT%{_libdir}/%{name}/*.so.* $RPM_BUILD_ROOT%{_libdir}
+rm -rf $RPM_BUILD_ROOT%{_libdir}/%{name}
+
 desktop-file-install                                    \
         --vendor ""                                     \
         --dir $RPM_BUILD_ROOT/%{_datadir}/applications  \
@@ -70,12 +75,14 @@
 
 
 %post
+/sbin/ldconfig
 touch --no-create %{_datadir}/icons/hicolor
 if [ -x %{_bindir}/gtk-update-icon-cache ]; then
   %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
 fi
 
 %postun
+/sbin/ldconfig
 touch --no-create %{_datadir}/icons/hicolor
 if [ -x %{_bindir}/gtk-update-icon-cache ]; then
   %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
@@ -86,9 +93,8 @@
 %defattr(-,root,root,-)
 %doc ChangeLog AUTHORS COPYING NEWS README TODO
 %{_bindir}/gvn-*
-%{_libdir}/%{name}
-%{_libdir}/nautilus/extensions-1.0/*.so.*
-%{_libdir}/nautilus/extensions-1.0/*.so
+%{_libdir}/*.so.*
+%{_libdir}/nautilus/extensions-1.0/*.so*
 %{_datadir}/%{name}
 %{_datadir}/applications/*.desktop
 %{_datadir}/icons/hicolor/??x??/apps/*.png
@@ -96,6 +102,9 @@
 
 
 %changelog
+* Thu Jan 08 2009 Lubomir Rintel <lkundrak at v3.sk> - 0.5-4
+- Place the library to libdir
+
 * Sun Jul 27 2008 Xavier Lamien <lxtnow[at]gmail.com - 0.5-3
 - Remove redundant BR.
 




More information about the fedora-extras-commits mailing list