Accepting request 304898 from devel:languages:haskell:lts
- update to 2.6.0.2 * split to network and network-uri packages OBS-URL: https://build.opensuse.org/request/show/304898 OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-network?expand=0&rev=13
This commit is contained in:
parent
10fdda249f
commit
126d24d434
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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
|
Fri Sep 12 06:31:03 UTC 2014 - peter.trommler@ohm-hochschule.de
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package ghc-network
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -18,33 +18,38 @@
|
|||||||
|
|
||||||
%global pkg_name network
|
%global pkg_name network
|
||||||
|
|
||||||
Name: ghc-network
|
%bcond_with tests
|
||||||
Version: 2.4.2.3
|
|
||||||
|
Name: ghc-%{pkg_name}
|
||||||
|
Version: 2.6.0.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Low-level networking interface
|
Summary: Low-level networking interface
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
|
||||||
Url: http://hackage.haskell.org/package/%{pkg_name}
|
Url: https://hackage.haskell.org/package/%{pkg_name}
|
||||||
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
|
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
BuildRequires: ghc-Cabal-devel
|
BuildRequires: ghc-Cabal-devel
|
||||||
BuildRequires: ghc-rpm-macros
|
BuildRequires: ghc-rpm-macros
|
||||||
# Begin cabal-rpm deps:
|
# Begin cabal-rpm deps:
|
||||||
BuildRequires: ghc-bytestring-devel
|
BuildRequires: ghc-bytestring-devel
|
||||||
BuildRequires: ghc-parsec-devel
|
|
||||||
BuildRequires: ghc-unix-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
|
# End cabal-rpm deps
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Low-level networking interface for Haskell.
|
This package provides a low-level networking interface.
|
||||||
|
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Haskell %{pkg_name} library development files
|
Summary: Haskell %{pkg_name} library development files
|
||||||
Group: Development/Libraries/Other
|
Group: Development/Libraries/Other
|
||||||
Provides: %{name}-static = %{version}-%{release}
|
|
||||||
Requires: ghc-compiler = %{ghc_version}
|
Requires: ghc-compiler = %{ghc_version}
|
||||||
Requires(post): ghc-compiler = %{ghc_version}
|
Requires(post): ghc-compiler = %{ghc_version}
|
||||||
Requires(postun): 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
|
%install
|
||||||
%ghc_lib_install
|
%ghc_lib_install
|
||||||
|
|
||||||
|
%check
|
||||||
|
%if %{with tests}
|
||||||
|
%cabal test
|
||||||
|
%endif
|
||||||
|
|
||||||
%post devel
|
%post devel
|
||||||
%ghc_pkg_recache
|
%ghc_pkg_recache
|
||||||
|
|
||||||
@ -75,6 +85,6 @@ This package provides the Haskell %{pkg_name} library development files.
|
|||||||
|
|
||||||
%files devel -f %{name}-devel.files
|
%files devel -f %{name}-devel.files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc examples README
|
%doc README.md examples
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:801b9c652dae626bf4a96175162b1290e7fe7ff20d802d62434d5ae1d363c16d
|
|
||||||
size 141749
|
|
3
network-2.6.0.2.tar.gz
Normal file
3
network-2.6.0.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:846d4099c4b1b3d05bec32c52cbef57313d513696a3e7a19a146bd5295d26789
|
||||||
|
size 116657
|
Loading…
Reference in New Issue
Block a user