Add Provides and Obsoletes.

This commit is contained in:
Quentin Spencer 2006-02-18 22:25:28 +00:00
parent 591fc5e741
commit ac059f351f

View File

@ -1,6 +1,6 @@
Name: fftw
Version: 3.1
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Fast Fourier Transform library
Group: System Environment/Libraries
@ -13,6 +13,9 @@ BuildRequires: gcc-gfortran
Requires(post): /sbin/install-info
Requires(preun): /sbin/install-info
Provides: fftw3 = %{version}-%{release}
Obsoletes: fftw3 < 3.1
%description
FFTW is a C subroutine library for computing the Discrete Fourier
Transform (DFT) in one or more dimensions, of both real and complex
@ -24,6 +27,9 @@ Summary: Headers, libraries and docs for the FFTW library
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Provides: fftw3-devel = %{version}-%{release}
Obsoletes: fftw3-devel < 3.1
%description devel
FFTW is a C subroutine library for computing the Discrete Fourier
@ -101,6 +107,9 @@ fi
%{_libdir}/*.so
%changelog
* Mon Feb 13 2006 Quentin Spencer <qspencer@users.sf.net> 3.1-3
- Add Obsoletes and Provides.
* Mon Feb 13 2006 Quentin Spencer <qspencer@users.sf.net> 3.1-2
- Rebuild for Fedora Extras 5.
- Disable static libs.