diff --git a/async-2.0.1.3.tar.gz b/async-2.0.1.3.tar.gz deleted file mode 100644 index f6783b3..0000000 --- a/async-2.0.1.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:70d681084aca826c84d722320fc5d67ac6294802afbb13f8b5e8eac2bbc972e5 -size 8345 diff --git a/async-2.0.1.4.tar.gz b/async-2.0.1.4.tar.gz new file mode 100644 index 0000000..5e7ca9c --- /dev/null +++ b/async-2.0.1.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:41ddfe012d98f3ef101651fb529753bca5bb4c804f03f9cfafc5d0cbe50224c2 +size 8349 diff --git a/ghc-async.changes b/ghc-async.changes index 0093660..6935801 100644 --- a/ghc-async.changes +++ b/ghc-async.changes @@ -1,7 +1,19 @@ +------------------------------------------------------------------- +Mon May 6 11:19:22 UTC 2013 - peter.trommler@ohm-hochschule.de + +- update to 2.0.1.4 from upstream +* fix in test suite +- version required for Haskell Platform 2013.2 + +------------------------------------------------------------------- +Mon May 6 10:53:30 UTC 2013 - peter.trommler@ohm-hochschule.de + +- more transparent packaging (fewer macros) + ------------------------------------------------------------------- Wed Jan 2 15:37:31 UTC 2013 - peter.trommler@ohm-hochschule.de -- expand macro in name tag to help source validator +- expand macro in name tag to help source validator ------------------------------------------------------------------- Sat Nov 17 14:16:42 UTC 2012 - peter.trommler@ohm-hochschule.de diff --git a/ghc-async.spec b/ghc-async.spec index 5c32339..83bda75 100644 --- a/ghc-async.spec +++ b/ghc-async.spec @@ -1,6 +1,7 @@ # # spec file for package ghc-async # +# 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 @@ -15,6 +16,7 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + %global pkg_name async %global common_summary Haskell library to run IO operations asynchronously @@ -22,48 +24,57 @@ %global common_description This Haskell package provides a higher-level interface over threads, in which an Async a is a concurrent thread that will eventually deliver a value of type a. The package provides ways to create Async computations, wait for their results, and cancel them. Name: ghc-async -Version: 2.0.1.3 -Release: 1 +Version: 2.0.1.4 +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: %{ghc_arches} %{ix86} x86_64 BuildRequires: ghc-Cabal-devel -BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour} +BuildRequires: ghc-rpm-macros BuildRequires: ghc-stm-devel # 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 +%files -f %{name}.files +%defattr(-,root,root,-) +%doc LICENSE +%files devel -f %{name}-devel.files +%defattr(-,root,root,-) %changelog