changeset 7777:69b9e1d4f9e2

[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. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sat, 06 Dec 2003 21:04:15 +0000
parents 1389574c5d9b
children 3db18c16f573
files gaim.spec.in
diffstat 1 files changed, 6 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- 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