diff --git a/ghc-HUnit.changes b/ghc-HUnit.changes index 3547626..e31aa15 100644 --- a/ghc-HUnit.changes +++ b/ghc-HUnit.changes @@ -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 diff --git a/ghc-HUnit.spec b/ghc-HUnit.spec index 6735b25..9573da3 100644 --- a/ghc-HUnit.spec +++ b/ghc-HUnit.spec @@ -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: . + %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