Compare commits

...

No commits in common. "c8s" and "c9s" have entirely different histories.
c8s ... c9s

4 changed files with 76 additions and 46 deletions

11
.gitignore vendored
View File

@ -1,2 +1,11 @@
SOURCES/fftw-3.3.5.tar.gz fftw-3.2.2.tar.gz
/fftw-3.3.tar.gz
/fftw-3.3.1.tar.gz
/fftw-3.3.2.tar.gz
<<<<<<< HEAD
=======
/fftw-3.3.3.tar.gz
>>>>>>> master
/fftw-3.3.4.tar.gz
/fftw-3.3.5.tar.gz /fftw-3.3.5.tar.gz
/fftw-3.3.8.tar.gz

103
fftw.spec
View File

@ -13,10 +13,9 @@
Name: fftw Name: fftw
Version: 3.3.5 Version: 3.3.8
Release: 11%{?dist} Release: 12%{?dist}
Summary: A Fast Fourier Transform library Summary: A Fast Fourier Transform library
Group: System Environment/Libraries
License: GPLv2+ License: GPLv2+
URL: http://www.fftw.org URL: http://www.fftw.org
Source0: http://www.fftw.org/fftw-%{version}.tar.gz Source0: http://www.fftw.org/fftw-%{version}.tar.gz
@ -43,9 +42,10 @@ BuildRequires: nss-myhostname
%if %{with openmpi} %if %{with openmpi}
BuildRequires: openmpi-devel BuildRequires: openmpi-devel
%endif %endif
%if %{with mpich} || %{with openmpi}
Requires(post): info BuildRequires: environment-modules
Requires(preun): info %endif
BuildRequires: make
%description %description
@ -55,7 +55,6 @@ data, and of arbitrary input size.
%package libs %package libs
Summary: FFTW run-time library Summary: FFTW run-time library
Group: System Environment/Libraries
Provides: fftw3 = %{version}-%{release} Provides: fftw3 = %{version}-%{release}
# Libs rearranged in 3.3.1-2 # Libs rearranged in 3.3.1-2
Obsoletes: fftw-libs-threads < %{version}-%{release} Obsoletes: fftw-libs-threads < %{version}-%{release}
@ -76,7 +75,6 @@ run-time libraries.
%package devel %package devel
Summary: Headers, libraries and docs for the FFTW library Summary: Headers, libraries and docs for the FFTW library
Group: Development/Libraries
Requires: pkgconfig Requires: pkgconfig
Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: %{name}-libs%{?_isa} = %{version}-%{release} Requires: %{name}-libs%{?_isa} = %{version}-%{release}
@ -93,21 +91,18 @@ develop programs using the FFTW fast Fourier transform library.
%package libs-double %package libs-double
Summary: FFTW library, double precision Summary: FFTW library, double precision
Group: Development/Libraries
%description libs-double %description libs-double
This package contains the FFTW library compiled in double precision. This package contains the FFTW library compiled in double precision.
%package libs-single %package libs-single
Summary: FFTW library, single precision Summary: FFTW library, single precision
Group: Development/Libraries
%description libs-single %description libs-single
This package contains the FFTW library compiled in single precision. This package contains the FFTW library compiled in single precision.
%package libs-long %package libs-long
Summary: FFTW library, long double precision Summary: FFTW library, long double precision
Group: Development/Libraries
%description libs-long %description libs-long
This package contains the FFTW library compiled in long double This package contains the FFTW library compiled in long double
@ -116,7 +111,6 @@ precision.
%if %{quad} %if %{quad}
%package libs-quad %package libs-quad
Summary: FFTW library, quadruple Summary: FFTW library, quadruple
Group: Development/Libraries
%description libs-quad %description libs-quad
This package contains the FFTW library compiled in quadruple This package contains the FFTW library compiled in quadruple
@ -125,7 +119,6 @@ precision.
%package static %package static
Summary: Static versions of the FFTW libraries Summary: Static versions of the FFTW libraries
Group: Development/Libraries
Requires: %{name}-devel%{?_isa} = %{version}-%{release} Requires: %{name}-devel%{?_isa} = %{version}-%{release}
Provides: fftw3-static%{?_isa} = %{version}-%{release} Provides: fftw3-static%{?_isa} = %{version}-%{release}
Provides: fftw3-static = %{version}-%{release} Provides: fftw3-static = %{version}-%{release}
@ -137,7 +130,6 @@ the FFTW fast Fourier transform library.
%if %{with mpich} %if %{with mpich}
%package mpich-libs %package mpich-libs
Summary: FFTW MPICH run-time library Summary: FFTW MPICH run-time library
Group: System Environment/Libraries
Provides: fftw3-mpich = %{version}-%{release} Provides: fftw3-mpich = %{version}-%{release}
# Pull in the actual libraries # Pull in the actual libraries
@ -152,7 +144,6 @@ MPICH run-time libraries.
%package mpich-devel %package mpich-devel
Summary: Headers, libraries and docs for the FFTW MPICH library Summary: Headers, libraries and docs for the FFTW MPICH library
Group: Development/Libraries
Requires: mpich-devel Requires: mpich-devel
Requires: pkgconfig Requires: pkgconfig
Requires: %{name}-devel%{?_isa} = %{version}-%{release} Requires: %{name}-devel%{?_isa} = %{version}-%{release}
@ -170,7 +161,6 @@ develop programs using the FFTW fast Fourier transform library for MPICH.
%package mpich-libs-double %package mpich-libs-double
Summary: FFTW MPICH library, double precision Summary: FFTW MPICH library, double precision
Group: Development/Libraries
Requires: %{name}-libs-double%{?_isa} = %{version}-%{release} Requires: %{name}-libs-double%{?_isa} = %{version}-%{release}
%description mpich-libs-double %description mpich-libs-double
@ -178,7 +168,6 @@ This package contains the FFTW MPICH library compiled in double precision.
%package mpich-libs-single %package mpich-libs-single
Summary: FFTW MPICH library, single precision Summary: FFTW MPICH library, single precision
Group: Development/Libraries
Requires: %{name}-libs-single%{?_isa} = %{version}-%{release} Requires: %{name}-libs-single%{?_isa} = %{version}-%{release}
%description mpich-libs-single %description mpich-libs-single
@ -186,7 +175,6 @@ This package contains the FFTW MPICH library compiled in single precision.
%package mpich-libs-long %package mpich-libs-long
Summary: FFTW MPICH library, long double precision Summary: FFTW MPICH library, long double precision
Group: Development/Libraries
Requires: %{name}-libs-long%{?_isa} = %{version}-%{release} Requires: %{name}-libs-long%{?_isa} = %{version}-%{release}
%description mpich-libs-long %description mpich-libs-long
@ -195,7 +183,6 @@ precision.
%package mpich-static %package mpich-static
Summary: Static versions of the FFTW MPICH libraries Summary: Static versions of the FFTW MPICH libraries
Group: Development/Libraries
Requires: %{name}-mpich-devel%{?_isa} = %{version}-%{release} Requires: %{name}-mpich-devel%{?_isa} = %{version}-%{release}
Requires: %{name}-static%{?_isa} = %{version}-%{release} Requires: %{name}-static%{?_isa} = %{version}-%{release}
Provides: fftw3-mpich-static%{?_isa} = %{version}-%{release} Provides: fftw3-mpich-static%{?_isa} = %{version}-%{release}
@ -209,7 +196,6 @@ the FFTW fast Fourier transform library for MPICh.
%if %{with openmpi} %if %{with openmpi}
%package openmpi-libs %package openmpi-libs
Summary: FFTW OpenMPI run-time library Summary: FFTW OpenMPI run-time library
Group: System Environment/Libraries
Provides: fftw3-openmpi = %{version}-%{release} Provides: fftw3-openmpi = %{version}-%{release}
# Pull in the actual libraries # Pull in the actual libraries
@ -224,7 +210,6 @@ OpenMPI run-time libraries.
%package openmpi-devel %package openmpi-devel
Summary: Headers, libraries and docs for the FFTW OpenMPI library Summary: Headers, libraries and docs for the FFTW OpenMPI library
Group: Development/Libraries
Requires: openmpi-devel Requires: openmpi-devel
Requires: pkgconfig Requires: pkgconfig
Requires: %{name}-devel%{?_isa} = %{version}-%{release} Requires: %{name}-devel%{?_isa} = %{version}-%{release}
@ -242,7 +227,6 @@ develop programs using the FFTW fast Fourier transform library for OpenMPI.
%package openmpi-libs-double %package openmpi-libs-double
Summary: FFTW OpenMPI library, double precision Summary: FFTW OpenMPI library, double precision
Group: Development/Libraries
Requires: %{name}-libs-double%{?_isa} = %{version}-%{release} Requires: %{name}-libs-double%{?_isa} = %{version}-%{release}
%description openmpi-libs-double %description openmpi-libs-double
@ -250,7 +234,6 @@ This package contains the FFTW OpenMPI library compiled in double precision.
%package openmpi-libs-single %package openmpi-libs-single
Summary: FFTW OpenMPI library, single precision Summary: FFTW OpenMPI library, single precision
Group: Development/Libraries
Requires: %{name}-libs-single%{?_isa} = %{version}-%{release} Requires: %{name}-libs-single%{?_isa} = %{version}-%{release}
%description openmpi-libs-single %description openmpi-libs-single
@ -258,7 +241,6 @@ This package contains the FFTW OpenMPI library compiled in single precision.
%package openmpi-libs-long %package openmpi-libs-long
Summary: FFTW OpenMPI library, long double precision Summary: FFTW OpenMPI library, long double precision
Group: Development/Libraries
Requires: %{name}-libs-long%{?_isa} = %{version}-%{release} Requires: %{name}-libs-long%{?_isa} = %{version}-%{release}
%description openmpi-libs-long %description openmpi-libs-long
@ -267,7 +249,6 @@ precision.
%package openmpi-static %package openmpi-static
Summary: Static versions of the FFTW OpenMPI libraries Summary: Static versions of the FFTW OpenMPI libraries
Group: Development/Libraries
Requires: %{name}-openmpi-devel%{?_isa} = %{version}-%{release} Requires: %{name}-openmpi-devel%{?_isa} = %{version}-%{release}
Requires: %{name}-static%{?_isa} = %{version}-%{release} Requires: %{name}-static%{?_isa} = %{version}-%{release}
Provides: fftw3-openmpi-static%{?_isa} = %{version}-%{release} Provides: fftw3-openmpi-static%{?_isa} = %{version}-%{release}
@ -280,7 +261,6 @@ the FFTW fast Fourier transform library for MPICh.
%package doc %package doc
Summary: FFTW library manual Summary: FFTW library manual
Group: Documentation
BuildArch: noarch BuildArch: noarch
%description doc %description doc
@ -291,6 +271,10 @@ library.
%setup -q %setup -q
%build %build
# Explicitly load shell support for the environment-modules package, used
# below via 'module' pseudo-command.
source /etc/profile.d/modules.sh
# Regenerate autoconf files using current tools so proper build flags # Regenerate autoconf files using current tools so proper build flags
# from redhat-rpm-config are used # from redhat-rpm-config are used
autoreconf -vfi autoreconf -vfi
@ -378,6 +362,10 @@ done
%install %install
# Explicitly load shell support for the environment-modules package, used
# below via 'module' pseudo-command.
source /etc/profile.d/modules.sh
%if %{quad} %if %{quad}
for ver in single double long quad for ver in single double long quad
%else %else
@ -403,6 +391,10 @@ rm -f %{buildroot}%{_infodir}/dir
find %{buildroot} -name \*.la -delete find %{buildroot} -name \*.la -delete
%check %check
# Explicitly load shell support for the environment-modules package, used
# below via 'module' pseudo-command.
source /etc/profile.d/modules.sh
bdir=`pwd` bdir=`pwd`
%if %{quad} %if %{quad}
for ver in single double long quad for ver in single double long quad
@ -421,9 +413,6 @@ done
export OMPI_MCA_btl="^vader" export OMPI_MCA_btl="^vader"
%endif %endif
%endif %endif
# disable tests on ppc64 and ppc64le for now
# https://github.com/FFTW/fftw3/issues/145
%ifnarch ppc64 ppc64le
for mpi in %{mpi_list} for mpi in %{mpi_list}
do do
module load mpi/${mpi}-%{_arch} module load mpi/${mpi}-%{_arch}
@ -441,15 +430,6 @@ done
%if %{quad} %if %{quad}
%ldconfig_scriptlets libs-quad %ldconfig_scriptlets libs-quad
%endif %endif
%endif
%post devel
/sbin/install-info --section="Math" %{_infodir}/%{name}.info.gz %{_infodir}/dir 2>/dev/null || :
%preun devel
if [ "$1" = 0 ]; then
/sbin/install-info --delete %{_infodir}/%{name}.info.gz %{_infodir}/dir 2>/dev/null || :
fi
%files %files
%{_mandir}/man1/fftw*.1* %{_mandir}/man1/fftw*.1*
@ -491,6 +471,8 @@ fi
%doc doc/FAQ/fftw-faq.html/ %doc doc/FAQ/fftw-faq.html/
%doc %{_infodir}/fftw3.info* %doc %{_infodir}/fftw3.info*
%{_includedir}/fftw3* %{_includedir}/fftw3*
%dir %{_libdir}/cmake/fftw3/
%{_libdir}/cmake/fftw3/*.cmake
%{_libdir}/pkgconfig/fftw3*.pc %{_libdir}/pkgconfig/fftw3*.pc
%{_libdir}/libfftw3*.so %{_libdir}/libfftw3*.so
@ -521,6 +503,8 @@ fi
%files mpich-devel %files mpich-devel
%doc doc/FAQ/fftw-faq.html/ %doc doc/FAQ/fftw-faq.html/
%{_includedir}/mpich-%{_arch} %{_includedir}/mpich-%{_arch}
%dir %{_libdir}/mpich/lib/cmake/fftw3/
%{_libdir}/mpich/lib/cmake/fftw3/*.cmake
%{_libdir}/mpich/lib/pkgconfig/fftw3*.pc %{_libdir}/mpich/lib/pkgconfig/fftw3*.pc
%{_libdir}/mpich/lib/libfftw3*.so %{_libdir}/mpich/lib/libfftw3*.so
@ -549,6 +533,8 @@ fi
%files openmpi-devel %files openmpi-devel
%doc doc/FAQ/fftw-faq.html/ %doc doc/FAQ/fftw-faq.html/
%{_includedir}/openmpi-%{_arch} %{_includedir}/openmpi-%{_arch}
%dir %{_libdir}/openmpi/lib/cmake/fftw3/
%{_libdir}/openmpi/lib/cmake/fftw3/*.cmake
%{_libdir}/openmpi/lib/pkgconfig/fftw3*.pc %{_libdir}/openmpi/lib/pkgconfig/fftw3*.pc
%{_libdir}/openmpi/lib/libfftw3*.so %{_libdir}/openmpi/lib/libfftw3*.so
@ -557,6 +543,47 @@ fi
%endif %endif
%changelog %changelog
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 3.3.8-12
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 3.3.8-11
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.8-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.8-9
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.8-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.8-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.8-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Thu Mar 7 2019 Tim Landscheidt <tim@tim-landscheidt.de> - 3.3.8-5
- Remove obsolete requirements for %%post/%%preun scriptlets
* Thu Feb 14 2019 Orion Poplawski <orion@nwra.com> - 3.3.8-4
- Rebuild for openmpi 3.1.3
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.8-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.8-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Mon Jun 11 2018 Conrad Meyer <cemeyer@uw.edu> - 3.3.8-1
- Update to latest upstream, 3.3.8 (rhbz# 1413425)
- Add missing BuildRequires on environment-modules, used in 43b91c1c ("Build
mpich and openmpi versions") without explicit BR dependency
- Add new cmake files to %%files
* Wed Apr 18 2018 Merlin Mathesius <mmathesi@redhat.com> - 3.3.5-11 * Wed Apr 18 2018 Merlin Mathesius <mmathesi@redhat.com> - 3.3.5-11
- Regenerate autoconf files using current tools so proper build flags - Regenerate autoconf files using current tools so proper build flags
from redhat-rpm-config are used. This resolves BZ#1548473. from redhat-rpm-config are used. This resolves BZ#1548473.

View File

@ -1,6 +0,0 @@
--- !Policy
product_versions:
- rhel-8
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}

View File

@ -1 +1 @@
SHA512 (fftw-3.3.5.tar.gz) = a81f02d884cfe4171fab479b0e5ec76eceb9c5da6d4eda1f89281b7e1efa2d8176c9ba87051595c402889eb32172d216ce40eb2bef41289c646f01002fb4ba8e SHA512 (fftw-3.3.8.tar.gz) = ab918b742a7c7dcb56390a0a0014f517a6dff9a2e4b4591060deeb2c652bf3c6868aa74559a422a276b853289b4b701bdcbd3d4d8c08943acf29167a7be81a38