From 7ca8636a65a4d9cbdab77763bd9b3aaa6246377c0a296837ea55290ee640a010 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Sat, 16 Jul 2016 23:27:05 +0000 Subject: [PATCH] Accepting request 409972 from devel:languages:haskell:lts:6 See https://lists.opensuse.org/opensuse-haskell/2016-07/msg00000.html for details. OBS-URL: https://build.opensuse.org/request/show/409972 OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-http-client-tls?expand=0&rev=7 --- ghc-http-client-tls.changes | 5 +++++ ghc-http-client-tls.spec | 27 ++++++++++----------------- 2 files changed, 15 insertions(+), 17 deletions(-) diff --git a/ghc-http-client-tls.changes b/ghc-http-client-tls.changes index 0bd4433..1330942 100644 --- a/ghc-http-client-tls.changes +++ b/ghc-http-client-tls.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Jul 10 17:22:49 UTC 2016 - psimons@suse.com + +- Update to version 0.2.4.1 revision 0 with cabal2obs. + ------------------------------------------------------------------- Fri Jun 17 07:51:57 UTC 2016 - mimi.vx@gmail.com diff --git a/ghc-http-client-tls.spec b/ghc-http-client-tls.spec index 8b0c399..0549c34 100644 --- a/ghc-http-client-tls.spec +++ b/ghc-http-client-tls.spec @@ -15,30 +15,27 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + %global pkg_name http-client-tls - %bcond_with tests - -Name: ghc-http-client-tls +Name: ghc-%{pkg_name} Version: 0.2.4.1 Release: 0 Summary: Http-client backend using the connection package and tls library -Group: System/Libraries - License: MIT +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 - BuildRequires: ghc-Cabal-devel -BuildRequires: ghc-rpm-macros # Begin cabal-rpm deps: BuildRequires: ghc-bytestring-devel BuildRequires: ghc-connection-devel BuildRequires: ghc-data-default-class-devel BuildRequires: ghc-http-client-devel BuildRequires: ghc-network-devel +BuildRequires: ghc-rpm-macros BuildRequires: ghc-tls-devel +BuildRoot: %{_tmppath}/%{name}-%{version}-build %if %{with tests} BuildRequires: ghc-hspec-devel BuildRequires: ghc-http-types-devel @@ -46,22 +43,21 @@ BuildRequires: ghc-http-types-devel # End cabal-rpm deps %description -Intended for use by higher-level libraries, such as http-conduit. - +Hackage documentation generation is not reliable. For up to date documentation, +please see: . %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} @@ -76,25 +72,22 @@ files. %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 - %files devel -f %{name}-devel.files %defattr(-,root,root,-) - +%doc ChangeLog.md README.md %changelog