reenable pandoc on ARM
This commit is contained in:
parent
e56d058f8e
commit
36d77b6ddc
|
@ -2,7 +2,7 @@
|
|||
|
||||
Name: %{pkg_name}
|
||||
Version: 0.3.3
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Tool for checking common errors in POSIX shell scripts
|
||||
|
||||
License: AGPLv3+
|
||||
|
@ -20,12 +20,7 @@ BuildRequires: ghc-mtl-devel
|
|||
BuildRequires: ghc-parsec-devel
|
||||
BuildRequires: ghc-regex-compat-devel
|
||||
# End cabal-rpm deps
|
||||
|
||||
# currently no pandoc on arm (bug #992430)
|
||||
%ifnarch %{arm}
|
||||
BuildRequires: pandoc
|
||||
%endif
|
||||
|
||||
|
||||
%description
|
||||
The goals of ShellCheck are:
|
||||
|
@ -56,7 +51,6 @@ Requires(post): ghc-compiler = %{ghc_version}
|
|||
Requires(postun): ghc-compiler = %{ghc_version}
|
||||
Requires: ghc-%{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
|
||||
%description -n ghc-%{name}-devel
|
||||
This package provides the Haskell %{name} library development files.
|
||||
|
||||
|
@ -73,19 +67,13 @@ fi
|
|||
%build
|
||||
%ghc_lib_build
|
||||
|
||||
# currently no pandoc on arm (bug #992430)
|
||||
%ifnarch %{arm}
|
||||
make shellcheck.1
|
||||
%endif
|
||||
|
||||
|
||||
%install
|
||||
%ghc_lib_install
|
||||
|
||||
# currently no pandoc on arm (bug #992430)
|
||||
%ifnarch %{arm}
|
||||
install -Dpm 0644 shellcheck.1 %{buildroot}%{_mandir}/man1/shellcheck.1
|
||||
%endif
|
||||
|
||||
## modify:
|
||||
#%%ghc_fix_dynamic_rpath shellcheck
|
||||
|
@ -122,10 +110,7 @@ make .tests
|
|||
%doc LICENSE
|
||||
%doc README.md
|
||||
%{_bindir}/shellcheck
|
||||
# currently no pandoc on arm (bug #992430)
|
||||
%ifnarch %{arm}
|
||||
%{_mandir}/man1/shellcheck.1*
|
||||
%endif
|
||||
|
||||
|
||||
%files -n ghc-%{name} -f ghc-%{name}.files
|
||||
|
@ -137,6 +122,9 @@ make .tests
|
|||
|
||||
|
||||
%changelog
|
||||
* Fri Sep 5 2014 Jens Petersen <petersen@redhat.com> - 0.3.3-2
|
||||
- reenable pandoc on ARM
|
||||
|
||||
* Thu Sep 04 2014 Dridi <dridi.boukelmoune@gmail.com> - 0.3.3-1
|
||||
- rebuilt after a dependency upgrade
|
||||
|
||||
|
|
Loading…
Reference in New Issue