diff --git a/dbus-1.2.11.tar.gz b/dbus-1.2.11.tar.gz deleted file mode 100644 index 29af408..0000000 --- a/dbus-1.2.11.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:da2e75448edc1529ae1bbe26bb90a633967841f2a359b359f799aa48227d0a94 -size 78068 diff --git a/dbus-1.2.14.tar.gz b/dbus-1.2.14.tar.gz new file mode 100644 index 0000000..3dc0b53 --- /dev/null +++ b/dbus-1.2.14.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:28e7fa7e06054759dc1f0eb196df314948d9a48c1a7ff37d6d20b18d84246070 +size 78005 diff --git a/ghc-dbus.changes b/ghc-dbus.changes index 6ec090d..a612120 100644 --- a/ghc-dbus.changes +++ b/ghc-dbus.changes @@ -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 diff --git a/ghc-dbus.spec b/ghc-dbus.spec index be87dae..0d5da3f 100644 --- a/ghc-dbus.spec +++ b/ghc-dbus.spec @@ -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 client <- connectSession // -- Request a list of +main = do client <- connectSession -- Request a list of connected clients from the bus reply <- call_ client (methodCall "/org/freedesktop/DBus" "org.freedesktop.DBus" "ListNames") { -methodCallDestination = Just "org.freedesktop.DBus" } // - -- org.freedesktop.DBus.ListNames() returns a single value, which is - -- a list of names (here represented as [String]) let Just names -= fromVariant (methodReturnBody reply !! 0) // -- Print each name -on a line, sorted so reserved names are below -- temporary names. +methodCallDestination = Just "org.freedesktop.DBus" } +-- org.freedesktop.DBus.ListNames() returns a single value, which is -- +a list of names (here represented as [String]) let Just names = +fromVariant (methodReturnBody reply !! 0) -- Print each name on a +line, sorted so reserved names are below -- temporary names. 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