From 19b328017b7dc0e04cdc6fe6053110bd873c21c080e80205a08724642c7085d7 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Fri, 4 Sep 2020 15:03:14 +0000 Subject: [PATCH] osc copypac from project:devel:languages:haskell:ghc-8.6.x package:ghc-dbus revision:18, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-dbus?expand=0&rev=45 --- _constraints | 14 -------------- dbus-1.2.16.tar.gz | 3 --- dbus-1.2.7.tar.gz | 3 +++ ghc-dbus.changes | 39 --------------------------------------- ghc-dbus.spec | 19 ++++++++++--------- 5 files changed, 13 insertions(+), 65 deletions(-) delete mode 100644 _constraints delete mode 100644 dbus-1.2.16.tar.gz create mode 100644 dbus-1.2.7.tar.gz diff --git a/_constraints b/_constraints deleted file mode 100644 index b5b0790..0000000 --- a/_constraints +++ /dev/null @@ -1,14 +0,0 @@ - - - - ppc64 - ppc64le - - - - 6 - - - - - diff --git a/dbus-1.2.16.tar.gz b/dbus-1.2.16.tar.gz deleted file mode 100644 index 251e082..0000000 --- a/dbus-1.2.16.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2cf920353c8f889e73dc90af04f1cd7404d50bc92dd225275b8bdb0329ed7f80 -size 78086 diff --git a/dbus-1.2.7.tar.gz b/dbus-1.2.7.tar.gz new file mode 100644 index 0000000..640d09a --- /dev/null +++ b/dbus-1.2.7.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:858ba04ff943757c3863cef97deed1f84cfa04ba634d24ee79c558973895f37a +size 78016 diff --git a/ghc-dbus.changes b/ghc-dbus.changes index b8a4e78..9037c53 100644 --- a/ghc-dbus.changes +++ b/ghc-dbus.changes @@ -1,42 +1,3 @@ -------------------------------------------------------------------- -Wed Aug 19 09:42:26 UTC 2020 - Michel Normand - -- Add _constraints with 6GB min disk space for ppc64/ppc64le - -------------------------------------------------------------------- -Tue Aug 18 10:44:37 UTC 2020 - Peter Simons - -- Replace %setup -q with the more modern %autosetup macro. - -------------------------------------------------------------------- -Sun Jun 28 02:00:34 UTC 2020 - psimons@suse.com - -- Update dbus to version 1.2.16. - Upstream does not provide a change log file. - -------------------------------------------------------------------- -Tue Jun 9 09:10:54 UTC 2020 - psimons@suse.com - -- Update dbus to version 1.2.15.1. - Upstream does not provide a change log file. - -------------------------------------------------------------------- -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 - -- Update Cabal build information for more accurate dependencies. - -------------------------------------------------------------------- -Sun Dec 29 10:27:38 UTC 2019 - psimons@suse.com - -- Update dbus to version 1.2.11. - Upstream does not provide a change log file. - ------------------------------------------------------------------- Fri Nov 8 16:13:35 UTC 2019 - Peter Simons diff --git a/ghc-dbus.spec b/ghc-dbus.spec index 5f92c61..15ddd1d 100644 --- a/ghc-dbus.spec +++ b/ghc-dbus.spec @@ -1,7 +1,7 @@ # # spec file for package ghc-dbus # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2019 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.16 +Version: 1.2.7 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 @@ -101,7 +101,8 @@ Requires(postun): ghc-compiler = %{ghc_version} This package provides the Haskell %{pkg_name} library development files. %prep -%autosetup -n %{pkg_name}-%{version} +%setup -q -n %{pkg_name}-%{version} +cabal-tweak-dep-ver lens '<4.18' '< 5' %build %ghc_lib_build