osc copypac from project:devel:languages:haskell:ghc-8.6.x package:ghc-bootstrap revision:5, using keep-link

OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-bootstrap?expand=0&rev=36
This commit is contained in:
Peter Simons 2019-01-15 02:01:23 +00:00 committed by Git OBS Bridge
parent 8132157a8b
commit 2c38750e6d
2 changed files with 12 additions and 55 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Jan 10 08:56:18 UTC 2019 - ptrommler@icloud.com
- Install binary distribution in /opt
* avoid conflicts with package ghc
* fixes an issue brought up in boo#1121052
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Oct 29 16:39:18 UTC 2018 - Dominique Leuenberger <dimstar@opensuse.org> Mon Oct 29 16:39:18 UTC 2018 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@ -1,7 +1,7 @@
# #
# spec file for package ghc-bootstrap # spec file for package ghc-bootstrap
# #
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2019 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
@ -91,34 +91,6 @@ Requires: this-is-only-for-build-envs
ExclusiveArch: %{ix86} ppc64 ppc64le x86_64 s390x aarch64 %{arm} ExclusiveArch: %{ix86} ppc64 ppc64le x86_64 s390x aarch64 %{arm}
Provides: ghc-bootstrap-devel Provides: ghc-bootstrap-devel
Conflicts: ghc
Conflicts: ghc-compiler
Conflicts: ghc-Cabal-devel
Conflicts: ghc-array-devel
Conflicts: ghc-base-devel
Conflicts: ghc-binary-devel
Conflicts: ghc-bytestring-devel
Conflicts: ghc-containers-devel
Conflicts: ghc-deepseq-devel
Conflicts: ghc-directory-devel
Conflicts: ghc-filepath-devel
Conflicts: ghc-ghc-devel
Conflicts: ghc-haskeline-devel
Conflicts: ghc-haskell2010-devel
Conflicts: ghc-haskell98-devel
Conflicts: ghc-hoopl-devel
Conflicts: ghc-hpc-devel
Conflicts: ghc-old-locale-devel
Conflicts: ghc-old-time-devel
Conflicts: ghc-pretty-devel
Conflicts: ghc-process-devel
Conflicts: ghc-template-haskell-devel
Conflicts: ghc-terminfo-devel
Conflicts: ghc-time-devel
Conflicts: ghc-transformers-devel
Conflicts: ghc-unix-devel
Conflicts: ghc-xhtml-devel
AutoReq: off AutoReq: off
%description %description
@ -126,23 +98,7 @@ This package contains a binary distribution of "The Glorious Glasgow
Haskell Compilation System". See README.openSUSE on how the tarballs Haskell Compilation System". See README.openSUSE on how the tarballs
were produced. were produced.
Do not install this package! Install 'ghc' or 'haskell-platform' instead. Do not install this package! Install 'ghc' instead.
Haskell is the standard purely functional programming language; the
current language version is Haskell 98, agreed in December 1998.
GHC is a state-of-the-art programming suite for Haskell. Included is
an optimising compiler generating good code for a variety of
platforms, together with an interactive system for convenient, quick
development. The distribution includes space and time profiling
facilities, a large collection of libraries, and support for various
language extensions, including concurrency, exceptions, and foreign
language interfaces (C, C++, etc).
A wide variety of Haskell related resources (tutorials, libraries,
specifications, documentation, compilers, interpreters, references,
contact information, links to research groups) are available from the
Haskell home page at <http://www.haskell.org/>.
%prep %prep
@ -159,7 +115,7 @@ cp %SOURCE18 .
%build %build
tar Jxf ghc-%{version}-%{longarch}-%{sysname}-linux.tar.xz tar Jxf ghc-%{version}-%{longarch}-%{sysname}-linux.tar.xz
cd ghc-%{version} cd ghc-%{version}
./configure --prefix=%{_prefix} ./configure --prefix=/opt
%install %install
cd ghc-%{version} cd ghc-%{version}
@ -167,18 +123,12 @@ cd ghc-%{version}
%fdupes -s %{buildroot} %fdupes -s %{buildroot}
%post %post
ghc-pkg recache /opt/bin/ghc-pkg recache
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc README.openSUSE %doc README.openSUSE
%doc LICENSE %doc LICENSE
%{_bindir}/* /opt
%{_prefix}/lib/ghc-%{version}
%{_datadir}/doc/*
%ifarch %{ix86} x86_64
%{_mandir}/man1/ghc.1*
%endif
%changelog %changelog