Hello community, here is the log from the commit of package ghc-wreq for openSUSE:Factory checked in at 2016-07-26 13:00:35 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-wreq (Old) and /work/SRC/openSUSE:Factory/.ghc-wreq.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-wreq" Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-wreq/ghc-wreq.changes 2015-12-29 12:59:54.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.ghc-wreq.new/ghc-wreq.changes 2016-07-26 13:12:59.000000000 +0200 @@ -1,0 +2,5 @@ +Sun Jul 10 17:33:56 UTC 2016 - [email protected] + +- Update to version 0.4.1.0 revision 1 with cabal2obs. + +------------------------------------------------------------------- New: ---- 1.cabal ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-wreq.spec ++++++ --- /var/tmp/diff_new_pack.6omq3D/_old 2016-07-26 13:13:00.000000000 +0200 +++ /var/tmp/diff_new_pack.6omq3D/_new 2016-07-26 13:13:00.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package ghc-wreq # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 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 @@ -15,23 +15,19 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -%global pkg_name wreq +%global pkg_name wreq %bcond_with tests - -Name: ghc-wreq +Name: ghc-%{pkg_name} Version: 0.4.1.0 Release: 0 Summary: An easy-to-use HTTP client library -Group: System/Libraries - License: BSD-3-Clause +Group: System/Libraries Url: https://hackage.haskell.org/package/%{pkg_name} Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-build - +Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal BuildRequires: ghc-Cabal-devel -BuildRequires: ghc-rpm-macros # Begin cabal-rpm deps: BuildRequires: ghc-aeson-devel BuildRequires: ghc-attoparsec-devel @@ -51,11 +47,13 @@ BuildRequires: ghc-lens-devel BuildRequires: ghc-mime-types-devel BuildRequires: ghc-psqueues-devel +BuildRequires: ghc-rpm-macros BuildRequires: ghc-template-haskell-devel BuildRequires: ghc-text-devel BuildRequires: ghc-time-devel BuildRequires: ghc-time-locale-compat-devel BuildRequires: ghc-unordered-containers-devel +BuildRoot: %{_tmppath}/%{name}-%{version}-build %if %{with tests} BuildRequires: ghc-HUnit-devel BuildRequires: ghc-QuickCheck-devel @@ -103,21 +101,20 @@ * Early TLS support via the tls package. - %package devel Summary: Haskell %{pkg_name} library development files Group: Development/Libraries/Other +Requires: %{name} = %{version}-%{release} Requires: ghc-compiler = %{ghc_version} Requires(post): ghc-compiler = %{ghc_version} Requires(postun): ghc-compiler = %{ghc_version} -Requires: %{name} = %{version}-%{release} %description devel This package provides the Haskell %{pkg_name} library development files. - %prep %setup -q -n %{pkg_name}-%{version} +cp -p %{SOURCE1} %{pkg_name}.cabal %build @@ -130,26 +127,22 @@ %check %if %{with tests} -%cabal test +%{cabal} test %endif %post devel %ghc_pkg_recache - %postun devel %ghc_pkg_recache - %files -f %{name}.files %defattr(-,root,root,-) %doc LICENSE.md - %files devel -f %{name}-devel.files %defattr(-,root,root,-) -%doc README.md TODO.md examples - +%doc README.md TODO.md changelog.md examples %changelog ++++++ 1.cabal ++++++ name: wreq version: 0.4.1.0 x-revision: 1 synopsis: An easy-to-use HTTP client library. description: . A web client library that is designed for ease of use. . Tutorial: <http://www.serpentine.com/wreq/tutorial.html> . Features include: . * Simple but powerful `lens`-based API . * A solid test suite, and built on reliable libraries like http-client and lens . * Session handling includes connection keep-alive and pooling, and cookie persistence . * Automatic response body decompression . * Powerful multipart form and file upload handling . * Support for JSON requests and responses, including navigation of schema-less responses . * Basic and OAuth2 bearer authentication . * Early TLS support via the tls package homepage: http://www.serpentine.com/wreq bug-reports: https://github.com/bos/wreq/issues license: BSD3 license-file: LICENSE.md author: Bryan O'Sullivan <[email protected]> maintainer: [email protected] copyright: 2014 Bryan O'Sullivan category: Web build-type: Custom cabal-version: >=1.10 extra-source-files: README.md TODO.md changelog.md examples/*.cabal examples/*.hs www/*.css www/*.md www/Makefile -- disable doctests with -f-doctest flag doctest description: enable doctest tests default: True manual: True -- enable aws with -faws flag aws description: enable AWS tests default: False manual: True -- enable httpbin with -fhttpbin flag httpbin description: enable httpbin test daemon default: False manual: True flag developer description: build in developer mode default: False manual: True library ghc-options: -Wall -fwarn-tabs -funbox-strict-fields if flag(developer) ghc-options: -Werror default-language: Haskell98 exposed-modules: Network.Wreq Network.Wreq.Cache Network.Wreq.Cache.Store Network.Wreq.Lens Network.Wreq.Session Network.Wreq.Types other-modules: Network.Wreq.Internal Network.Wreq.Internal.AWS Network.Wreq.Internal.Lens Network.Wreq.Internal.Link Network.Wreq.Internal.OAuth1 Network.Wreq.Internal.Types Network.Wreq.Lens.Machinery Network.Wreq.Lens.TH Paths_wreq build-depends: psqueues >= 0.2, aeson >= 0.7.0.3, attoparsec >= 0.11.1.0, authenticate-oauth == 1.5.*, base >= 4.5 && < 5, base16-bytestring, byteable, bytestring >= 0.9, case-insensitive, containers, cryptohash, exceptions >= 0.5, ghc-prim, hashable, http-client >= 0.4.6 && <0.5, http-client-tls >= 0.2, http-types >= 0.8, lens >= 4.5, lens-aeson, mime-types, time-locale-compat, template-haskell, text, time, unordered-containers -- A convenient server for testing locally, or if httpbin.org is down. executable httpbin hs-source-dirs: httpbin ghc-options: -Wall -fwarn-tabs -threaded -rtsopts if flag(developer) ghc-options: -Werror default-language: Haskell98 main-is: HttpBin.hs other-modules: HttpBin.Server if !flag(httpbin) buildable: False else build-depends: aeson >= 0.7, aeson-pretty >= 0.7.1, base >= 4.5 && < 5, base64-bytestring, bytestring, case-insensitive, containers, snap-core, snap-server >= 0.9.4.4, text, time, transformers, unix-compat, uuid test-suite tests type: exitcode-stdio-1.0 hs-source-dirs: httpbin tests main-is: Tests.hs ghc-options: -Wall -fwarn-tabs -funbox-strict-fields -threaded -rtsopts if flag(developer) ghc-options: -Werror default-language: Haskell98 other-modules: Properties.Store UnitTests if flag(aws) cpp-options: -DAWS_TESTS other-modules: AWS AWS.Aeson AWS.DynamoDB AWS.IAM AWS.S3 AWS.SQS if flag(aws) build-depends: base >= 4.7 && < 5 build-depends: HUnit, QuickCheck >= 2.7, aeson, aeson-pretty >= 0.7.1, base >= 4.5 && < 5, base64-bytestring, bytestring, case-insensitive, containers, hashable, http-client, http-types, lens, lens-aeson, network-info, snap-core, snap-server >= 0.9.4.4, temporary, test-framework, test-framework-hunit, test-framework-quickcheck2, text, time, transformers, unix-compat, uuid, vector, wreq test-suite doctest type: exitcode-stdio-1.0 hs-source-dirs: tests main-is: DocTests.hs ghc-options: -Wall -fwarn-tabs -threaded if flag(developer) ghc-options: -Werror default-language: Haskell98 if !flag(doctest) buildable: False else build-depends: base >= 4.5 && < 5, directory, doctest, filepath source-repository head type: git location: https://github.com/bos/wreq source-repository head type: mercurial location: https://bitbucket.org/bos/wreq
