|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
# generated by cabal-rpm-2.0.5
|
|
|
|
|
# generated by cabal-rpm-2.0.5.1
|
|
|
|
|
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
|
|
|
|
|
|
|
|
|
|
%global pkg_name network
|
|
|
|
@ -8,8 +8,8 @@
|
|
|
|
|
%bcond_with tests
|
|
|
|
|
|
|
|
|
|
Name: ghc-%{pkg_name}
|
|
|
|
|
Version: 2.8.0.1
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
Version: 3.1.1.1
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Low-level networking interface
|
|
|
|
|
|
|
|
|
|
License: BSD
|
|
|
|
@ -23,11 +23,10 @@ BuildRequires: ghc-Cabal-devel
|
|
|
|
|
BuildRequires: ghc-rpm-macros
|
|
|
|
|
BuildRequires: ghc-base-prof
|
|
|
|
|
BuildRequires: ghc-bytestring-prof
|
|
|
|
|
BuildRequires: ghc-unix-prof
|
|
|
|
|
BuildRequires: ghc-deepseq-prof
|
|
|
|
|
%if %{with tests}
|
|
|
|
|
BuildRequires: ghc-HUnit-devel
|
|
|
|
|
BuildRequires: ghc-directory-devel
|
|
|
|
|
BuildRequires: ghc-doctest-devel
|
|
|
|
|
BuildRequires: ghc-hspec-devel
|
|
|
|
|
BuildRequires: ghc-hspec-discover-devel
|
|
|
|
|
%endif
|
|
|
|
@ -36,8 +35,23 @@ BuildRequires: ghc-hspec-discover-devel
|
|
|
|
|
%description
|
|
|
|
|
This package provides a low-level networking interface.
|
|
|
|
|
|
|
|
|
|
In network-2.6 the 'Network.URI' module was split off into its own package,
|
|
|
|
|
network-uri-2.6.
|
|
|
|
|
=== High-Level Packages Other packages provide higher level interfaces:
|
|
|
|
|
|
|
|
|
|
* connection * hookup * network-simple
|
|
|
|
|
|
|
|
|
|
=== Extended Packages 'network' seeks to provide a cross-platform core for
|
|
|
|
|
networking. As such some APIs live in extended libraries. Packages in the
|
|
|
|
|
'network' ecosystem are often prefixed with 'network-'.
|
|
|
|
|
|
|
|
|
|
==== 'network-bsd' In 'network-3.0.0.0' the 'Network.BSD' module was split off
|
|
|
|
|
into its own package, 'network-bsd-3.0.0.0'.
|
|
|
|
|
|
|
|
|
|
==== 'network-uri' In 'network-2.6' the 'Network.URI' module was split off into
|
|
|
|
|
its own package, 'network-uri-2.6'. If you're using the 'Network.URI' module
|
|
|
|
|
you can automatically get it from the right package by adding this to your
|
|
|
|
|
'.cabal' file:
|
|
|
|
|
|
|
|
|
|
> library > build-depends: network-uri-flag.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
@ -89,7 +103,6 @@ This package provides the Haskell %{pkg_name} profiling library.
|
|
|
|
|
%install
|
|
|
|
|
# Begin cabal-rpm install
|
|
|
|
|
%ghc_lib_install
|
|
|
|
|
chmod a-x CHANGELOG.md README.md
|
|
|
|
|
# End cabal-rpm install
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -97,16 +110,6 @@ chmod a-x CHANGELOG.md README.md
|
|
|
|
|
%cabal_test
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if 0%{?fedora} < 31 || 0%{?rhel} < 8
|
|
|
|
|
%post devel
|
|
|
|
|
%ghc_pkg_recache
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%postun devel
|
|
|
|
|
%ghc_pkg_recache
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -f %{name}.files
|
|
|
|
|
# Begin cabal-rpm files:
|
|
|
|
|
%license LICENSE
|
|
|
|
@ -129,6 +132,9 @@ chmod a-x CHANGELOG.md README.md
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Jul 10 2020 Jens Petersen <petersen@redhat.com> - 3.1.1.1-1
|
|
|
|
|
- update to 3.1.1.1
|
|
|
|
|
|
|
|
|
|
* Thu Jul 9 2020 Jens Petersen <petersen@redhat.com> - 2.8.0.1-3
|
|
|
|
|
- refresh to cabal-rpm-2.0.2
|
|
|
|
|
- no longer overwrite config.{guess,sub}, to fix rawhide build
|
|
|
|
|