diff --git a/HUnit-1.2.5.1.tar.gz b/HUnit-1.2.5.1.tar.gz deleted file mode 100644 index 3c35110..0000000 --- a/HUnit-1.2.5.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:bc0c15d20ee7cedf35fadcaf9cc15b5c2b4ce2df9d80e61bfcdd65ef1ef64471 -size 24221 diff --git a/HUnit-1.2.5.2.tar.gz b/HUnit-1.2.5.2.tar.gz new file mode 100644 index 0000000..dcd83e8 --- /dev/null +++ b/HUnit-1.2.5.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0af5ad34dba27de48b94ce6d5f7ee3aa6af6183bdc4a3967b811e28520369a41 +size 24889 diff --git a/ghc-HUnit.changes b/ghc-HUnit.changes index d535d14..bddda55 100644 --- a/ghc-HUnit.changes +++ b/ghc-HUnit.changes @@ -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 diff --git a/ghc-HUnit.spec b/ghc-HUnit.spec index 7780715..0b37bc9 100644 --- a/ghc-HUnit.spec +++ b/ghc-HUnit.spec @@ -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