Accepting request 286302 from home:mimi_vx:branches:devel:languages:haskell

- bump to 0.5.4
* Lock down import list to prevent issues
* add -fwarn-tab
* Fix de-serialization of IPv4 and IPv6 address

OBS-URL: https://build.opensuse.org/request/show/286302
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-socks?expand=0&rev=3
This commit is contained in:
Peter Trommler 2015-02-16 10:52:46 +00:00 committed by Git OBS Bridge
parent b746b2b65b
commit 0d4a8259a6
4 changed files with 21 additions and 18 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Sat Feb 14 16:19:39 UTC 2015 - mimi.vx@gmail.com
- bump to 0.5.4
* Lock down import list to prevent issues
* add -fwarn-tab
* Fix de-serialization of IPv4 and IPv6 address
-------------------------------------------------------------------
Sun Oct 6 19:58:12 UTC 2013 - sbahling@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package ghc-socks
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,60 +17,55 @@
%global pkg_name socks
Name: ghc-socks
Version: 0.5.2
Version: 0.5.4
Release: 0
Summary: Socks proxy (version 5) implementation
License: BSD-3-Clause
Group: System/Libraries
Url: http://hackage.haskell.org/package/%{pkg_name}
Source0: http://hackage.haskell.org/packages/archive/%{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-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 for Haskell.
%package devel
Summary: Haskell %{pkg_name} library development files
Group: Development/Libraries/Other
Provides: %{name}-static = %{version}-%{release}
Requires: %{name} = %{version}-%{release}
Requires: ghc-compiler = %{ghc_version}
Provides: %{name}-static = %{version}-%{release}
%description devel
This package provides the Haskell %{pkg_name} library development files.
%prep
%setup -q -n %{pkg_name}-%{version}
%build
%ghc_lib_build
%{ghc_lib_build}
%install
%ghc_lib_install
%{ghc_lib_install}
%post devel
%ghc_pkg_recache
%{ghc_pkg_recache}
%postun devel
%ghc_pkg_recache
%{ghc_pkg_recache}
%files -f %{name}.files
%defattr(-,root,root,-)
%doc LICENSE
/usr/share/%{pkg_name}-%{version}
%{_datadir}/%{pkg_name}-%{version}
%files devel -f %{name}-devel.files
%defattr(-,root,root,-)

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5bdf278b4b29b25f743e8e5551b24cd63ca47e212d0c2bcf5257cb4f01cb7baf
size 7971

3
socks-0.5.4.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e9b5e1ea78592632bb086e5f4d6da523be01921a4a8998ca78552bdc396db4da
size 8021