Accepting request 801009 from devel:languages:haskell

version update

OBS-URL: https://build.opensuse.org/request/show/801009
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-dbus?expand=0&rev=14
This commit is contained in:
Dominique Leuenberger 2020-05-11 11:34:32 +00:00 committed by Git OBS Bridge
commit a43b5bfb9b
4 changed files with 17 additions and 12 deletions

View File

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

3
dbus-1.2.14.tar.gz Normal file
View File

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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed May 6 06:54:12 UTC 2020 - psimons@suse.com
- Update dbus to version 1.2.14.
Upstream does not provide a change log file.
-------------------------------------------------------------------
Fri Feb 28 08:35:46 UTC 2020 - Peter Simons <psimons@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package ghc-dbus
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 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
@ -19,7 +19,7 @@
%global pkg_name dbus
%bcond_with tests
Name: ghc-%{pkg_name}
Version: 1.2.11
Version: 1.2.14
Release: 0
Summary: A client library for the D-Bus IPC system
License: Apache-2.0
@ -76,14 +76,14 @@ Example: connect to the session bus, and get a list of active names.
import Data.List (sort) import DBus import DBus.Client
main = do &#x20; client <- connectSession &#x20; // &#x20; -- Request a list of
main = do &#x20; client <- connectSession &#x20; &#x20; -- Request a list of
connected clients from the bus &#x20; reply <- call_ client (methodCall
"/org/freedesktop/DBus" "org.freedesktop.DBus" "ListNames") &#x20; &#x7b;
methodCallDestination = Just "org.freedesktop.DBus" &#x20; &#x7d; &#x20; //
&#x20; -- org.freedesktop.DBus.ListNames() returns a single value, which is
&#x20; -- a list of names (here represented as [String]) &#x20; let Just names
= fromVariant (methodReturnBody reply !! 0) &#x20; // &#x20; -- Print each name
on a line, sorted so reserved names are below &#x20; -- temporary names.
methodCallDestination = Just "org.freedesktop.DBus" &#x20; &#x7d; &#x20; &#x20;
-- org.freedesktop.DBus.ListNames() returns a single value, which is &#x20; --
a list of names (here represented as [String]) &#x20; let Just names =
fromVariant (methodReturnBody reply !! 0) &#x20; &#x20; -- Print each name on a
line, sorted so reserved names are below &#x20; -- temporary names.
&#x20; mapM_ putStrLn (sort names) '
>$ ghc --make list-names.hs >$ ./list-names >:1.0 >:1.1 >:1.10 >:1.106 >:1.109
@ -102,7 +102,6 @@ This package provides the Haskell %{pkg_name} library development files.
%prep
%setup -q -n %{pkg_name}-%{version}
cabal-tweak-dep-ver lens '<4.19' '< 5'
%build
%ghc_lib_build