[gaim-migrate @ 8422]

Sat, 06 Dec 2003 21:04:15 +0000

author
Mark Doliner <markdoliner@pidgin.im>
date
Sat, 06 Dec 2003 21:04:15 +0000
changeset 7777
639792ce396c
parent 7776
01913562f96a
child 7778
b2424e870d41

[gaim-migrate @ 8422]
I think Provides makes more sense than Obsoletes. One thing I'm a bit
concerned about is, if Mandrake releases new gaim and libgaim-remote0
packages, I want RPM to be able to upgrade to them without complaints.
I'm not sure if this will do that.

gaim.spec.in file | annotate | diff | comparison | revisions
--- a/gaim.spec.in	Sat Dec 06 20:02:59 2003 +0000
+++ b/gaim.spec.in	Sat Dec 06 21:04:15 2003 +0000
@@ -6,16 +6,17 @@
 License:    GPL
 Group:      Applications/Internet
 URL:        http://gaim.sourceforge.net/
-Packager:	%{packager}
+Packager:   %{packager}
 Source:     %{name}-%{version}.tar.gz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-root
 
-%if "%{_vendor}" != "MandrakeSoft"
+%if "%{_vendor}" == "MandrakeSoft"
+Requires:   gtk+2.0 >= 2.0.0, libnss3
+BuildRequires: libao-devel, libgtk+2.0_0-devel, gtkspell-devel, libtool, audiofile-devel, pkgconfig, libnss3-devel, perl-devel
+Provides:   libgaim-remote0
+%else
 Requires:   gtk2 >= 2.0.0, mozilla-nss, gtkspell, audiofile, libao
 BuildRequires: libao-devel, gtk2-devel, gtkspell-devel, libtool, audiofile-devel, pkgconfig, mozilla-nss-devel
-%else
-Requires:   gtk+2.0 >= 2.0.0, libnss3
-BuildRequires: libao-devel, libgtk+2.0_0-devel, gtkspell-devel, libtool, audiofile-devel, pkgconfig, libnss3-devel, perl-devel
 %endif
 
 %package devel

mercurial