From f07ec09f351b2dd9a871553a5fa80d55c8c7b0baab4a28cc1692d24250120e73 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 4 Jun 2020 01:01:10 +0000 Subject: [PATCH] osc copypac from project:devel:languages:haskell:ghc-8.10.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=6 --- _constraints | 17 +++++++++++++++ alex-3.2.5.tar.gz | 3 --- ghc-bootstrap-helpers.changes | 5 +++++ ghc-bootstrap-helpers.spec | 41 ++++++++++------------------------- happy-1.19.12.tar.gz | 3 --- 5 files changed, 34 insertions(+), 35 deletions(-) create mode 100644 _constraints delete mode 100644 alex-3.2.5.tar.gz delete mode 100644 happy-1.19.12.tar.gz diff --git a/_constraints b/_constraints new file mode 100644 index 0000000..ff5e64a --- /dev/null +++ b/_constraints @@ -0,0 +1,17 @@ + + + + 4 + + + + + riscv64 + + + + 8 + + + + diff --git a/alex-3.2.5.tar.gz b/alex-3.2.5.tar.gz deleted file mode 100644 index 82dcc3c..0000000 --- a/alex-3.2.5.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b77c8a1270767c64e2adb21a6e91ee7cd904ba17edae17bc20fd03da5256e0e3 -size 108531 diff --git a/ghc-bootstrap-helpers.changes b/ghc-bootstrap-helpers.changes index 071580e..cf2d938 100644 --- a/ghc-bootstrap-helpers.changes +++ b/ghc-bootstrap-helpers.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jun 2 08:11:28 UTC 2020 - Ondřej Súkup + +- add constraints for memory on riscv64 + ------------------------------------------------------------------- Sat Jan 18 09:08:42 UTC 2020 - Peter Trommler diff --git a/ghc-bootstrap-helpers.spec b/ghc-bootstrap-helpers.spec index c7ed55a..9979e22 100644 --- a/ghc-bootstrap-helpers.spec +++ b/ghc-bootstrap-helpers.spec @@ -1,7 +1,7 @@ # # spec file for package ghc-bootstrap-helpers # -# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -22,12 +22,8 @@ Release: 0 Summary: Dependencies to build ghc License: BSD-3-Clause AND BSD-2-Clause URL: https://build.opensuse.org/project/show/devel:languages:haskell -Source: alex-3.2.5.tar.gz -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 - +Source: helpers.tar.gz +ExclusiveArch: x86_64 Conflicts: alex Conflicts: happy @@ -35,37 +31,24 @@ Conflicts: happy Prebuild alex and happy for ghc-8.8+ build Don't use outside GHC-8.8+ build -% ' Help EMACS syntax highlighting %prep -%setup -q -c -a0 -a1 +%setup -q %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 -pushd alex-3.2.5 -./cabal copy --destdir=%{buildroot} -popd - -pushd happy-1.19.12 -./cabal copy --destdir=%{buildroot} -popd +cp -R * %{buildroot}/ +rm -Rf %{buildroot}%{_datadir}/doc/* +rm -Rf %{buildroot}/usr/share/man/ +rm -Rf %{buildroot}/usr/share/licenses/ %files %{_bindir}/alex %{_bindir}/happy -%{_datadir}/*ghc* -%{_datadir}/doc/*ghc* +%dir %{_datadir}/happy-1.19.12/ +%dir %{_datadir}/alex-3.2.5/ +%{_datadir}/alex-3.2.5/* +%{_datadir}/happy-1.19.12/* %changelog diff --git a/happy-1.19.12.tar.gz b/happy-1.19.12.tar.gz deleted file mode 100644 index 3ec8655..0000000 --- a/happy-1.19.12.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fb9a23e41401711a3b288f93cf0a66db9f97da1ce32ec4fffea4b78a0daeb40f -size 183254