https://bugzilla.redhat.com/show_bug.cgi?id=1052117
--- Comment #6 from Jens Petersen petersen@redhat.com --- Cool - you added building the manpage with pandoc. :) Unfortunately currently there is no pandoc on arm so you may want to disable the pandoc dep on armv7hl... (this should get fixed hopefully soon in Rawhide at least.)
Also I think you could simply the spec a bit:
diff --git a/ShellCheck.spec b/ShellCheck.spec index 8d8bffd..44ffc8a 100644 --- a/ShellCheck.spec +++ b/ShellCheck.spec @@ -60,25 +60,18 @@ This package provides the Haskell %{name} library development files. %setup -q -n shellcheck-%{version}
# workaround until the tarball root directory becomes %%{name}-%%{version} -# see also "cd %%{_builddir}/%%{name}-%%{version}" in other sections -ln -s shellcheck-%{version} ../%{name}-%{version} - -cat >Setup.hs <<EOF -import Distribution.Simple - -main = defaultMain -EOF +if [ ! -d ../%{name}-%{version} ]; then + ln -s shellcheck-%{version} ../%{name}-%{version} +fi
%build -cd %{_builddir}/%{name}-%{version} %ghc_lib_build
make shellcheck.1
%install -cd %{_builddir}/%{name}-%{version} %ghc_lib_install
mkdir -p %{buildroot}%{_mandir}/man1