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
This commit is contained in:
parent
8c2f7f835a
commit
7ca8636a65
@ -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
|
||||
|
||||
|
@ -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: <https://www.stackage.org/package/http-client-tls>.
|
||||
|
||||
%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
|
||||
|
Loading…
Reference in New Issue
Block a user