From a2f0aae1aee9240db1a8de82d609c5bfbdf1ea22560272a456d5029843acc205 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Wed, 11 May 2016 15:30:22 +0000 Subject: [PATCH] Accepting request 394896 from devel:languages:haskell:lts - update to 0.5.5 - remove uselees _service OBS-URL: https://build.opensuse.org/request/show/394896 OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-socks?expand=0&rev=5 --- ghc-socks.changes | 6 ++++++ ghc-socks.spec | 45 ++++++++++++++++++++++++++++----------------- socks-0.5.5.tar.gz | 3 +++ 3 files changed, 37 insertions(+), 17 deletions(-) create mode 100644 socks-0.5.5.tar.gz diff --git a/ghc-socks.changes b/ghc-socks.changes index 0942f68..277d5b7 100644 --- a/ghc-socks.changes +++ b/ghc-socks.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat May 7 06:33:56 UTC 2016 - mimi.vx@gmail.com + +- update to 0.5.5 +- remove uselees _service + ------------------------------------------------------------------- Sat Feb 14 16:19:39 UTC 2015 - mimi.vx@gmail.com diff --git a/ghc-socks.spec b/ghc-socks.spec index 841113c..c5d77c7 100644 --- a/ghc-socks.spec +++ b/ghc-socks.spec @@ -1,7 +1,7 @@ # # spec file for package ghc-socks # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 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 @@ -15,60 +15,71 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - %global pkg_name socks -Name: ghc-socks -Version: 0.5.4 + +Name: ghc-%{pkg_name} +Version: 0.5.5 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 + +License: BSD-3-Clause +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-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. +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} -Provides: %{name}-static = %{version}-%{release} +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} + %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 -%{_datadir}/%{pkg_name}-%{version} + %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 new file mode 100644 index 0000000..2ef2837 --- /dev/null +++ b/socks-0.5.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2647ea93e21ad1dfd77e942c022c8707e468d25e1ff672a88be82508034fc868 +size 10159