Accepting request 411376 from devel:languages:haskell
1 OBS-URL: https://build.opensuse.org/request/show/411376 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-http-client-tls?expand=0&rev=4
This commit is contained in:
commit
69ac874da6
@ -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
|
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/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%global pkg_name http-client-tls
|
%global pkg_name http-client-tls
|
||||||
|
|
||||||
%bcond_with tests
|
%bcond_with tests
|
||||||
|
Name: ghc-%{pkg_name}
|
||||||
Name: ghc-http-client-tls
|
|
||||||
Version: 0.2.4.1
|
Version: 0.2.4.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Http-client backend using the connection package and tls library
|
Summary: Http-client backend using the connection package and tls library
|
||||||
Group: System/Libraries
|
|
||||||
|
|
||||||
License: MIT
|
License: MIT
|
||||||
|
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-bytestring-devel
|
BuildRequires: ghc-bytestring-devel
|
||||||
BuildRequires: ghc-connection-devel
|
BuildRequires: ghc-connection-devel
|
||||||
BuildRequires: ghc-data-default-class-devel
|
BuildRequires: ghc-data-default-class-devel
|
||||||
BuildRequires: ghc-http-client-devel
|
BuildRequires: ghc-http-client-devel
|
||||||
BuildRequires: ghc-network-devel
|
BuildRequires: ghc-network-devel
|
||||||
|
BuildRequires: ghc-rpm-macros
|
||||||
BuildRequires: ghc-tls-devel
|
BuildRequires: ghc-tls-devel
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%if %{with tests}
|
%if %{with tests}
|
||||||
BuildRequires: ghc-hspec-devel
|
BuildRequires: ghc-hspec-devel
|
||||||
BuildRequires: ghc-http-types-devel
|
BuildRequires: ghc-http-types-devel
|
||||||
@ -46,22 +43,21 @@ BuildRequires: ghc-http-types-devel
|
|||||||
# End cabal-rpm deps
|
# End cabal-rpm deps
|
||||||
|
|
||||||
%description
|
%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
|
%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
|
This package provides the Haskell %{pkg_name} library development
|
||||||
files.
|
files.
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{pkg_name}-%{version}
|
%setup -q -n %{pkg_name}-%{version}
|
||||||
|
|
||||||
@ -76,25 +72,22 @@ files.
|
|||||||
|
|
||||||
%check
|
%check
|
||||||
%if %{with tests}
|
%if %{with tests}
|
||||||
%cabal test
|
%{cabal} test
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%post devel
|
%post devel
|
||||||
%ghc_pkg_recache
|
%ghc_pkg_recache
|
||||||
|
|
||||||
|
|
||||||
%postun devel
|
%postun devel
|
||||||
%ghc_pkg_recache
|
%ghc_pkg_recache
|
||||||
|
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc LICENSE
|
%doc LICENSE
|
||||||
|
|
||||||
|
|
||||||
%files devel -f %{name}-devel.files
|
%files devel -f %{name}-devel.files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
|
%doc ChangeLog.md README.md
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user