Accepting request 185449 from devel:languages:haskell

Update for Haskell Platform 2013.2.0.0 (forwarded request 185243 from ptrommler)

OBS-URL: https://build.opensuse.org/request/show/185449
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-HUnit?expand=0&rev=3
This commit is contained in:
Stephan Kulow 2013-08-06 04:51:38 +00:00 committed by Git OBS Bridge
commit aae3184c31
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 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) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2012 Peter Trommler peter.trommler@ohm-hochschule.de
# #
# 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
@ -13,6 +12,10 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # 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/ # 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. %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 Name: ghc-HUnit
Version: 1.2.5.1 Version: 1.2.5.2
Release: 1 Release: 0
Summary: %{common_summary} Summary: %{common_summary}
Group: System/Libraries
License: BSD-3-Clause License: BSD-3-Clause
Group: System/Libraries
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
# BEGIN cabal2spec # 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 Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
ExclusiveArch: %{ix86} x86_64 %{ghc_arches} ExclusiveArch: %{ix86} x86_64 %{ghc_arches}
BuildRequires: ghc-Cabal-devel BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour} BuildRequires: ghc-deepseq-devel
BuildRequires: ghc-rpm-macros
# END cabal2spec # END cabal2spec
%description %description
%{common_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 %prep
%setup -q -n %{pkg_name}-%{version} %setup -q -n %{pkg_name}-%{version}
%build %build
%ghc_lib_build %ghc_lib_build
%install %install
%ghc_lib_install %ghc_lib_install
%post devel
%ghc_pkg_recache
# devel subpackage %postun devel
%ghc_devel_package %ghc_pkg_recache
%ghc_devel_description %files -f %{name}.files
%defattr(-,root,root,-)
%doc LICENSE
%ghc_devel_post_postun %{_datadir}/%{pkg_name}-%{version}
%ghc_files LICENSE
%doc %{_datadir}/%{pkg_name}-%{version}
%files devel -f %{name}-devel.files
%defattr(-,root,root,-)
%changelog %changelog