SHA256
1
0
forked from pool/ghc-socks

Accepting request 432812 from devel:languages:haskell:lts:7

version / revision update

OBS-URL: https://build.opensuse.org/request/show/432812
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-socks?expand=0&rev=9
This commit is contained in:
Peter Simons 2016-10-03 08:26:00 +00:00 committed by Git OBS Bridge
parent 257b1e54c4
commit dfb8dc8585
2 changed files with 37 additions and 43 deletions

View File

@ -22,18 +22,16 @@ Version: 0.5.5
Release: 0
Summary: Socks proxy (version 5) implementation
License: BSD-3-Clause
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
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-cereal-devel
BuildRequires: ghc-network-devel
BuildRequires: ghc-rpm-macros
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# End cabal-rpm deps
%description
Socks proxy (version 5) implementation.
@ -53,15 +51,12 @@ This package provides the Haskell %{pkg_name} library development files.
%setup -q -n %{pkg_name}-%{version}
cp -p %{SOURCE1} %{pkg_name}.cabal
%build
%ghc_lib_build
%install
%ghc_lib_install
%post devel
%ghc_pkg_recache
@ -74,6 +69,5 @@ cp -p %{SOURCE1} %{pkg_name}.cabal
%files devel -f %{name}-devel.files
%defattr(-,root,root,-)
%doc Example.hs README.md
%changelog