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
This commit is contained in:
Peter Simons 2020-09-04 15:03:14 +00:00 committed by Git OBS Bridge
parent 347e4eb146
commit 19b328017b
5 changed files with 13 additions and 65 deletions

View File

@ -1,14 +0,0 @@
<constraints>
<overwrite>
<conditions>
<arch>ppc64</arch>
<arch>ppc64le</arch>
</conditions>
<hardware>
<disk>
<size unit="G">6</size>
</disk>
</hardware>
</overwrite>
</constraints>

View File

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

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

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

View File

@ -1,42 +1,3 @@
-------------------------------------------------------------------
Wed Aug 19 09:42:26 UTC 2020 - Michel Normand <normand@linux.vnet.ibm.com>
- Add _constraints with 6GB min disk space for ppc64/ppc64le
-------------------------------------------------------------------
Tue Aug 18 10:44:37 UTC 2020 - Peter Simons <psimons@suse.com>
- 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 <psimons@suse.com>
- 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 <psimons@suse.com> Fri Nov 8 16:13:35 UTC 2019 - Peter Simons <psimons@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package ghc-dbus # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -19,7 +19,7 @@
%global pkg_name dbus %global pkg_name dbus
%bcond_with tests %bcond_with tests
Name: ghc-%{pkg_name} Name: ghc-%{pkg_name}
Version: 1.2.16 Version: 1.2.7
Release: 0 Release: 0
Summary: A client library for the D-Bus IPC system Summary: A client library for the D-Bus IPC system
License: Apache-2.0 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 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 connected clients from the bus &#x20; reply <- call_ client (methodCall
"/org/freedesktop/DBus" "org.freedesktop.DBus" "ListNames") &#x20; &#x7b; "/org/freedesktop/DBus" "org.freedesktop.DBus" "ListNames") &#x20; &#x7b;
methodCallDestination = Just "org.freedesktop.DBus" &#x20; &#x7d; &#x20; &#x20; methodCallDestination = Just "org.freedesktop.DBus" &#x20; &#x7d; &#x20; //
-- org.freedesktop.DBus.ListNames() returns a single value, which is &#x20; -- &#x20; -- org.freedesktop.DBus.ListNames() returns a single value, which is
a list of names (here represented as [String]) &#x20; let Just names = &#x20; -- a list of names (here represented as [String]) &#x20; let Just names
fromVariant (methodReturnBody reply !! 0) &#x20; &#x20; -- Print each name on a = fromVariant (methodReturnBody reply !! 0) &#x20; // &#x20; -- Print each name
line, sorted so reserved names are below &#x20; -- temporary names. on a line, sorted so reserved names are below &#x20; -- temporary names.
&#x20; mapM_ putStrLn (sort names) ' &#x20; mapM_ putStrLn (sort names) '
>$ ghc --make list-names.hs >$ ./list-names >:1.0 >:1.1 >:1.10 >:1.106 >:1.109 >$ 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. This package provides the Haskell %{pkg_name} library development files.
%prep %prep
%autosetup -n %{pkg_name}-%{version} %setup -q -n %{pkg_name}-%{version}
cabal-tweak-dep-ver lens '<4.18' '< 5'
%build %build
%ghc_lib_build %ghc_lib_build