Hello community,
here is the log from the commit of package ghc-bootstrap-helpers for
openSUSE:Factory checked in at 2020-01-29 13:12:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-bootstrap-helpers (Old)
and /work/SRC/openSUSE:Factory/.ghc-bootstrap-helpers.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-bootstrap-helpers"
Wed Jan 29 13:12:24 2020 rev:2 rq:766984 version:1
Changes:
--------
---
/work/SRC/openSUSE:Factory/ghc-bootstrap-helpers/ghc-bootstrap-helpers.changes
2020-01-03 17:34:35.371222060 +0100
+++
/work/SRC/openSUSE:Factory/.ghc-bootstrap-helpers.new.26092/ghc-bootstrap-helpers.changes
2020-01-29 13:13:02.950006298 +0100
@@ -1,0 +2,10 @@
+Sat Jan 18 09:08:42 UTC 2020 - Peter Trommler <[email protected]>
+
+- improve packaging and avoid rpmlint warning
+
+-------------------------------------------------------------------
+Fri Jan 17 18:57:31 UTC 2020 - Peter Trommler <[email protected]>
+
+- build happy and alex form source using ghc-bootstrap
+
+-------------------------------------------------------------------
Old:
----
helpers.tar.gz
New:
----
alex-3.2.5.tar.gz
happy-1.19.12.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-bootstrap-helpers.spec ++++++
--- /var/tmp/diff_new_pack.Hr13ue/_old 2020-01-29 13:13:06.742008237 +0100
+++ /var/tmp/diff_new_pack.Hr13ue/_new 2020-01-29 13:13:06.746008238 +0100
@@ -1,7 +1,7 @@
#
# 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
# remain the property of their copyright owners, unless otherwise agreed
@@ -22,8 +22,12 @@
Summary: Dependencies to build ghc
License: BSD-3-Clause AND BSD-2-Clause
URL: https://build.opensuse.org/project/show/devel:languages:haskell
-Source: helpers.tar.gz
-ExclusiveArch: x86_64
+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
+
Conflicts: alex
Conflicts: happy
@@ -31,24 +35,37 @@
Prebuild alex and happy for ghc-8.8+ build
Don't use outside GHC-8.8+ build
+% ' Help EMACS syntax highlighting
%prep
-%setup -q
+%setup -q -c -a0 -a1
%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
-cp -R * %{buildroot}/
-rm -Rf %{buildroot}%{_datadir}/doc/*
-rm -Rf %{buildroot}/usr/share/man/
-rm -Rf %{buildroot}/usr/share/licenses/
+pushd alex-3.2.5
+./cabal copy --destdir=%{buildroot}
+popd
+
+pushd happy-1.19.12
+./cabal copy --destdir=%{buildroot}
+popd
%files
%{_bindir}/alex
%{_bindir}/happy
-%dir %{_datadir}/happy-1.19.12/
-%dir %{_datadir}/alex-3.2.5/
-%{_datadir}/alex-3.2.5/*
-%{_datadir}/happy-1.19.12/*
+%{_datadir}/*ghc*
+%{_datadir}/doc/*ghc*
%changelog