|
|
d2359f2 |
# generated by cabal-rpm-2.0.12 --subpackage
|
|
|
8024482 |
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
|
|
|
8024482 |
|
|
|
8024482 |
%global pkg_name hadolint
|
|
|
8024482 |
%global pkgver %{pkg_name}-%{version}
|
|
|
8024482 |
|
|
|
d2359f2 |
%global monoidsubclasses monoid-subclasses-1.1.3
|
|
|
c7f121f |
%global primes primes-0.2.1.0
|
|
|
c7f121f |
%global timerep timerep-2.0.1.0
|
|
|
2126b9c |
%global subpkgs %{primes} %{monoidsubclasses} %{timerep}
|
|
|
c7f121f |
|
|
|
2126b9c |
# monoid-subclasses needs quickcheck-instances
|
|
|
ad80b80 |
%bcond_with tests
|
|
|
8024482 |
|
|
|
8024482 |
Name: %{pkg_name}
|
|
|
6066e88 |
Version: 2.8.0
|
|
|
c7f121f |
# can only be reset when all subpkgs bumped
|
|
|
2126b9c |
Release: 7%{?dist}
|
|
|
8024482 |
Summary: Dockerfile linter, validate inline bash
|
|
|
8024482 |
|
|
|
8024482 |
License: GPLv3+
|
|
|
620659c |
Url: https://hackage.haskell.org/package/%{name}
|
|
|
8024482 |
# Begin cabal-rpm sources:
|
|
|
8024482 |
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
|
|
|
702a3e5 |
Source1: https://hackage.haskell.org/package/%{monoidsubclasses}/%{monoidsubclasses}.tar.gz
|
|
|
702a3e5 |
Source2: https://hackage.haskell.org/package/%{primes}/%{primes}.tar.gz
|
|
|
2126b9c |
Source3: https://hackage.haskell.org/package/%{timerep}/%{timerep}.tar.gz
|
|
|
8024482 |
# End cabal-rpm sources
|
|
|
8024482 |
|
|
|
8024482 |
# Begin cabal-rpm deps:
|
|
|
c7f121f |
BuildRequires: ghc-rpm-macros-extra
|
|
|
e6845e7 |
BuildRequires: ghc-Cabal-prof
|
|
|
e6845e7 |
BuildRequires: ghc-HsYAML-prof
|
|
|
e6845e7 |
BuildRequires: ghc-ShellCheck-prof
|
|
|
8024482 |
BuildRequires: ghc-aeson-prof
|
|
|
8024482 |
BuildRequires: ghc-base-prof
|
|
|
8024482 |
BuildRequires: ghc-bytestring-prof
|
|
|
5ac1e0c |
BuildRequires: ghc-colourista-prof
|
|
|
8024482 |
BuildRequires: ghc-containers-prof
|
|
|
e6845e7 |
BuildRequires: ghc-cryptonite-prof
|
|
|
7d2dff0 |
BuildRequires: ghc-data-default-prof
|
|
|
e6845e7 |
BuildRequires: ghc-deepseq-prof
|
|
|
8024482 |
BuildRequires: ghc-directory-prof
|
|
|
e6845e7 |
BuildRequires: ghc-email-validate-prof
|
|
|
8024482 |
BuildRequires: ghc-filepath-prof
|
|
|
e6845e7 |
BuildRequires: ghc-foldl-prof
|
|
|
8024482 |
BuildRequires: ghc-gitrev-prof
|
|
|
702a3e5 |
BuildRequires: ghc-ilist-prof
|
|
|
8024482 |
BuildRequires: ghc-language-docker-prof
|
|
|
8024482 |
BuildRequires: ghc-megaparsec-prof
|
|
|
8024482 |
BuildRequires: ghc-mtl-prof
|
|
|
e6845e7 |
BuildRequires: ghc-network-uri-prof
|
|
|
8024482 |
BuildRequires: ghc-optparse-applicative-prof
|
|
|
b777bec |
BuildRequires: ghc-parallel-prof
|
|
|
e6845e7 |
BuildRequires: ghc-parsec-prof
|
|
|
7d2dff0 |
BuildRequires: ghc-prettyprinter-prof
|
|
|
e6845e7 |
BuildRequires: ghc-semver-prof
|
|
|
2126b9c |
BuildRequires: ghc-spdx-prof
|
|
|
8024482 |
BuildRequires: ghc-split-prof
|
|
|
8024482 |
BuildRequires: ghc-text-prof
|
|
|
e6845e7 |
BuildRequires: ghc-time-prof
|
|
|
c7f121f |
#BuildRequires: ghc-timerep-prof
|
|
|
8024482 |
BuildRequires: ghc-void-prof
|
|
|
8024482 |
%if %{with tests}
|
|
|
b777bec |
BuildRequires: ghc-HUnit-devel
|
|
|
e6845e7 |
BuildRequires: ghc-hspec-devel
|
|
|
7d2dff0 |
BuildRequires: ghc-silently-devel
|
|
|
8024482 |
%endif
|
|
|
c7f121f |
# for missing dep 'monoid-subclasses':
|
|
|
c7f121f |
BuildRequires: ghc-vector-prof
|
|
|
c7f121f |
# for missing dep 'timerep':
|
|
|
c7f121f |
BuildRequires: ghc-attoparsec-prof
|
|
|
8024482 |
# End cabal-rpm deps
|
|
|
8024482 |
|
|
|
8024482 |
%description
|
|
|
8024482 |
A smarter Dockerfile linter that helps you build best practice Docker
|
|
|
8024482 |
images. The linter is parsing the Dockerfile into an AST and performs rules on
|
|
|
8024482 |
top of the AST. It is standing on the shoulders of ShellCheck to lint the Bash
|
|
|
8024482 |
code inside RUN instructions.
|
|
|
8024482 |
|
|
|
8024482 |
|
|
|
8024482 |
%package -n ghc-%{name}
|
|
|
8024482 |
Summary: Haskell %{name} library
|
|
|
8024482 |
|
|
|
8024482 |
%description -n ghc-%{name}
|
|
|
8024482 |
This package provides the Haskell %{name} shared library.
|
|
|
8024482 |
|
|
|
8024482 |
|
|
|
8024482 |
%package -n ghc-%{name}-devel
|
|
|
8024482 |
Summary: Haskell %{name} library development files
|
|
|
8024482 |
Provides: ghc-%{name}-static = %{version}-%{release}
|
|
|
8024482 |
Provides: ghc-%{name}-static%{?_isa} = %{version}-%{release}
|
|
|
8024482 |
%if %{defined ghc_version}
|
|
|
8024482 |
Requires: ghc-compiler = %{ghc_version}
|
|
|
8024482 |
%endif
|
|
|
8024482 |
Requires: ghc-%{name}%{?_isa} = %{version}-%{release}
|
|
|
8024482 |
|
|
|
8024482 |
%description -n ghc-%{name}-devel
|
|
|
8024482 |
This package provides the Haskell %{name} library development files.
|
|
|
8024482 |
|
|
|
8024482 |
|
|
|
8024482 |
%if %{with haddock}
|
|
|
8024482 |
%package -n ghc-%{name}-doc
|
|
|
8024482 |
Summary: Haskell %{name} library documentation
|
|
|
8024482 |
BuildArch: noarch
|
|
|
7d4f5ab |
Requires: ghc-filesystem
|
|
|
8024482 |
|
|
|
8024482 |
%description -n ghc-%{name}-doc
|
|
|
8024482 |
This package provides the Haskell %{name} library documentation.
|
|
|
8024482 |
%endif
|
|
|
8024482 |
|
|
|
8024482 |
|
|
|
8024482 |
%if %{with ghc_prof}
|
|
|
8024482 |
%package -n ghc-%{name}-prof
|
|
|
8024482 |
Summary: Haskell %{name} profiling library
|
|
|
8024482 |
Requires: ghc-%{name}-devel%{?_isa} = %{version}-%{release}
|
|
|
8024482 |
Supplements: (ghc-%{name}-devel and ghc-prof)
|
|
|
8024482 |
|
|
|
8024482 |
%description -n ghc-%{name}-prof
|
|
|
8024482 |
This package provides the Haskell %{name} profiling library.
|
|
|
8024482 |
%endif
|
|
|
8024482 |
|
|
|
8024482 |
|
|
|
c7f121f |
%global main_version %{version}
|
|
|
c7f121f |
|
|
|
c7f121f |
%if %{defined ghclibdir}
|
|
|
c7f121f |
%ghc_lib_subpackage %{monoidsubclasses}
|
|
|
c7f121f |
%ghc_lib_subpackage %{primes}
|
|
|
c7f121f |
%ghc_lib_subpackage %{timerep}
|
|
|
c7f121f |
%endif
|
|
|
c7f121f |
|
|
|
c7f121f |
%global version %{main_version}
|
|
|
c7f121f |
|
|
|
c7f121f |
|
|
|
8024482 |
%prep
|
|
|
8024482 |
# Begin cabal-rpm setup:
|
|
|
2126b9c |
%setup -q -a1 -a2 -a3
|
|
|
8024482 |
# End cabal-rpm setup
|
|
|
c7f121f |
cabal-tweak-flag static False
|
|
|
8024482 |
|
|
|
8024482 |
|
|
|
8024482 |
%build
|
|
|
8024482 |
# Begin cabal-rpm build:
|
|
|
c7f121f |
%ghc_libs_build %{subpkgs}
|
|
|
8024482 |
%ghc_lib_build
|
|
|
8024482 |
# End cabal-rpm build
|
|
|
8024482 |
|
|
|
8024482 |
|
|
|
8024482 |
%install
|
|
|
8024482 |
# Begin cabal-rpm install
|
|
|
c7f121f |
%ghc_libs_install %{subpkgs}
|
|
|
8024482 |
%ghc_lib_install
|
|
|
7d4f5ab |
mkdir -p %{buildroot}%{_datadir}/bash-completion/completions/
|
|
|
7d4f5ab |
%{buildroot}%{_bindir}/%{name} --bash-completion-script %{name} | sed s/filenames/default/ > %{buildroot}%{_datadir}/bash-completion/completions/%{name}
|
|
|
8024482 |
# End cabal-rpm install
|
|
|
8024482 |
|
|
|
8024482 |
|
|
|
8024482 |
%check
|
|
|
7d4f5ab |
%if %{with tests}
|
|
|
8024482 |
%cabal_test
|
|
|
7d4f5ab |
%endif
|
|
|
8024482 |
|
|
|
8024482 |
|
|
|
8024482 |
%files
|
|
|
8024482 |
# Begin cabal-rpm files:
|
|
|
8024482 |
%license LICENSE
|
|
|
8024482 |
%doc README.md
|
|
|
8024482 |
%{_bindir}/%{name}
|
|
|
7d4f5ab |
%{_datadir}/bash-completion/completions/%{name}
|
|
|
8024482 |
# End cabal-rpm files
|
|
|
8024482 |
|
|
|
8024482 |
|
|
|
8024482 |
%files -n ghc-%{name} -f ghc-%{name}.files
|
|
|
8024482 |
# Begin cabal-rpm files:
|
|
|
8024482 |
%license LICENSE
|
|
|
8024482 |
# End cabal-rpm files
|
|
|
8024482 |
|
|
|
8024482 |
|
|
|
8024482 |
%files -n ghc-%{name}-devel -f ghc-%{name}-devel.files
|
|
|
8024482 |
%doc README.md
|
|
|
8024482 |
|
|
|
8024482 |
|
|
|
8024482 |
%if %{with haddock}
|
|
|
8024482 |
%files -n ghc-%{name}-doc -f ghc-%{name}-doc.files
|
|
|
8024482 |
%license LICENSE
|
|
|
8024482 |
%endif
|
|
|
8024482 |
|
|
|
8024482 |
|
|
|
8024482 |
%if %{with ghc_prof}
|
|
|
8024482 |
%files -n ghc-%{name}-prof -f ghc-%{name}-prof.files
|
|
|
8024482 |
%endif
|
|
|
8024482 |
|
|
|
8024482 |
|
|
|
8024482 |
%changelog
|
|
|
2126b9c |
* Mon Jul 25 2022 Jens Petersen <petersen@redhat.com> - 2.8.0-7
|
|
|
2126b9c |
- spdx is packaged in Fedora
|
|
|
2126b9c |
|
|
|
99b088a |
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.0-6
|
|
|
99b088a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
99b088a |
|
|
|
6066e88 |
* Mon Jun 13 2022 Jens Petersen <petersen@redhat.com> - 2.8.0-1
|
|
|
6066e88 |
- https://github.com/hadolint/hadolint/releases/tag/v2.8.0
|
|
|
6066e88 |
|
|
|
d2359f2 |
* Mon Jun 13 2022 Jens Petersen <petersen@redhat.com> - 2.7.0-4
|
|
|
d2359f2 |
- monoid-subclasses-1.1.3
|
|
|
d2359f2 |
- spdx-1.0.0.3
|
|
|
d2359f2 |
- colourista and ilist were packaged
|
|
|
5ac1e0c |
|
|
|
c7f121f |
* Mon Feb 7 2022 Jens Petersen <petersen@redhat.com> - 2.7.0-3
|
|
|
c7f121f |
- restore the bundled deps to fix FTI (#2031307, #2031315)
|
|
|
c7f121f |
|
|
|
6b2919c |
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.0-2
|
|
|
6b2919c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
6b2919c |
|
|
|
11b4724 |
* Mon Nov 29 2021 Mohamed El Morabity <melmorabity@fedoraproject.org> - 2.7.0-1
|
|
|
620659c |
- Update to 2.7.0
|
|
|
620659c |
|
|
|
256ecd3 |
* Thu Aug 05 2021 Jens Petersen <petersen@redhat.com> - 2.6.1-2
|
|
|
256ecd3 |
- update to 2.6.1
|
|
|
256ecd3 |
- monoid-subclasses-1.1.1
|
|
|
256ecd3 |
|
|
|
e6845e7 |
* Thu Aug 5 2021 Jens Petersen <petersen@redhat.com> - 2.6.0-1
|
|
|
e6845e7 |
- update to 2.6.0
|
|
|
e6845e7 |
- subpackage new deps: colourista, ilist, monoid-subclasses, primes, spdx, timerep
|
|
|
e6845e7 |
|
|
|
73311cf |
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.18.2-4
|
|
|
73311cf |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
73311cf |
|
|
|
34b563c |
* Fri May 28 2021 Jens Petersen <petersen@redhat.com> - 1.18.2-3
|
|
|
34b563c |
- rebuild
|
|
|
34b563c |
|
|
|
9d424de |
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.18.2-2
|
|
|
9d424de |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
9d424de |
|
|
|
b777bec |
* Tue Oct 27 2020 Mohamed El Morabity <melmorabity@fedoraproject.org> - 1.18.2-1
|
|
|
b777bec |
- Update to 1.18.2
|
|
|
b777bec |
|
|
|
8024482 |
* Thu Sep 03 2020 Mohamed El Morabity <melmorabity@fedoraproject.org> - 1.18.0-1
|
|
|
8024482 |
- Initial RPM release, from spec file generated by cabal-rpm-2.0.6
|