Accepting request 259842 from devel:languages:haskell:platform

Haskell Platform 2014.2.0.0 update

OBS-URL: https://build.opensuse.org/request/show/259842
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-HUnit?expand=0&rev=11
This commit is contained in:
Peter Trommler 2014-11-06 19:19:35 +00:00 committed by Git OBS Bridge
parent c8f40d60a4
commit bbcad51677
2 changed files with 24 additions and 21 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Sep 2 08:22:40 UTC 2014 - peter.trommler@ohm-hochschule.de
- regenerate spec file
-------------------------------------------------------------------
Fri Aug 22 23:56:20 UTC 2014 - peter.trommler@ohm-hochschule.de

View File

@ -1,7 +1,7 @@
#
# spec file for package ghc-HUnit
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2014 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
@ -16,45 +16,42 @@
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%global pkg_name HUnit
%global common_summary A unit testing framework for Haskell
%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.2
Release: 0
Summary: %{common_summary}
Summary: A unit testing framework for Haskell
License: BSD-3-Clause
Group: System/Libraries
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# BEGIN cabal2spec
Url: http://hackage.haskell.org/package/%{pkg_name}
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-deepseq-devel
BuildRequires: ghc-rpm-macros
# END cabal2spec
# Begin cabal-rpm deps:
BuildRequires: ghc-deepseq-devel
# End cabal-rpm deps
%description
%{common_description}
HUnit is a unit testing framework for Haskell, inspired by the JUnit tool for
Java, see: <http://www.junit.org>.
%package devel
Summary: Haskell %{pkg_name} library development files
Group: Development/Languages/Other
Requires: ghc-compiler
Requires(post): ghc-compiler
Requires(postun): ghc-compiler
Group: Development/Libraries/Other
Provides: %{name}-static = %{version}-%{release}
Requires: ghc-compiler = %{ghc_version}
Requires(post): ghc-compiler = %{ghc_version}
Requires(postun): ghc-compiler = %{ghc_version}
Requires: %{name} = %{version}-%{release}
%description devel
%{common_description}
This package contains the development files.
This package provides the Haskell %{pkg_name} library development files.
%prep
%setup -q -n %{pkg_name}-%{version}
@ -64,6 +61,7 @@ This package contains the development files.
%install
%ghc_lib_install
rm -rf %{buildroot}%{_datadir}/%{pkg_name}-%{version}
%post devel
%ghc_pkg_recache
@ -74,9 +72,9 @@ This package contains the development files.
%files -f %{name}.files
%defattr(-,root,root,-)
%doc LICENSE
%{_datadir}/%{pkg_name}-%{version}
%files devel -f %{name}-devel.files
%defattr(-,root,root,-)
%doc examples README doc
%changelog