|
|
@ -2,7 +2,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
Name: %{pkg_name}
|
|
|
|
Name: %{pkg_name}
|
|
|
|
Version: 0.3.1
|
|
|
|
Version: 0.3.1
|
|
|
|
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+
|
|
|
@ -19,6 +19,7 @@ BuildRequires: ghc-mtl-devel
|
|
|
|
BuildRequires: ghc-parsec-devel
|
|
|
|
BuildRequires: ghc-parsec-devel
|
|
|
|
BuildRequires: ghc-regex-compat-devel
|
|
|
|
BuildRequires: ghc-regex-compat-devel
|
|
|
|
# End cabal-rpm deps
|
|
|
|
# End cabal-rpm deps
|
|
|
|
|
|
|
|
BuildRequires: pandoc
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
@ -73,11 +74,16 @@ EOF
|
|
|
|
cd %{_builddir}/%{name}-%{version}
|
|
|
|
cd %{_builddir}/%{name}-%{version}
|
|
|
|
%ghc_lib_build
|
|
|
|
%ghc_lib_build
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
make shellcheck.1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
cd %{_builddir}/%{name}-%{version}
|
|
|
|
cd %{_builddir}/%{name}-%{version}
|
|
|
|
%ghc_lib_install
|
|
|
|
%ghc_lib_install
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
mkdir -p %{buildroot}%{_mandir}/man1
|
|
|
|
|
|
|
|
install -t %{buildroot}%{_mandir}/man1 shellcheck.1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
cd %{_builddir}/%{name}-%{version}
|
|
|
|
cd %{_builddir}/%{name}-%{version}
|
|
|
@ -96,6 +102,7 @@ make .tests
|
|
|
|
%doc LICENSE
|
|
|
|
%doc LICENSE
|
|
|
|
%doc README
|
|
|
|
%doc README
|
|
|
|
%{_bindir}/shellcheck
|
|
|
|
%{_bindir}/shellcheck
|
|
|
|
|
|
|
|
%{_mandir}/man1/shellcheck.1*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n ghc-%{name} -f ghc-%{name}.files
|
|
|
|
%files -n ghc-%{name} -f ghc-%{name}.files
|
|
|
@ -109,6 +116,9 @@ make .tests
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Wed Feb 05 2014 Dridi <dridi.boukelmoune@gmail.com> - 0.3.1-2
|
|
|
|
|
|
|
|
- build and install the man page
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Feb 04 2014 Dridi <dridi.boukelmoune@gmail.com> - 0.3.1-1
|
|
|
|
* Tue Feb 04 2014 Dridi <dridi.boukelmoune@gmail.com> - 0.3.1-1
|
|
|
|
- bumped to version 0.3.1
|
|
|
|
- bumped to version 0.3.1
|
|
|
|
- added a workaround for the Fedora haskell toolchain (bug #1052117)
|
|
|
|
- added a workaround for the Fedora haskell toolchain (bug #1052117)
|
|
|
|