diff --git a/fftw3.spec b/fftw3.spec index 8ac4124..79e52d7 100644 --- a/fftw3.spec +++ b/fftw3.spec @@ -66,6 +66,8 @@ data, and of arbitrary input size. %package -n libfftw3_threads3 Summary: Discrete Fourier Transform (DFT) C subroutine library Group: Productivity/Scientific/Math +Provides: fftw3-threads = %{version}-%{release} +Obsoletes: fftw3-threads < 3.3 # libfftw3_threads.so does not have a DT_NEEDED entry for fftw symbols, since it # may be used with either libfftw3.so or libfftw3f.so. Hence, manual Requires. #Requires: libfftw3-3 = %%{version} @@ -90,6 +92,8 @@ data, and of arbitrary input size. %package -n libfftw3_omp3 Summary: Discrete Fourier Transform (DFT) C subroutine library Group: Productivity/Scientific/Math +Provides: fftw3-openmp = %{version}-%{release} +Obsoletes: fftw3-openmp < 3.3 # Same as libfftw3_threads.so: manual Requires for fftw3 main lib #Requires: libfftw3-3 = %%{version} @@ -115,6 +119,8 @@ data, and of arbitrary input size. %package -n libfftw3_mpi3 Summary: Discrete Fourier Transform (DFT) C subroutine library Group: Productivity/Scientific/Math +Provides: fftw3-mpi = %{version}-%{release} +Obsoletes: fftw3-mpi < 3.3 # Same as libfftw3_threads.so: manual Requires for fftw3 main lib #Requires: libfftw3-3 = %%{version} #Requires: openmpi @@ -140,8 +146,6 @@ data, and of arbitrary input size. %prep %setup -q -n fftw-%{version} -# %patch -# autoreconf --force --install %build %configure --enable-shared --enable-threads --enable-openmp \ @@ -177,7 +181,7 @@ make %{?_smp_mflags} # remove unneeded files rm -f %{buildroot}%{_libdir}/lib*.*a -# gzip -9nf %{buildroot}%{_infodir}/*.info* +# gzip -9nf %%{buildroot}%%{_infodir}/*.info* rm -f %{buildroot}%{_infodir}/dir # remove Makefiles in doc directory at last