[Bug 1052117] ShellCheck source dir is named shellcheck-version/ not ShellCheck-version/
bugzilla at redhat.com
bugzilla at redhat.com
Thu Feb 6 01:35:23 UTC 2014
https://bugzilla.redhat.com/show_bug.cgi?id=1052117
--- Comment #7 from Jens Petersen <petersen at redhat.com> ---
Sorry you also need:
===
diff --git a/ShellCheck.spec b/ShellCheck.spec
index 8d8bffd..c010758 100644
--- a/ShellCheck.spec
+++ b/ShellCheck.spec
@@ -81,8 +81,8 @@ make shellcheck.1
cd %{_builddir}/%{name}-%{version}
%ghc_lib_install
-mkdir -p %{buildroot}%{_mandir}/man1
-install -t %{buildroot}%{_mandir}/man1 shellcheck.1
+install -D -p -m 0644 shellcheck.1 %{buildroot}%{_mandir}/man1/shellcheck.1
+
%check
===
to fix the manpage permission.
For a .cabal file example including test cases and even building a manpage
I recommend looking at pandoc - it might be a bit long or do more than
you need but I think it is a reasonable example.
http://hackage.haskell.org/package/pandoc ->
http://hackage.haskell.org/package/pandoc-1.12.3.3/pandoc.cabal
or
https://github.com/jgm/pandoc/blob/master/pandoc.cabal
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=MR7EYT56N3&a=cc_unsubscribe
More information about the haskell-devel
mailing list