diff --git a/ghc-http-client-tls.spec b/ghc-http-client-tls.spec index 3ef08ad..c95f0fb 100644 --- a/ghc-http-client-tls.spec +++ b/ghc-http-client-tls.spec @@ -1,7 +1,8 @@ -# generated by cabal-rpm-0.10.0 +# generated by cabal-rpm-0.11.2 # https://fedoraproject.org/wiki/Packaging:Haskell %global pkg_name http-client-tls +%global pkgver %{pkg_name}-%{version} %bcond_with tests @@ -12,7 +13,7 @@ Summary: Http-client backend using the connection package and tls library License: MIT Url: https://hackage.haskell.org/package/%{pkg_name} -Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz +Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros @@ -57,7 +58,7 @@ files. %prep -%setup -q -n %{pkg_name}-%{version} +%setup -q -n %{pkgver} %build