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