diff --git a/ghc-network.changes b/ghc-network.changes index 512e77c..884d745 100644 --- a/ghc-network.changes +++ b/ghc-network.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Sun May 10 18:20:22 UTC 2015 - mimi.vx@gmail.com + +- update to 2.6.1.0 +* no upstream changelog + +------------------------------------------------------------------- +Fri Apr 10 15:43:13 UTC 2015 - mimi.vx@gmail.com + +- update to 2.6.0.2 +* split to network and network-uri packages + ------------------------------------------------------------------- Fri Sep 12 06:31:03 UTC 2014 - peter.trommler@ohm-hochschule.de diff --git a/ghc-network.spec b/ghc-network.spec index a945f12..9a975d0 100644 --- a/ghc-network.spec +++ b/ghc-network.spec @@ -1,7 +1,7 @@ # # spec file for package ghc-network # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,33 +18,38 @@ %global pkg_name network +%bcond_with tests + Name: ghc-network -Version: 2.4.2.3 +Version: 2.6.1.0 Release: 0 Summary: Low-level networking interface License: BSD-3-Clause Group: System/Libraries -Url: http://hackage.haskell.org/package/%{pkg_name} -Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz +Url: https://hackage.haskell.org/package/%{pkg_name} +Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros # Begin cabal-rpm deps: BuildRequires: ghc-bytestring-devel -BuildRequires: ghc-parsec-devel BuildRequires: ghc-unix-devel +%if %{with tests} +BuildRequires: ghc-HUnit-devel +BuildRequires: ghc-test-framework-devel +BuildRequires: ghc-test-framework-hunit-devel +%endif # End cabal-rpm deps %description -Low-level networking interface for Haskell. +This package provides a low-level networking interface. %package devel Summary: Haskell %{pkg_name} library development files 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} @@ -63,6 +68,11 @@ This package provides the Haskell %{pkg_name} library development files. %install %ghc_lib_install +%check +%if %{with tests} +%cabal test +%endif + %post devel %ghc_pkg_recache @@ -75,6 +85,6 @@ This package provides the Haskell %{pkg_name} library development files. %files devel -f %{name}-devel.files %defattr(-,root,root,-) -%doc examples README +%doc README.md examples %changelog diff --git a/network-2.4.2.3.tar.gz b/network-2.4.2.3.tar.gz deleted file mode 100644 index de9e229..0000000 --- a/network-2.4.2.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:801b9c652dae626bf4a96175162b1290e7fe7ff20d802d62434d5ae1d363c16d -size 141749 diff --git a/network-2.6.1.0.tar.gz b/network-2.6.1.0.tar.gz new file mode 100644 index 0000000..d398cd6 --- /dev/null +++ b/network-2.6.1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b249c30da5826c1711f66bbfbeed61373e42228597ae92312aa2ca9ff72ca85b +size 117653