diff --git a/ghc-http-client-tls.changes b/ghc-http-client-tls.changes index 1330942..c4e26fc 100644 --- a/ghc-http-client-tls.changes +++ b/ghc-http-client-tls.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Sep 20 10:06:14 UTC 2016 - psimons@suse.com + +- Update to version 0.2.4.1 revision 1 with cabal2obs. + ------------------------------------------------------------------- Sun Jul 10 17:22:49 UTC 2016 - psimons@suse.com diff --git a/ghc-http-client-tls.spec b/ghc-http-client-tls.spec index 0549c34..b79202c 100644 --- a/ghc-http-client-tls.spec +++ b/ghc-http-client-tls.spec @@ -23,11 +23,11 @@ Version: 0.2.4.1 Release: 0 Summary: Http-client backend using the connection package and tls library License: MIT -Group: System/Libraries +Group: Development/Languages/Other Url: https://hackage.haskell.org/package/%{pkg_name} Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz +Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal BuildRequires: ghc-Cabal-devel -# Begin cabal-rpm deps: BuildRequires: ghc-bytestring-devel BuildRequires: ghc-connection-devel BuildRequires: ghc-data-default-class-devel @@ -40,7 +40,6 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: ghc-hspec-devel BuildRequires: ghc-http-types-devel %endif -# End cabal-rpm deps %description Hackage documentation generation is not reliable. For up to date documentation, @@ -60,21 +59,16 @@ files. %prep %setup -q -n %{pkg_name}-%{version} - +cp -p %{SOURCE1} %{pkg_name}.cabal %build %ghc_lib_build - %install %ghc_lib_install - %check -%if %{with tests} -%{cabal} test -%endif - +%cabal_test %post devel %ghc_pkg_recache @@ -88,6 +82,5 @@ files. %files devel -f %{name}-devel.files %defattr(-,root,root,-) -%doc ChangeLog.md README.md %changelog diff --git a/http-client-tls.cabal b/http-client-tls.cabal new file mode 100644 index 0000000..ac4611a --- /dev/null +++ b/http-client-tls.cabal @@ -0,0 +1,38 @@ +name: http-client-tls +version: 0.2.4.1 +x-revision: 1 +synopsis: http-client backend using the connection package and tls library +description: Hackage documentation generation is not reliable. For up to date documentation, please see: . +homepage: https://github.com/snoyberg/http-client +license: MIT +license-file: LICENSE +author: Michael Snoyman +maintainer: michael@snoyman.com +category: Network +build-type: Simple +cabal-version: >=1.10 +extra-source-files: README.md + ChangeLog.md + +library + exposed-modules: Network.HTTP.Client.TLS + other-extensions: ScopedTypeVariables + build-depends: base >= 4 && < 5 + , data-default-class + , http-client >= 0.3.5 && <0.5 + , connection >= 0.2.2 + , network + , tls >= 1.2 + , bytestring + default-language: Haskell2010 + +test-suite spec + main-is: Spec.hs + type: exitcode-stdio-1.0 + hs-source-dirs: test + default-language: Haskell2010 + build-depends: base + , hspec + , http-client + , http-client-tls + , http-types