diff --git a/.gitignore b/.gitignore index 4196f39..886a865 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,4 @@ network-2.2.1.7.tar.gz /network-2.6.3.5.tar.gz /network-2.6.3.6.tar.gz /network-2.8.0.1.tar.gz +/network-3.1.1.1.tar.gz diff --git a/ghc-network.spec b/ghc-network.spec index 99160ed..6c0cd97 100644 --- a/ghc-network.spec +++ b/ghc-network.spec @@ -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 - 3.1.1.1-1 +- update to 3.1.1.1 + * Thu Jul 9 2020 Jens Petersen - 2.8.0.1-3 - refresh to cabal-rpm-2.0.2 - no longer overwrite config.{guess,sub}, to fix rawhide build diff --git a/sources b/sources index 8b8369c..060c698 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (network-2.8.0.1.tar.gz) = e133b1fadfdb0a38fff1fbeabec8ec90a8e7ec49a32a168077588289127ede25b7b4077269eac99f42df657f52e73332a58781e4d9ffd1cd1058497d8ac90f85 +SHA512 (network-3.1.1.1.tar.gz) = caafd3c0730d0f6378230e0acdf285ca50480f02a44963c1f9ae9dc3d53cd496dd3171d7ff4bf79a1e072b85698d74f82d8075b999d5ba1d17ab1429c8094ca8