diff --git a/ghc-html.spec b/ghc-html.spec
index 1414e45..24a352b 100644
--- a/ghc-html.spec
+++ b/ghc-html.spec
@@ -1,16 +1,18 @@
+# generated by cabal-rpm-0.11.1
# https://fedoraproject.org/wiki/Packaging:Haskell
%global pkg_name html
+%global pkgver %{pkg_name}-%{version}
Name: ghc-%{pkg_name}
# part of haskell-platform
Version: 1.0.1.2
-Release: 34%{?dist}
+Release: 35%{?dist}
Summary: HTML combinator library
License: BSD
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
@@ -32,7 +34,7 @@ This package provides the Haskell %{pkg_name} library development files.
%prep
-%setup -q -n %{pkg_name}-%{version}
+%setup -q -n %{pkgver}
%build
@@ -59,6 +61,9 @@ This package provides the Haskell %{pkg_name} library development files.
%changelog
+* Fri Feb 24 2017 Jens Petersen - 1.0.1.2-35
+- refresh to cabal-rpm-0.11.1
+
* Fri Feb 10 2017 Fedora Release Engineering - 1.0.1.2-34
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild