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:
parent
c8f40d60a4
commit
bbcad51677
@ -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
|
Fri Aug 22 23:56:20 UTC 2014 - peter.trommler@ohm-hochschule.de
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package ghc-HUnit
|
# 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
|
# 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
|
||||||
@ -16,45 +16,42 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
||||||
#
|
|
||||||
|
|
||||||
%global pkg_name HUnit
|
%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
|
Name: ghc-HUnit
|
||||||
Version: 1.2.5.2
|
Version: 1.2.5.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: %{common_summary}
|
Summary: A unit testing framework for Haskell
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: System/Libraries
|
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
|
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-Cabal-devel
|
||||||
BuildRequires: ghc-deepseq-devel
|
|
||||||
BuildRequires: ghc-rpm-macros
|
BuildRequires: ghc-rpm-macros
|
||||||
# END cabal2spec
|
# Begin cabal-rpm deps:
|
||||||
|
BuildRequires: ghc-deepseq-devel
|
||||||
|
# End cabal-rpm deps
|
||||||
|
|
||||||
%description
|
%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
|
%package devel
|
||||||
Summary: Haskell %{pkg_name} library development files
|
Summary: Haskell %{pkg_name} library development files
|
||||||
Group: Development/Languages/Other
|
Group: Development/Libraries/Other
|
||||||
Requires: ghc-compiler
|
Provides: %{name}-static = %{version}-%{release}
|
||||||
Requires(post): ghc-compiler
|
Requires: ghc-compiler = %{ghc_version}
|
||||||
Requires(postun): ghc-compiler
|
Requires(post): ghc-compiler = %{ghc_version}
|
||||||
|
Requires(postun): ghc-compiler = %{ghc_version}
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
%{common_description}
|
This package provides the Haskell %{pkg_name} library development files.
|
||||||
This package contains the development files.
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{pkg_name}-%{version}
|
%setup -q -n %{pkg_name}-%{version}
|
||||||
@ -64,6 +61,7 @@ This package contains the development files.
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%ghc_lib_install
|
%ghc_lib_install
|
||||||
|
rm -rf %{buildroot}%{_datadir}/%{pkg_name}-%{version}
|
||||||
|
|
||||||
%post devel
|
%post devel
|
||||||
%ghc_pkg_recache
|
%ghc_pkg_recache
|
||||||
@ -74,9 +72,9 @@ This package contains the development files.
|
|||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc LICENSE
|
%doc LICENSE
|
||||||
%{_datadir}/%{pkg_name}-%{version}
|
|
||||||
|
|
||||||
%files devel -f %{name}-devel.files
|
%files devel -f %{name}-devel.files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
|
%doc examples README doc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user