From 95c5f22922dba3df910a4d3b615015fe2540c089b607ab2b1782eccb6a82993e Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 27 Feb 2020 18:23:54 +0000 Subject: [PATCH] osc copypac from project:devel:languages:haskell:ghc-8.8.x package:ghc-network-uri revision:5, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-network-uri?expand=0&rev=36 --- ghc-network-uri.changes | 8 ++++++++ ghc-network-uri.spec | 7 +++++-- network-uri-2.7.0.0.tar.gz | 3 +++ network-uri.cabal | 27 ++++++++++++++++++++++++--- 4 files changed, 40 insertions(+), 5 deletions(-) create mode 100644 network-uri-2.7.0.0.tar.gz diff --git a/ghc-network-uri.changes b/ghc-network-uri.changes index 9980f72..f11fdfb 100644 --- a/ghc-network-uri.changes +++ b/ghc-network-uri.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Fri Feb 7 08:04:22 UTC 2020 - psimons@suse.com + +- Update network-uri to version 2.7.0.0. + Upstream added a new change log file in this release. With no + previous version to compare against, the automatic updater cannot + reliable determine the relevante entries for this release. + ------------------------------------------------------------------- Fri Nov 8 16:14:18 UTC 2019 - Peter Simons diff --git a/ghc-network-uri.spec b/ghc-network-uri.spec index 45c3f9c..541a863 100644 --- a/ghc-network-uri.spec +++ b/ghc-network-uri.spec @@ -1,7 +1,7 @@ # # spec file for package ghc-network-uri # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 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 @@ -19,7 +19,7 @@ %global pkg_name network-uri %bcond_with tests Name: ghc-%{pkg_name} -Version: 2.6.1.0 +Version: 2.7.0.0 Release: 0 Summary: URI manipulation License: BSD-3-Clause @@ -30,8 +30,10 @@ BuildRequires: ghc-Cabal-devel BuildRequires: ghc-deepseq-devel BuildRequires: ghc-parsec-devel BuildRequires: ghc-rpm-macros +BuildRequires: ghc-template-haskell-devel %if %{with tests} BuildRequires: ghc-HUnit-devel +BuildRequires: ghc-criterion-devel BuildRequires: ghc-test-framework-devel BuildRequires: ghc-test-framework-hunit-devel BuildRequires: ghc-test-framework-quickcheck2-devel @@ -97,5 +99,6 @@ cp -p %{SOURCE1} %{pkg_name}.cabal %license LICENSE %files devel -f %{name}-devel.files +%doc CHANGELOG.md README.md %changelog diff --git a/network-uri-2.7.0.0.tar.gz b/network-uri-2.7.0.0.tar.gz new file mode 100644 index 0000000..5df4a2f --- /dev/null +++ b/network-uri-2.7.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fff17f26b51109b4c3b475c6321b77523a1d7cec720ace864262371357e0f869 +size 31113 diff --git a/network-uri.cabal b/network-uri.cabal index c16fe96..c7592f5 100644 --- a/network-uri.cabal +++ b/network-uri.cabal @@ -1,10 +1,10 @@ name: network-uri -version: 2.6.1.0 +version: 2.7.0.0 x-revision: 1 synopsis: URI manipulation description: This package provides facilities for parsing and unparsing URIs, and creating - and resolving relative URI references, closely following the URI spec, + and resolving relative URI references, closely following the URI spec, . . == Backward-compatibility @@ -12,7 +12,7 @@ description: In @network-2.6@ the "Network.URI" module was split off from the @network@ package into this package. If you're using the "Network.URI" module you can be backward compatible and automatically get it from - the right package by using the + the right package by using the in your @.cabal@ file's build-depends (along with dependencies for both @network-uri@ and @network@): @@ -41,18 +41,24 @@ homepage: https://github.com/haskell/network-uri bug-reports: https://github.com/haskell/network-uri/issues license: BSD3 license-file: LICENSE +extra-source-files: README.md, CHANGELOG.md maintainer: ezra@ezrakilty.net category: Network build-type: Simple cabal-version: >=1.10 +tested-with: GHC==8.2.1, GHC==8.0.2, GHC==7.10.3, GHC==7.8.4, GHC==7.6.3, GHC==7.4.2, GHC==7.2.2, GHC==7.0.4 library exposed-modules: Network.URI + Network.URI.Lens + Network.URI.Static build-depends: base >= 3 && < 5, deepseq >= 1.1 && < 1.5, parsec >= 3.0 && < 3.2 + if impl(ghc >= 8.0) + build-depends: template-haskell <2.16 default-extensions: CPP, DeriveDataTypeable if impl(ghc >= 7.6) default-extensions: DeriveGeneric @@ -75,6 +81,21 @@ test-suite uri ghc-options: -Wall -fwarn-tabs default-language: Haskell98 +test-suite uri-bench + hs-source-dirs: tests + main-is: uri-bench.hs + type: exitcode-stdio-1.0 + + build-depends: + base < 5, + HUnit, + network-uri, + criterion, + deepseq + + ghc-options: -Wall -fwarn-tabs + default-language: Haskell98 + source-repository head type: git location: git://github.com/haskell/network-uri.git