Remove obsolete conditionals

This commit is contained in:
Orion Poplawski 2021-02-01 21:39:13 -07:00
parent af1e6a707e
commit 2978f25ad3

View File

@ -65,11 +65,7 @@ BuildRequires: make
BuildRequires: /bin/csh BuildRequires: /bin/csh
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: gcc-gfortran BuildRequires: gcc-gfortran
%if 0%{?fedora} || 0%{?rhel} >= 7
BuildRequires: netcdf-fortran-devel BuildRequires: netcdf-fortran-devel
%else
BuildRequires: netcdf-devel
%endif
BuildRequires: cairo-devel BuildRequires: cairo-devel
BuildRequires: hdf-static, hdf-devel >= 4.2r2 BuildRequires: hdf-static, hdf-devel >= 4.2r2
BuildRequires: g2clib-static BuildRequires: g2clib-static
@ -80,9 +76,7 @@ BuildRequires: proj-devel
# imake needed for makedepend # imake needed for makedepend
BuildRequires: imake, libXt-devel, libXaw-devel, libXext-devel, libXpm-devel BuildRequires: imake, libXt-devel, libXaw-devel, libXext-devel, libXpm-devel
BuildRequires: byacc, flex BuildRequires: byacc, flex
%if 0%{?fedora} || 0%{?rhel} >= 7
BuildRequires: flex-static BuildRequires: flex-static
%endif
BuildRequires: %{blaslib}-devel BuildRequires: %{blaslib}-devel
BuildRequires: udunits2-devel BuildRequires: udunits2-devel
Requires: %{name}-common = %{version}-%{release} Requires: %{name}-common = %{version}-%{release}
@ -104,9 +98,7 @@ example scripts and their corresponding graphics are available.
%package common %package common
Summary: Common files for NCL and NCAR Graphics Summary: Common files for NCL and NCAR Graphics
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
%if 0%{?fedora} || 0%{?rhel} > 5
BuildArch: noarch BuildArch: noarch
%endif
%description common %description common
%{summary}. %{summary}.
@ -127,9 +119,7 @@ Obsoletes: ncarg-devel < %{version}-%{release}
%package examples %package examples
Summary: Example programs and data using NCL Summary: Example programs and data using NCL
Requires: %{name}-devel = %{version}-%{release} Requires: %{name}-devel = %{version}-%{release}
%if 0%{?fedora} || 0%{?rhel} > 5
BuildArch: noarch BuildArch: noarch
%endif
%description examples %description examples
Example programs and data using NCL. Example programs and data using NCL.