apply cpphs patch

This commit is contained in:
Jens Petersen 2016-10-06 12:23:24 +09:00
parent 6ceb8aa2fd
commit afe3c95527
1 changed files with 2 additions and 0 deletions

View File

@ -16,6 +16,7 @@ Url: https://hackage.haskell.org/package/%{name}
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
Source1: agda-mode-init.el
Source2: https://hackage.haskell.org/package/%{geniplate}/%{geniplate}.tar.gz
Patch0: Agda-cpphs-version.patch
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros-extra
@ -110,6 +111,7 @@ This package provides the Haskell %{name} library development files.
%prep
%setup -q -c -n %{pkgver} -a2
%patch0 -b .orig
# tweak the Agda version in the emacs mode
if ! grep -q \"%{version}\" %{pkgver}/src/data/emacs-mode/agda2-mode.el; then