drop https bcond

This commit is contained in:
Jens Petersen 2019-12-31 17:08:32 +08:00
parent a4742fcf0b
commit b4e6c00173
1 changed files with 1 additions and 13 deletions

View File

@ -1,12 +1,6 @@
# generated by cabal-rpm-1.0.1
# https://fedoraproject.org/wiki/Packaging:Haskell
%if 0%{?fedora} >= 27
%bcond_without https
%else
%bcond_with https
%endif
%bcond_without manpage
Name: cabal-rpm
@ -25,18 +19,12 @@ Source1: cblrpm.1
BuildRequires: ghc-rpm-macros
BuildRequires: ghc-Cabal-static
BuildRequires: ghc-base-static
%if %{with https}
BuildRequires: ghc-bytestring-static
%endif
BuildRequires: ghc-directory-static
BuildRequires: ghc-filepath-static
%if %{with https}
BuildRequires: ghc-http-client-static
BuildRequires: ghc-http-client-tls-static
BuildRequires: ghc-http-conduit-static
%else
BuildRequires: ghc-old-locale-static
%endif
BuildRequires: ghc-optparse-applicative-static
BuildRequires: ghc-process-static
BuildRequires: ghc-simple-cabal-static
@ -53,7 +41,7 @@ Provides: cblrpm = %{version}-%{release}
Requires: cabal-install
Requires: rpm-build
# for repoquery
%if 0%{?fedora} >= 22
%if 0%{?fedora} || 0%{?rhel} > 7
Requires: dnf-plugins-core
%else
Requires: yum-utils