From 8baef65642b56e0052a24e77f15328351f7425d7d4900ffd2899ba1c0ee95fe7 Mon Sep 17 00:00:00 2001 From: Peter Trommler Date: Thu, 1 Aug 2013 12:32:58 +0000 Subject: [PATCH] Accepting request 185259 from devel:languages:haskell:platform Update to Haskell Platform 2013.2.0.0 OBS-URL: https://build.opensuse.org/request/show/185259 OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-network?expand=0&rev=7 --- ghc-network.changes | 9 ++++++++ ghc-network.spec | 47 +++++++++++++++++++++++++----------------- network-2.3.1.0.tar.gz | 3 --- network-2.4.1.2.tar.gz | 3 +++ 4 files changed, 40 insertions(+), 22 deletions(-) delete mode 100644 network-2.3.1.0.tar.gz create mode 100644 network-2.4.1.2.tar.gz diff --git a/ghc-network.changes b/ghc-network.changes index 28f6f3c..e8ac3d4 100644 --- a/ghc-network.changes +++ b/ghc-network.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Mon May 6 17:41:10 UTC 2013 - peter.trommler@ohm-hochschule.de + +- update to 2.4.1.2 from upstream +* no changelog +* see https://github.com/haskell/network for commit messages +- update needed for Haskell Platform 2013.2 +- more transparent packaging (fewer macros) + ------------------------------------------------------------------- Mon Jan 7 15:22:09 UTC 2013 - peter.trommler@ohm-hochschule.de diff --git a/ghc-network.spec b/ghc-network.spec index 484f5d8..8039591 100644 --- a/ghc-network.spec +++ b/ghc-network.spec @@ -1,8 +1,7 @@ # # spec file for package ghc-network # - -# 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 @@ -16,6 +15,7 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + %global pkg_name network %global common_summary Haskell Low-level networking interface library @@ -23,49 +23,58 @@ %global common_description A low-level networking interface library for Haskell. Name: ghc-network -Version: 2.3.1.0 -Release: 1 +Version: 2.4.1.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-bytestring-devel BuildRequires: ghc-parsec-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 +%files -f %{name}.files +%defattr(-,root,root,-) +%doc LICENSE +%files devel -f %{name}-devel.files +%defattr(-,root,root,-) %changelog diff --git a/network-2.3.1.0.tar.gz b/network-2.3.1.0.tar.gz deleted file mode 100644 index e568f60..0000000 --- a/network-2.3.1.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d47c7fd9d08575acf9ff76661f9e6c0abf7fcf1280972d419f84b142272fe2ba -size 137476 diff --git a/network-2.4.1.2.tar.gz b/network-2.4.1.2.tar.gz new file mode 100644 index 0000000..d372e5a --- /dev/null +++ b/network-2.4.1.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b04dc56542428bc92f11263f500b3ad82e6a0787805601472d59af7e769bfe38 +size 140424