|
|
@ -1,7 +1,9 @@
|
|
|
|
%global pkg_name ShellCheck
|
|
|
|
%global pkg_name ShellCheck
|
|
|
|
|
|
|
|
|
|
|
|
%ifnarch %{arm}
|
|
|
|
%ifarch %(echo %{ghc_arches_with_ghci} | sed -e s/armv7hl//)
|
|
|
|
%global with_tests 1
|
|
|
|
%bcond_without tests
|
|
|
|
|
|
|
|
%else
|
|
|
|
|
|
|
|
%bcond_with tests
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
# no useful debuginfo for Haskell packages without C sources
|
|
|
|
# no useful debuginfo for Haskell packages without C sources
|
|
|
@ -9,7 +11,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
Name: %{pkg_name}
|
|
|
|
Name: %{pkg_name}
|
|
|
|
Version: 0.3.4
|
|
|
|
Version: 0.3.4
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Summary: Tool for checking common errors in POSIX shell scripts
|
|
|
|
Summary: Tool for checking common errors in POSIX shell scripts
|
|
|
|
|
|
|
|
|
|
|
|
License: AGPLv3+
|
|
|
|
License: AGPLv3+
|
|
|
@ -66,7 +68,7 @@ This package provides the Haskell %{name} library development files.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
%setup -q
|
|
|
|
%ifarch %{arm}
|
|
|
|
%if %{without tests}
|
|
|
|
%patch0 -p1 -b .orig
|
|
|
|
%patch0 -p1 -b .orig
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
@ -116,6 +118,9 @@ install -Dpm 0644 shellcheck.1 %{buildroot}%{_mandir}/man1/shellcheck.1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Tue Nov 4 2014 Jens Petersen <petersen@redhat.com> - 0.3.4-2
|
|
|
|
|
|
|
|
- only enable tests on archs with ghci except armv7 (#1158522)
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Sep 11 2014 Dridi <dridi.boukelmoune@gmail.com> - 0.3.4-1
|
|
|
|
* Thu Sep 11 2014 Dridi <dridi.boukelmoune@gmail.com> - 0.3.4-1
|
|
|
|
- bumped to version 0.3.4
|
|
|
|
- bumped to version 0.3.4
|
|
|
|
- switched to hackage for the source tarball
|
|
|
|
- switched to hackage for the source tarball
|
|
|
|