forked from pool/ghc-bootstrap-helpers
osc copypac from project:devel:languages:haskell:ghc-8.8.x package:ghc-bootstrap-helpers revision:3, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-bootstrap-helpers?expand=0&rev=4
This commit is contained in:
parent
be309fe517
commit
f597246f4f
3
alex-3.2.5.tar.gz
Normal file
3
alex-3.2.5.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:b77c8a1270767c64e2adb21a6e91ee7cd904ba17edae17bc20fd03da5256e0e3
|
||||||
|
size 108531
|
@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jan 18 09:08:42 UTC 2020 - Peter Trommler <ptrommler@icloud.com>
|
||||||
|
|
||||||
|
- improve packaging and avoid rpmlint warning
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jan 17 18:57:31 UTC 2020 - Peter Trommler <ptrommler@icloud.com>
|
||||||
|
|
||||||
|
- build happy and alex form source using ghc-bootstrap
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Dec 29 13:00:54 UTC 2019 - Ondřej Súkup <mimi.vx@gmail.com>
|
Sun Dec 29 13:00:54 UTC 2019 - Ondřej Súkup <mimi.vx@gmail.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package ghc-bootstrap-helpers
|
# spec file for package ghc-bootstrap-helpers
|
||||||
#
|
#
|
||||||
# Copyright (c) 2019 SUSE LLC
|
# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -22,8 +22,12 @@ 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: helpers.tar.gz
|
Source: alex-3.2.5.tar.gz
|
||||||
ExclusiveArch: x86_64
|
Source1: happy-1.19.12.tar.gz
|
||||||
|
BuildRequires: ghc-bootstrap
|
||||||
|
# This package is not meant to be used outside OBS
|
||||||
|
Requires: this-is-only-for-build-envs
|
||||||
|
|
||||||
Conflicts: alex
|
Conflicts: alex
|
||||||
Conflicts: happy
|
Conflicts: happy
|
||||||
|
|
||||||
@ -31,24 +35,37 @@ 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
|
%setup -q -c -a0 -a1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
pushd alex-3.2.5
|
||||||
|
/opt/bin/ghc Setup.hs -o cabal
|
||||||
|
./cabal configure --prefix=%{_prefix}
|
||||||
|
./cabal build
|
||||||
|
popd
|
||||||
|
|
||||||
|
pushd happy-1.19.12
|
||||||
|
/opt/bin/ghc Setup.hs -o cabal
|
||||||
|
./cabal configure --prefix=%{_prefix}
|
||||||
|
./cabal build
|
||||||
|
popd
|
||||||
|
|
||||||
%install
|
%install
|
||||||
cp -R * %{buildroot}/
|
pushd alex-3.2.5
|
||||||
rm -Rf %{buildroot}%{_datadir}/doc/*
|
./cabal copy --destdir=%{buildroot}
|
||||||
rm -Rf %{buildroot}/usr/share/man/
|
popd
|
||||||
rm -Rf %{buildroot}/usr/share/licenses/
|
|
||||||
|
pushd happy-1.19.12
|
||||||
|
./cabal copy --destdir=%{buildroot}
|
||||||
|
popd
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%{_bindir}/alex
|
%{_bindir}/alex
|
||||||
%{_bindir}/happy
|
%{_bindir}/happy
|
||||||
%dir %{_datadir}/happy-1.19.12/
|
%{_datadir}/*ghc*
|
||||||
%dir %{_datadir}/alex-3.2.5/
|
%{_datadir}/doc/*ghc*
|
||||||
%{_datadir}/alex-3.2.5/*
|
|
||||||
%{_datadir}/happy-1.19.12/*
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
3
happy-1.19.12.tar.gz
Normal file
3
happy-1.19.12.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:fb9a23e41401711a3b288f93cf0a66db9f97da1ce32ec4fffea4b78a0daeb40f
|
||||||
|
size 183254
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:008d2bb0f939e993260c05c9fdffaef02027849487ffe8740571adc8edf2858f
|
|
||||||
size 1276411
|
|
Loading…
Reference in New Issue
Block a user