1
0

Accepting request 411377 from devel:languages:haskell

1

OBS-URL: https://build.opensuse.org/request/show/411377
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-http-client?expand=0&rev=19
This commit is contained in:
Dominique Leuenberger 2016-07-21 06:04:44 +00:00 committed by Git OBS Bridge
commit a476c82963
2 changed files with 12 additions and 15 deletions

View File

@ -1,7 +1,7 @@
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Jul 10 15:42:37 UTC 2016 - mimi.vx@gmail.com Sun Jul 10 15:42:37 UTC 2016 - mimi.vx@gmail.com
- update to 0.4.31 - update to version 0.4.31 revision 0
* Added length validation for RequestBodyStream * Added length validation for RequestBodyStream
------------------------------------------------------------------- -------------------------------------------------------------------

View File

@ -17,29 +17,22 @@
%global pkg_name http-client %global pkg_name http-client
%bcond_with tests %bcond_with tests
Name: ghc-%{pkg_name}
Name: ghc-http-client
Version: 0.4.31 Version: 0.4.31
Release: 0 Release: 0
Summary: HTTP client engine, intended as a base layer Summary: An HTTP client engine, intended as a base layer for more user-friendly packages
License: MIT License: MIT
Group: System/Libraries Group: System/Libraries
Url: https://hackage.haskell.org/package/%{pkg_name} Url: https://hackage.haskell.org/package/%{pkg_name}
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz 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-Cabal-devel
BuildRequires: ghc-rpm-macros
# Begin cabal-rpm deps: # Begin cabal-rpm deps:
BuildRequires: ghc-array-devel BuildRequires: ghc-array-devel
BuildRequires: ghc-base64-bytestring-devel BuildRequires: ghc-base64-bytestring-devel
BuildRequires: ghc-blaze-builder-devel BuildRequires: ghc-blaze-builder-devel
BuildRequires: ghc-bytestring-devel BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-case-insensitive-devel BuildRequires: ghc-case-insensitive-devel
BuildRequires: ghc-clock-devel
BuildRequires: ghc-containers-devel BuildRequires: ghc-containers-devel
BuildRequires: ghc-cookie-devel BuildRequires: ghc-cookie-devel
BuildRequires: ghc-data-default-class-devel BuildRequires: ghc-data-default-class-devel
@ -51,10 +44,12 @@ BuildRequires: ghc-mime-types-devel
BuildRequires: ghc-network-devel BuildRequires: ghc-network-devel
BuildRequires: ghc-network-uri-devel BuildRequires: ghc-network-uri-devel
BuildRequires: ghc-random-devel BuildRequires: ghc-random-devel
BuildRequires: ghc-rpm-macros
BuildRequires: ghc-streaming-commons-devel BuildRequires: ghc-streaming-commons-devel
BuildRequires: ghc-text-devel BuildRequires: ghc-text-devel
BuildRequires: ghc-time-devel BuildRequires: ghc-time-devel
BuildRequires: ghc-transformers-devel BuildRequires: ghc-transformers-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if %{with tests} %if %{with tests}
BuildRequires: ghc-async-devel BuildRequires: ghc-async-devel
BuildRequires: ghc-directory-devel BuildRequires: ghc-directory-devel
@ -68,33 +63,35 @@ BuildRequires: ghc-zlib-devel
Hackage documentation generation is not reliable. For up to date documentation, Hackage documentation generation is not reliable. For up to date documentation,
please see: <http://www.stackage.org/package/http-client>. please see: <http://www.stackage.org/package/http-client>.
%package devel %package devel
Summary: Haskell %{pkg_name} library development files Summary: Haskell %{pkg_name} library development files
Group: Development/Libraries/Other Group: Development/Libraries/Other
Requires: %{name} = %{version}-%{release}
Requires: ghc-compiler = %{ghc_version} Requires: ghc-compiler = %{ghc_version}
Requires(post): ghc-compiler = %{ghc_version} Requires(post): ghc-compiler = %{ghc_version}
Requires(postun): ghc-compiler = %{ghc_version} Requires(postun): ghc-compiler = %{ghc_version}
Requires: %{name} = %{version}-%{release}
%description devel %description devel
This package provides the Haskell %{pkg_name} library development files. This package provides the Haskell %{pkg_name} library development files.
%prep %prep
%setup -q -n %{pkg_name}-%{version} %setup -q -n %{pkg_name}-%{version}
%build %build
%ghc_lib_build %ghc_lib_build
%install %install
%ghc_lib_install %ghc_lib_install
%check %check
%if %{with tests} %if %{with tests}
%cabal test %{cabal} test
%endif %endif
%post devel %post devel
%ghc_pkg_recache %ghc_pkg_recache
@ -107,6 +104,6 @@ This package provides the Haskell %{pkg_name} library development files.
%files devel -f %{name}-devel.files %files devel -f %{name}-devel.files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc README.md %doc ChangeLog.md README.md
%changelog %changelog