From 03004dae8d51b7e05ab6db78e1b0bb52afdf718c Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Wed, 27 Sep 2017 13:06:42 -0400 Subject: [PATCH] Update to latest spec template. --- ghc-wai-app-static.spec | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/ghc-wai-app-static.spec b/ghc-wai-app-static.spec index d56c3b4..9408935 100644 --- a/ghc-wai-app-static.spec +++ b/ghc-wai-app-static.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 wai-app-static +%global pkgver %{pkg_name}-%{version} %bcond_with tests @@ -12,7 +13,7 @@ Summary: WAI application for static serving 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 @@ -68,7 +69,7 @@ This package provides the Haskell %{pkg_name} library development files. %prep -%setup -q -n %{pkg_name}-%{version} +%setup -q -n %{pkgver} %build