Accepting request 185243 from devel:languages:haskell:platform

Update for Haskell Platform 2013.2.0.0

OBS-URL: https://build.opensuse.org/request/show/185243
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-HUnit?expand=0&rev=7
This commit is contained in:
Peter Trommler 2013-08-01 12:32:12 +00:00 committed by Git OBS Bridge
parent 68abd52106
commit 61ec642378
4 changed files with 45 additions and 24 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bc0c15d20ee7cedf35fadcaf9cc15b5c2b4ce2df9d80e61bfcdd65ef1ef64471
size 24221

3
HUnit-1.2.5.2.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0af5ad34dba27de48b94ce6d5f7ee3aa6af6183bdc4a3967b811e28520369a41
size 24889

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Mon May 6 08:45:33 UTC 2013 - peter.trommler@ohm-hochschule.de
- update to 1.2.5.2 from upstream
* no upstream changelog
- update required for Haskell Platform 2013.2
- more transparent packaging (fewer macros)
-------------------------------------------------------------------
Sun Dec 30 17:42:56 UTC 2012 - peter.trommler@ohm-hochschule.de

View File

@ -1,8 +1,7 @@
#
# spec file for ghc-HUnit
# spec file for package ghc-HUnit
#
# Copyright (c) 2012 Peter Trommler peter.trommler@ohm-hochschule.de
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -13,6 +12,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/
#
@ -23,48 +26,58 @@
%global common_description HUnit is a unit testing framework for Haskell, inspired by the JUnit tool for Java, see: http://www.junit.org.
Name: ghc-HUnit
Version: 1.2.5.1
Release: 1
Version: 1.2.5.2
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: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour}
BuildRequires: ghc-deepseq-devel
BuildRequires: ghc-rpm-macros
# END cabal2spec
%description
%{common_description}
%package devel
Summary: Haskell %{pkg_name} library development files
Group: Development/Languages/Other
Requires: ghc-compiler
Requires(post): ghc-compiler
Requires(postun): ghc-compiler
Requires: %{name} = %{version}-%{release}
%description devel
%{common_description}
This package contains the development files.
%prep
%setup -q -n %{pkg_name}-%{version}
%build
%ghc_lib_build
%install
%ghc_lib_install
%post devel
%ghc_pkg_recache
# devel subpackage
%ghc_devel_package
%postun devel
%ghc_pkg_recache
%ghc_devel_description
%ghc_devel_post_postun
%ghc_files LICENSE
%doc %{_datadir}/%{pkg_name}-%{version}
%files -f %{name}.files
%defattr(-,root,root,-)
%doc LICENSE
%{_datadir}/%{pkg_name}-%{version}
%files devel -f %{name}-devel.files
%defattr(-,root,root,-)
%changelog