forked from pool/ShellCheck
Synchronize builds with devel:languages:haskell:lts:7.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ShellCheck?expand=0&rev=11
This commit is contained in:
parent
8f2079d00a
commit
83f2a51ed2
@ -26,7 +26,6 @@ License: GPL-3.0+
|
|||||||
Group: Development/Languages/Other
|
Group: Development/Languages/Other
|
||||||
Url: https://hackage.haskell.org/package/%{name}
|
Url: https://hackage.haskell.org/package/%{name}
|
||||||
Source0: https://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz
|
Source0: https://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz
|
||||||
# Begin cabal-rpm deps:
|
|
||||||
BuildRequires: chrpath
|
BuildRequires: chrpath
|
||||||
BuildRequires: ghc-Cabal-devel
|
BuildRequires: ghc-Cabal-devel
|
||||||
BuildRequires: ghc-QuickCheck-devel
|
BuildRequires: ghc-QuickCheck-devel
|
||||||
@ -39,7 +38,6 @@ BuildRequires: ghc-process-devel
|
|||||||
BuildRequires: ghc-regex-tdfa-devel
|
BuildRequires: ghc-regex-tdfa-devel
|
||||||
BuildRequires: ghc-rpm-macros
|
BuildRequires: ghc-rpm-macros
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
# End cabal-rpm deps
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The goals of ShellCheck are:
|
The goals of ShellCheck are:
|
||||||
@ -74,23 +72,16 @@ This package provides the Haskell %{name} library development files.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%ghc_lib_build
|
%ghc_lib_build
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%ghc_lib_install
|
%ghc_lib_install
|
||||||
|
|
||||||
%ghc_fix_dynamic_rpath shellcheck
|
%ghc_fix_dynamic_rpath shellcheck
|
||||||
|
|
||||||
install -Dpm 0644 shellcheck.1 %{buildroot}%{_mandir}/man1/shellcheck.1
|
install -Dpm 0644 shellcheck.1 %{buildroot}%{_mandir}/man1/shellcheck.1
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%if %{with tests}
|
%cabal_test
|
||||||
%{cabal} test
|
|
||||||
%endif
|
|
||||||
|
|
||||||
|
|
||||||
%post -n ghc-%{name}-devel
|
%post -n ghc-%{name}-devel
|
||||||
%ghc_pkg_recache
|
%ghc_pkg_recache
|
||||||
|
Loading…
x
Reference in New Issue
Block a user