- If termite packages are disabled, the corresponding gambit-c packages

Provides: and Obsoletes: them
This commit is contained in:
Michel Alexandre Salim 2009-01-29 03:29:38 +00:00
parent e8dc452d6d
commit 2c04788efa

View File

@ -17,7 +17,7 @@
Name: gambit-c Name: gambit-c
Version: 4.3.2 Version: 4.3.2
Release: 1%{?dist} Release: 2%{?dist}
Summary: Gambit-C Scheme programming system Summary: Gambit-C Scheme programming system
Group: Development/Languages Group: Development/Languages
@ -27,6 +27,9 @@ Source0: http://www.iro.umontreal.ca/~gambit/download/gambit/v4.3/source/
%if %{?_with_termite:1}%{!?_with_termite:0} %if %{?_with_termite:1}%{!?_with_termite:0}
Source1: http://termite.googlecode.com/files/termite%{termite_rev}.tar.gz Source1: http://termite.googlecode.com/files/termite%{termite_rev}.tar.gz
%else
Provides: gambit-c-termite = %{version}-%{release}
Obsoletes: gambit-c-termite < %{version}-%{release}
%endif %endif
Source2: gambit-init.el Source2: gambit-init.el
Patch0: gambc-v4_2_8-modtime.patch Patch0: gambc-v4_2_8-modtime.patch
@ -53,6 +56,10 @@ Group: Documentation
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
Requires(post): info Requires(post): info
Requires(preun): info Requires(preun): info
%if %{?_with_termite:0}%{!?_with_termite:1}
Provides: gambit-c-termite-doc = %{version}-%{release}
Obsoletes: gambit-c-termite-doc < %{version}-%{release}
%endif
%description doc %description doc
@ -241,6 +248,10 @@ fi
%changelog %changelog
* Wed Jan 28 2009 Michel Salim <salimma@fedoraproject.org> - 4.3.2-2
- If termite packages are disabled, the corresponding gambit-c packages
Provides: and Obsoletes: them
* Fri Dec 19 2008 Michel Salim <salimma@fedoraproject.org> - 4.3.2-1 * Fri Dec 19 2008 Michel Salim <salimma@fedoraproject.org> - 4.3.2-1
- Update to 4.3.2 - Update to 4.3.2