Hello community, here is the log from the commit of package ghc-dbus for openSUSE:Factory checked in at 2017-04-14 13:37:30 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-dbus (Old) and /work/SRC/openSUSE:Factory/.ghc-dbus.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-dbus" Fri Apr 14 13:37:30 2017 rev:5 rq:485117 version:0.10.12 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-dbus/ghc-dbus.changes 2016-07-21 08:03:59.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-dbus.new/ghc-dbus.changes 2017-04-14 13:37:31.956989348 +0200 @@ -1,0 +2,5 @@ +Wed Mar 22 09:17:19 UTC 2017 - psim...@suse.com + +- Update to version 0.10.12 revision 1 with cabal2obs. + +------------------------------------------------------------------- New: ---- dbus.cabal ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-dbus.spec ++++++ --- /var/tmp/diff_new_pack.YBpxIW/_old 2017-04-14 13:37:32.556904563 +0200 +++ /var/tmp/diff_new_pack.YBpxIW/_new 2017-04-14 13:37:32.560903997 +0200 @@ -1,7 +1,7 @@ # # spec file for package ghc-dbus # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 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 @@ -23,11 +23,11 @@ Release: 0 Summary: A client library for the D-Bus IPC system License: GPL-3.0+ -Group: System/Libraries +Group: Development/Languages/Other Url: https://hackage.haskell.org/package/%{pkg_name} Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz +Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal BuildRequires: ghc-Cabal-devel -# Begin cabal-rpm deps: BuildRequires: ghc-bytestring-devel BuildRequires: ghc-cereal-devel BuildRequires: ghc-containers-devel @@ -50,7 +50,6 @@ BuildRequires: ghc-filepath-devel BuildRequires: ghc-process-devel %endif -# End cabal-rpm deps %description D-Bus is a simple, message-based protocol for inter-process communication, @@ -97,21 +96,16 @@ %prep %setup -q -n %{pkg_name}-%{version} - +cp -p %{SOURCE1} %{pkg_name}.cabal %build %ghc_lib_build - %install %ghc_lib_install - %check -%if %{with tests} -%{cabal} test -%endif - +%cabal_test %post devel %ghc_pkg_recache ++++++ dbus.cabal ++++++ name: dbus version: 0.10.12 x-revision: 1 license: GPL-3 license-file: license.txt author: John Millikin <j...@john-millikin.com> maintainer: John Millikin <j...@john-millikin.com> build-type: Simple cabal-version: >= 1.8 category: Network, Desktop stability: experimental homepage: https://john-millikin.com/software/haskell-dbus/ bug-reports: mailto:jmilli...@gmail.com synopsis: A client library for the D-Bus IPC system. description: D-Bus is a simple, message-based protocol for inter-process communication, which allows applications to interact with other parts of the machine and the user's session using remote procedure calls. . D-Bus is a essential part of the modern Linux desktop, where it replaces earlier protocols such as CORBA and DCOP. . This library is an implementation of the D-Bus protocol in Haskell. It can be used to add D-Bus support to Haskell applications, without the awkward interfaces common to foreign bindings. . Example: connect to the session bus, and get a list of active names. . @ {-\# LANGUAGE OverloadedStrings \#-} . import Data.List (sort) import DBus import DBus.Client . 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.   mapM_ putStrLn (sort names) @ . >$ ghc --make list-names.hs >$ ./list-names >:1.0 >:1.1 >:1.10 >:1.106 >:1.109 >:1.110 >ca.desrt.dconf >org.freedesktop.DBus >org.freedesktop.Notifications >org.freedesktop.secrets >org.gnome.ScreenSaver extra-source-files: benchmarks/DBusBenchmarks.hs -- examples/dbus-monitor.hs examples/export.hs examples/introspect.hs examples/list-names.hs -- tests/DBusTests.hs tests/DBusTests/*.hs source-repository head type: git location: https://john-millikin.com/code/haskell-dbus/ source-repository this type: git location: https://john-millikin.com/code/haskell-dbus/ tag: haskell-dbus_0.10.12 library ghc-options: -Wall -O2 hs-source-dirs: lib if impl(ghc>=7.10) ghc-options: -fno-warn-tabs -- IMPORTANT: keep these in sync with the test suite build-depends: base >= 4.0 && < 5.0 , bytestring >= 0.10.2 && < 0.11 , cereal >= 0.3.4 && < 0.6 , containers >= 0.1 && < 0.6 , libxml-sax >= 0.7 && < 0.8 , network >= 2.2.3 && < 2.7 , parsec >= 2.0 && < 3.2 , random >= 1.0 && < 2.0 , text >= 0.11.1.5 && < 1.3 , transformers >= 0.2 && < 0.6 , unix >= 2.2 && < 2.8 , vector >= 0.7 && < 0.13 , xml-types >= 0.3 && < 0.4 exposed-modules: DBus DBus.Client DBus.Introspection DBus.Socket DBus.Transport other-modules: DBus.Address DBus.Message DBus.Types DBus.Wire test-suite dbus_tests type: exitcode-stdio-1.0 main-is: DBusTests.hs hs-source-dirs: lib,tests if impl(ghc>=7.10) ghc-options: -fno-warn-tabs build-depends: base >= 4.0 && < 5.0 , bytestring >= 0.10.2 && < 0.11 , cereal >= 0.3.4 && < 0.6 , chell >= 0.4 && < 0.5 , chell-quickcheck >= 0.2 && < 0.3 , containers >= 0.1 && < 0.6 , directory , filepath , libxml-sax >= 0.7 && < 0.8 , network >= 2.2.3 && < 2.7 , parsec >= 2.0 && < 3.2 , process >= 1.0 && < 2.0 , QuickCheck >= 2.4 && < 2.9 , random >= 1.0 && < 2.0 , text >= 0.11.1.5 && < 1.3 , transformers >= 0.2 && < 0.6 , unix >= 2.2 && < 2.8 , vector >= 0.7 && < 0.13 , xml-types >= 0.3 && < 0.4 benchmark dbus_benchmarks type: exitcode-stdio-1.0 main-is: DBusBenchmarks.hs hs-source-dirs: benchmarks ghc-options: -Wall -O2 -fno-warn-orphans if impl(ghc>=7.10) ghc-options: -fno-warn-tabs build-depends: dbus , base > 4.0 && < 5.0 , criterion >= 1.0 && < 2.0 , deepseq >= 1.1 && < 1.5