diff --git a/ShellCheck.spec b/ShellCheck.spec index e37e3e3..c3ac0ac 100644 --- a/ShellCheck.spec +++ b/ShellCheck.spec @@ -24,7 +24,7 @@ Release: 0 Summary: Shell script analysis tool License: GPL-3.0-or-later URL: https://hackage.haskell.org/package/%{name} -Source0: %{name}-%{version}.tar.gz +Source0: https://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz BuildRequires: chrpath BuildRequires: ghc-Cabal-devel BuildRequires: ghc-Diff-devel @@ -72,6 +72,7 @@ This package provides the Haskell %{name} library development files. %prep %setup -q +rm Setup.hs %build %ghc_lib_build @@ -79,7 +80,6 @@ This package provides the Haskell %{name} library development files. %install %ghc_lib_install %ghc_fix_rpath %{pkg_name}-%{version} -install -Dpm 0644 shellcheck.1 %{buildroot}%{_mandir}/man1/shellcheck.1 %check %cabal_test @@ -94,7 +94,6 @@ install -Dpm 0644 shellcheck.1 %{buildroot}%{_mandir}/man1/shellcheck.1 %license LICENSE %doc README.md %{_bindir}/shellcheck -%{_mandir}/man1/shellcheck.1%{?ext_man} %files -n ghc-%{name} -f ghc-%{name}.files %license LICENSE