SHA256
1
0
forked from pool/ShellCheck

osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ShellCheck revision:30, using keep-link

OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ShellCheck?expand=0&rev=83
This commit is contained in:
Peter Simons 2023-02-03 09:19:01 +00:00 committed by Git OBS Bridge
parent c7fdf34793
commit 1fdd8dd271

View File

@ -43,6 +43,7 @@ BuildRequires: ghc-process-devel
BuildRequires: ghc-regex-tdfa-devel
BuildRequires: ghc-rpm-macros
BuildRequires: ghc-transformers-devel
BuildRequires: pandoc
ExcludeArch: %{ix86}
%description
@ -82,6 +83,8 @@ This package provides the Haskell %{name} library development files.
%install
%ghc_lib_install
%ghc_fix_rpath %{pkg_name}-%{version}
pandoc -s -f markdown-smart -t man shellcheck.1.md -o shellcheck.1
install -Dpm 0644 shellcheck.1 %{buildroot}%{_mandir}/man1/shellcheck.1
%check
%cabal_test
@ -96,6 +99,7 @@ This package provides the Haskell %{name} library development files.
%license LICENSE
%doc CHANGELOG.md README.md
%{_bindir}/shellcheck
%{_mandir}/man1/shellcheck.1%{?ext_man}
%files -n ghc-%{name} -f ghc-%{name}.files
%license LICENSE