SHA256
1
0
forked from pool/ghc-tagged

temporary fix for new packaging, regenerate with cabal-rpm

OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-tagged?expand=0&rev=4
This commit is contained in:
Peter Trommler 2013-08-05 11:46:36 +00:00 committed by Git OBS Bridge
parent 7d74b0a5e1
commit 175c6695e4

View File

@ -1,7 +1,7 @@
#
# spec file for ghc-tagged
# spec file for package ghc
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2012 Herbert Graeber <herbert@graeber-clan.de>
#
# All modifications and additions to the file contributed by third parties
@ -13,6 +13,10 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
@ -28,48 +32,42 @@
Name: ghc-%{pkg_name}
Version: 0.2.3.1
Release: 1
Release: 0
Summary: %{common_summary}
Group: System/Libraries
License: BSD-3-Clause
Group: System/Libraries
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# BEGIN cabal2spec
URL: http://hackage.haskell.org/package/%{pkg_name}
Url: http://hackage.haskell.org/package/%{pkg_name}
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
ExclusiveArch: %{ix86} x86_64 %{ghc_arches}
BuildRequires: %{!?without_hscolour:hscolour}
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour}
Buildrequires: ghc-data-default-devel
BuildRequires: ghc-data-default-devel
BuildRequires: ghc-rpm-macros
BuildRequires: ghc-semigroups-devel
# END cabal2spec
%description
%{common_description}
%prep
%setup -q -n %{pkg_name}-%{version}
%build
%ghc_lib_build
%install
%ghc_lib_install
# devel subpackage
%ghc_devel_package
%ghc_devel_description
%ghc_devel_post_postun
%ghc_files LICENSE
%changelog