forked from pool/ghc-bootstrap-helpers
Accepting request 833303 from devel:languages:haskell
version update OBS-URL: https://build.opensuse.org/request/show/833303 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-bootstrap-helpers?expand=0&rev=4
This commit is contained in:
commit
396d7b8b48
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Sep 8 09:28:13 UTC 2020 - Ondřej Súkup <mimi.vx@gmail.com>
|
||||||
|
|
||||||
|
- update to 1.1 - update happy to 1.9.20
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jun 2 08:11:28 UTC 2020 - Ondřej Súkup <mimi.vx@gmail.com>
|
Tue Jun 2 08:11:28 UTC 2020 - Ondřej Súkup <mimi.vx@gmail.com>
|
||||||
|
|
||||||
|
@ -15,15 +15,17 @@
|
|||||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
%define alex_ver 3.2.5
|
||||||
|
%define happy_ver 1.20.0
|
||||||
|
|
||||||
Name: ghc-bootstrap-helpers
|
Name: ghc-bootstrap-helpers
|
||||||
Version: 1
|
Version: 1.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Dependencies to build ghc
|
Summary: Dependencies to build ghc
|
||||||
License: BSD-3-Clause AND BSD-2-Clause
|
License: BSD-3-Clause AND BSD-2-Clause
|
||||||
URL: https://build.opensuse.org/project/show/devel:languages:haskell
|
URL: https://build.opensuse.org/project/show/devel:languages:haskell
|
||||||
Source: alex-3.2.5.tar.gz
|
Source: alex-%{alex_ver}.tar.gz
|
||||||
Source1: happy-1.19.12.tar.gz
|
Source1: happy-%{happy_ver}.tar.gz
|
||||||
BuildRequires: ghc-bootstrap
|
BuildRequires: ghc-bootstrap
|
||||||
# This package is not meant to be used outside OBS
|
# This package is not meant to be used outside OBS
|
||||||
Requires: this-is-only-for-build-envs
|
Requires: this-is-only-for-build-envs
|
||||||
@ -35,30 +37,30 @@ Conflicts: happy
|
|||||||
Prebuild alex and happy for ghc-8.8+ build
|
Prebuild alex and happy for ghc-8.8+ build
|
||||||
|
|
||||||
Don't use outside GHC-8.8+ build
|
Don't use outside GHC-8.8+ build
|
||||||
% ' Help EMACS syntax highlighting
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -c -a0 -a1
|
%setup -q -c -a0 -a1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
pushd alex-3.2.5
|
pushd alex-%{alex_ver}
|
||||||
/opt/bin/ghc Setup.hs -o cabal
|
/opt/bin/ghc Setup.hs -o cabal
|
||||||
./cabal configure --prefix=%{_prefix}
|
./cabal configure --prefix=%{_prefix}
|
||||||
./cabal build
|
./cabal build
|
||||||
popd
|
popd
|
||||||
|
|
||||||
pushd happy-1.19.12
|
pushd happy-%{happy_ver}
|
||||||
/opt/bin/ghc Setup.hs -o cabal
|
/opt/bin/ghc Setup.hs -o cabal
|
||||||
./cabal configure --prefix=%{_prefix}
|
./cabal configure --prefix=%{_prefix}
|
||||||
./cabal build
|
./cabal build
|
||||||
popd
|
popd
|
||||||
|
|
||||||
%install
|
%install
|
||||||
pushd alex-3.2.5
|
pushd alex-%{alex_ver}
|
||||||
./cabal copy --destdir=%{buildroot}
|
./cabal copy --destdir=%{buildroot}
|
||||||
popd
|
popd
|
||||||
|
|
||||||
pushd happy-1.19.12
|
pushd happy-%{happy_ver}
|
||||||
./cabal copy --destdir=%{buildroot}
|
./cabal copy --destdir=%{buildroot}
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:fb9a23e41401711a3b288f93cf0a66db9f97da1ce32ec4fffea4b78a0daeb40f
|
|
||||||
size 183254
|
|
3
happy-1.20.0.tar.gz
Normal file
3
happy-1.20.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:3b1d3a8f93a2723b554d9f07b2cd136be1a7b2fcab1855b12b7aab5cbac8868c
|
||||||
|
size 184515
|
Loading…
Reference in New Issue
Block a user