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