From 257b1e54c45347f55c2914e24786025687d2277025c7290f5a58765bae7b44e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Mon, 18 Jul 2016 21:08:03 +0000 Subject: [PATCH] Accepting request 410679 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/410679 OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-socks?expand=0&rev=7 --- 1.cabal | 35 +++++++++++++++++++++++++++++++++++ ghc-socks.changes | 5 +++++ ghc-socks.spec | 20 +++++++------------- socks-0.5.5.tar.gz | 3 --- 4 files changed, 47 insertions(+), 16 deletions(-) create mode 100644 1.cabal delete mode 100644 socks-0.5.5.tar.gz diff --git a/1.cabal b/1.cabal new file mode 100644 index 0000000..0c5c55a --- /dev/null +++ b/1.cabal @@ -0,0 +1,35 @@ +Name: socks +Version: 0.5.5 +x-revision: 1 +Description: Socks proxy (version 5) implementation. +License: BSD3 +License-file: LICENSE +Copyright: Vincent Hanquez +Author: Vincent Hanquez +Maintainer: Vincent Hanquez +Synopsis: Socks proxy (version 5) implementation. +Build-Type: Simple +Category: Network +stability: experimental +Cabal-Version: >=1.6 +Homepage: http://github.com/vincenthz/hs-socks +extra-doc-files: README.md, Example.hs + +Library + -- Needs IsString Lazy.ByteString instance + Build-Depends: base >= 3 && < 5 + , bytestring >=0.10 && <0.11 + , cereal >= 0.3.1 + , network >= 2.3 + Exposed-modules: Network.Socks5 + Network.Socks5.Lowlevel + Network.Socks5.Types + Other-modules: Network.Socks5.Wire + Network.Socks5.Conf + Network.Socks5.Command + Network.Socks5.Parse + ghc-options: -Wall -fno-warn-missing-signatures -fwarn-tabs + +source-repository head + type: git + location: git://github.com/vincenthz/hs-socks diff --git a/ghc-socks.changes b/ghc-socks.changes index 277d5b7..b0e225b 100644 --- a/ghc-socks.changes +++ b/ghc-socks.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Jul 10 17:28:41 UTC 2016 - psimons@suse.com + +- Update to version 0.5.5 revision 1 with cabal2obs. + ------------------------------------------------------------------- Sat May 7 06:33:56 UTC 2016 - mimi.vx@gmail.com diff --git a/ghc-socks.spec b/ghc-socks.spec index c5d77c7..08291d3 100644 --- a/ghc-socks.spec +++ b/ghc-socks.spec @@ -15,45 +15,43 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -%global pkg_name socks +%global pkg_name socks Name: ghc-%{pkg_name} Version: 0.5.5 Release: 0 Summary: Socks proxy (version 5) implementation -Group: System/Libraries - License: BSD-3-Clause +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 - +Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal 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. - %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} +cp -p %{SOURCE1} %{pkg_name}.cabal %build @@ -67,19 +65,15 @@ This package provides the Haskell %{pkg_name} library development files. %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 Example.hs README.md - %changelog diff --git a/socks-0.5.5.tar.gz b/socks-0.5.5.tar.gz deleted file mode 100644 index 2ef2837..0000000 --- a/socks-0.5.5.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2647ea93e21ad1dfd77e942c022c8707e468d25e1ff672a88be82508034fc868 -size 10159