forked from pool/ShellCheck
osc copypac from project:devel:languages:haskell:ghc-8.8.x package:ShellCheck revision:5, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ShellCheck?expand=0&rev=56
This commit is contained in:
parent
7ecc1bd6bc
commit
40ea9d6379
@ -24,7 +24,7 @@ Release: 0
|
|||||||
Summary: Shell script analysis tool
|
Summary: Shell script analysis tool
|
||||||
License: GPL-3.0-or-later
|
License: GPL-3.0-or-later
|
||||||
URL: https://hackage.haskell.org/package/%{name}
|
URL: https://hackage.haskell.org/package/%{name}
|
||||||
Source0: %{name}-%{version}.tar.gz
|
Source0: https://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz
|
||||||
BuildRequires: chrpath
|
BuildRequires: chrpath
|
||||||
BuildRequires: ghc-Cabal-devel
|
BuildRequires: ghc-Cabal-devel
|
||||||
BuildRequires: ghc-Diff-devel
|
BuildRequires: ghc-Diff-devel
|
||||||
@ -72,6 +72,7 @@ This package provides the Haskell %{name} library development files.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
rm Setup.hs
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%ghc_lib_build
|
%ghc_lib_build
|
||||||
@ -79,7 +80,6 @@ This package provides the Haskell %{name} library development files.
|
|||||||
%install
|
%install
|
||||||
%ghc_lib_install
|
%ghc_lib_install
|
||||||
%ghc_fix_rpath %{pkg_name}-%{version}
|
%ghc_fix_rpath %{pkg_name}-%{version}
|
||||||
install -Dpm 0644 shellcheck.1 %{buildroot}%{_mandir}/man1/shellcheck.1
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%cabal_test
|
%cabal_test
|
||||||
@ -94,7 +94,6 @@ install -Dpm 0644 shellcheck.1 %{buildroot}%{_mandir}/man1/shellcheck.1
|
|||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc README.md
|
%doc README.md
|
||||||
%{_bindir}/shellcheck
|
%{_bindir}/shellcheck
|
||||||
%{_mandir}/man1/shellcheck.1%{?ext_man}
|
|
||||||
|
|
||||||
%files -n ghc-%{name} -f ghc-%{name}.files
|
%files -n ghc-%{name} -f ghc-%{name}.files
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
Loading…
Reference in New Issue
Block a user