Blob Blame History Raw
# generated by cabal-rpm-2.0.9

%global pkg_name hadolint
%global pkgver %{pkg_name}-%{version}

%bcond_without tests

Name:           %{pkg_name}
Version:        1.18.2
Release:        3%{?dist}
Summary:        Dockerfile linter, validate inline bash

License:        GPLv3+
URL:  {pkg_name}/%{pkg_name}/
# Begin cabal-rpm sources:
# End cabal-rpm sources

# Begin cabal-rpm deps:
BuildRequires:  ghc-aeson-prof
BuildRequires:  ghc-async-prof
BuildRequires:  ghc-base-prof
BuildRequires:  ghc-bytestring-prof
BuildRequires:  ghc-Cabal-devel
BuildRequires:  ghc-containers-prof
BuildRequires:  ghc-directory-prof
BuildRequires:  ghc-filepath-prof
BuildRequires:  ghc-gitrev-prof
BuildRequires:  ghc-HsYAML-prof
BuildRequires:  ghc-language-docker-prof
BuildRequires:  ghc-megaparsec-prof
BuildRequires:  ghc-mtl-prof
BuildRequires:  ghc-optparse-applicative-prof
BuildRequires:  ghc-parallel-prof
BuildRequires:  ghc-rpm-macros
BuildRequires:  ghc-ShellCheck-prof
BuildRequires:  ghc-split-prof
BuildRequires:  ghc-text-prof
BuildRequires:  ghc-void-prof
%if %{with tests}
BuildRequires:  ghc-hspec-devel
BuildRequires:  ghc-HUnit-devel
# End cabal-rpm deps

A smarter Dockerfile linter that helps you build best practice Docker
images. The linter is parsing the Dockerfile into an AST and performs rules on
top of the AST. It is standing on the shoulders of ShellCheck to lint the Bash
code inside RUN instructions.

%package -n ghc-%{name}
Summary:        Haskell %{name} library

%description -n ghc-%{name}
This package provides the Haskell %{name} shared library.

%package -n ghc-%{name}-devel
Summary:        Haskell %{name} library development files
Provides:       ghc-%{name}-static = %{version}-%{release}
Provides:       ghc-%{name}-static%{?_isa} = %{version}-%{release}
%if %{defined ghc_version}
Requires:       ghc-compiler = %{ghc_version}
Requires:       ghc-%{name}%{?_isa} = %{version}-%{release}

%description -n ghc-%{name}-devel
This package provides the Haskell %{name} library development files.

%if %{with haddock}
%package -n ghc-%{name}-doc
Summary:        Haskell %{name} library documentation
BuildArch:      noarch
Requires:       ghc-filesystem

%description -n ghc-%{name}-doc
This package provides the Haskell %{name} library documentation.

%if %{with ghc_prof}
%package -n ghc-%{name}-prof
Summary:        Haskell %{name} profiling library
Requires:       ghc-%{name}-devel%{?_isa} = %{version}-%{release}
Supplements:    (ghc-%{name}-devel and ghc-prof)

%description -n ghc-%{name}-prof
This package provides the Haskell %{name} profiling library.

# Begin cabal-rpm setup:
%setup -q
# End cabal-rpm setup

# Begin cabal-rpm build:
# End cabal-rpm build

# Begin cabal-rpm install
mkdir -p %{buildroot}%{_datadir}/bash-completion/completions/
%{buildroot}%{_bindir}/%{name} --bash-completion-script %{name} | sed s/filenames/default/ > %{buildroot}%{_datadir}/bash-completion/completions/%{name}
# End cabal-rpm install

%if %{with tests}

# Begin cabal-rpm files:
%license LICENSE
# End cabal-rpm files

%files -n ghc-%{name} -f ghc-%{name}.files
# Begin cabal-rpm files:
%license LICENSE
# End cabal-rpm files

%files -n ghc-%{name}-devel -f ghc-%{name}-devel.files

%if %{with haddock}
%files -n ghc-%{name}-doc -f ghc-%{name}-doc.files
%license LICENSE

%if %{with ghc_prof}
%files -n ghc-%{name}-prof -f ghc-%{name}-prof.files

* Fri May 28 2021 Jens Petersen <> - 1.18.2-3
- rebuild

* Tue Jan 26 2021 Fedora Release Engineering <> - 1.18.2-2
- Rebuilt for

* Tue Oct 27 2020 Mohamed El Morabity <> - 1.18.2-1
- Update to 1.18.2

* Thu Sep 03 2020 Mohamed El Morabity <> - 1.18.0-1
- Initial RPM release, from spec file generated by cabal-rpm-2.0.6