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>

View File

@ -1,7 +1,7 @@
#
# 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
# 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}
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
%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
were produced.
Do not install this package! Install 'ghc' or 'haskell-platform' 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/>.
Do not install this package! Install 'ghc' instead.
%prep
@ -159,7 +115,7 @@ cp %SOURCE18 .
%build
tar Jxf ghc-%{version}-%{longarch}-%{sysname}-linux.tar.xz
cd ghc-%{version}
./configure --prefix=%{_prefix}
./configure --prefix=/opt
%install
cd ghc-%{version}
@ -167,18 +123,12 @@ cd ghc-%{version}
%fdupes -s %{buildroot}
%post
ghc-pkg recache
/opt/bin/ghc-pkg recache
%files
%defattr(-,root,root,-)
%doc README.openSUSE
%doc LICENSE
%{_bindir}/*
%{_prefix}/lib/ghc-%{version}
%{_datadir}/doc/*
%ifarch %{ix86} x86_64
%{_mandir}/man1/ghc.1*
%endif
/opt
%changelog