changeset 16267:359a12f31098

- Fix pkgconfig Requires - Add ldconfig in pre/post scripts for libpurple & finch - Bump Epoch to 2 because Fedora unfortunately forgot to drop the Epoch during the rename :(
author Stu Tomlinson <stu@nosnilmot.com>
date Fri, 20 Apr 2007 00:12:15 +0000
parents a9c75536f0c9
children eae8f64218ba
files pidgin.spec.in
diffstat 1 files changed, 18 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin.spec.in	Fri Apr 20 00:07:35 2007 +0000
+++ b/pidgin.spec.in	Fri Apr 20 00:12:15 2007 +0000
@@ -18,7 +18,7 @@
 Name:       @PACKAGE@
 Version:    %pidginver
 Release:    0%{?beta:.beta%{beta}}
-Epoch:      0
+Epoch:      2
 License:    GPL
 Group:      Applications/Internet
 URL:        http://pidgin.im/
@@ -72,7 +72,8 @@
 %package devel
 Summary:    Development headers, documentation, and libraries for Pidgin
 Group:      Applications/Internet
-Requires:   pkgconfig, pidgin = %{epoch}:%{version}, libpurple-devel = %{epoch}:%{version}
+Requires:   pidgin = %{epoch}:%{version}, libpurple-devel = %{epoch}:%{version}
+Requires:   pkgconfig
 Obsoletes:  gaim-devel
 
 %package -n libpurple
@@ -86,6 +87,7 @@
 Summary:    Development headers, documentation, and libraries for libpurple
 Group:      Applications/Internet
 Requires:   libpurple = %{epoch}:%{version}
+Requires:   pkgconfig
 
 %if 0%{?_with_howl:1} || 0%{?_with_avahi:1}
 %package -n libpurple-bonjour
@@ -118,6 +120,7 @@
 Summary:    Headers etc. for finch stuffs
 Group:      Applications/Internet
 Requires:   finch = %{epoch}:%{version}, libpurple-devel = %{epoch}:%{version}
+Requires:   pkgconfig
 %endif
 
 %description
@@ -295,7 +298,10 @@
         %{_sysconfdir}/gconf/schemas/purple.schemas > /dev/null || :
     killall -HUP gconfd-2 || :
 fi
-/sbin/ldconfig
+
+%post -n libpurple -p /sbin/ldconfig
+
+%post -n finch -p /sbin/ldconfig
 
 %preun
 if [ "$1" -eq 0 -a -n "`which gconftool-2 2>/dev/null`" ]; then
@@ -305,7 +311,9 @@
     killall -HUP gconfd-2 || :
 fi
 
-%postun -p /sbin/ldconfig
+%postun -n libpurple -p /sbin/ldconfig
+
+%postun -n finch -p /sbin/ldconfig
 
 %files -f %{name}-%{version}-pidginplugins
 %defattr(-, root, root)
@@ -425,6 +433,12 @@
 %endif
 
 %changelog
+* Thu Apr 19 2007 Stu Tomlinson <stu@nosnilmot.com>
+- Fix pkgconfig Requires
+- Add ldconfig in pre/post scripts for libpurple & finch
+- Bump Epoch to 2 because Fedora unfortunately forgot to drop the Epoch
+  during the rename :(
+
 * Tue Apr 17 2007 Stu Tomlinson <stu@nosnilmot.com>
 - Add some Obsolete:s to help upgrades
 - Remove explicit Packager: %%{packager} from spec, it was redundant