Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package
golang-github-linuxdeepin-go-dbus-factory for openSUSE:Factory checked in at
2021-06-02 22:11:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/golang-github-linuxdeepin-go-dbus-factory
(Old)
and
/work/SRC/openSUSE:Factory/.golang-github-linuxdeepin-go-dbus-factory.new.1898
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "golang-github-linuxdeepin-go-dbus-factory"
Wed Jun 2 22:11:05 2021 rev:2 rq:894964 version:1.9.3
Changes:
--------
---
/work/SRC/openSUSE:Factory/golang-github-linuxdeepin-go-dbus-factory/golang-github-linuxdeepin-go-dbus-factory.changes
2021-04-15 16:58:00.062729717 +0200
+++
/work/SRC/openSUSE:Factory/.golang-github-linuxdeepin-go-dbus-factory.new.1898/golang-github-linuxdeepin-go-dbus-factory.changes
2021-06-02 22:11:21.752123457 +0200
@@ -1,0 +2,12 @@
+Fri May 21 14:00:14 UTC 2021 - Hillwood Yang <[email protected]>
+
+- Keep golang version on 1.15 on Tumbleweed, the project does not support
+ golang 1.16+
+
+-------------------------------------------------------------------
+Sun May 2 13:11:03 UTC 2021 - Hillwood Yang <[email protected]>
+
+- Update version to 1.9.3
+ * Add two apis: com.deepin.dde.clipboard, com.deepin.dde.notification
+
+-------------------------------------------------------------------
Old:
----
go-dbus-factory-1.8.6.tar.gz
New:
----
go-dbus-factory-1.9.3.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ golang-github-linuxdeepin-go-dbus-factory.spec ++++++
--- /var/tmp/diff_new_pack.6vlYp0/_old 2021-06-02 22:11:22.220123418 +0200
+++ /var/tmp/diff_new_pack.6vlYp0/_new 2021-06-02 22:11:22.224123418 +0200
@@ -22,7 +22,7 @@
%define import_path %{provider_prefix}
Name: golang-%{provider}-%{project}-%{repo}
-Version: 1.8.6
+Version: 1.9.3
Release: 0
Summary: Golang DBus factory
License: GPL-3.0+
@@ -30,6 +30,9 @@
Source0:
https://github.com/linuxdeepin/go-dbus-factory/archive/%{version}/%{repo}-%{version}.tar.gz
Group: Development/Languages/Golang
BuildRequires: fdupes
+%if 0%{?suse_version} > 1500
+BuildRequires: golang(API) = 1.15
+%endif
BuildRequires: golang-packaging
BuildRequires: golang-github-linuxdeepin-go-lib
BuildRequires: golang-github-linuxdeepin-go-gir-generator
++++++ go-dbus-factory-1.8.6.tar.gz -> go-dbus-factory-1.9.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/go-dbus-factory-1.8.6/com.deepin.daemon.gesture/Gesture.xml
new/go-dbus-factory-1.9.3/com.deepin.daemon.gesture/Gesture.xml
--- old/go-dbus-factory-1.8.6/com.deepin.daemon.gesture/Gesture.xml
2021-02-18 11:13:41.000000000 +0100
+++ new/go-dbus-factory-1.9.3/com.deepin.daemon.gesture/Gesture.xml
2021-03-22 06:05:47.000000000 +0100
@@ -60,6 +60,14 @@
<arg name="scalex" type="d"></arg>
<arg name="scaley" type="d"></arg>
</signal>
+ <signal name="TouchMovementEvent">
+ <arg name="duration" type="s"></arg>
+ <arg name="fingers" type="i"></arg>
+ <arg name="startScalex" type="d"></arg>
+ <arg name="startScaley" type="d"></arg>
+ <arg name="endScalex" type="d"></arg>
+ <arg name="endScaley" type="d"></arg>
+ </signal>
</interface>
<interface name="org.freedesktop.DBus.Introspectable">
<method name="Introspect">
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/go-dbus-factory-1.8.6/com.deepin.daemon.gesture/auto.go
new/go-dbus-factory-1.9.3/com.deepin.daemon.gesture/auto.go
--- old/go-dbus-factory-1.8.6/com.deepin.daemon.gesture/auto.go 2021-02-18
11:13:41.000000000 +0100
+++ new/go-dbus-factory-1.9.3/com.deepin.daemon.gesture/auto.go 2021-03-22
06:05:47.000000000 +0100
@@ -358,3 +358,34 @@
return obj.ConnectSignal_(rule, sigRule, handlerFunc)
}
+
+// signal TouchMovementEvent
+
+func (v *gesture) ConnectTouchMovementEvent(cb func(duration string, fingers
int32, startScalex float64, startScaley float64, endScalex float64, endScaley
float64)) (dbusutil.SignalHandlerId, error) {
+ if cb == nil {
+ return 0, errors.New("nil callback")
+ }
+ obj := v.GetObject_()
+ rule := fmt.Sprintf(
+
"type='signal',interface='%s',member='%s',path='%s',sender='%s'",
+ v.GetInterfaceName_(), "TouchMovementEvent", obj.Path_(),
obj.ServiceName_())
+
+ sigRule := &dbusutil.SignalRule{
+ Path: obj.Path_(),
+ Name: v.GetInterfaceName_() + ".TouchMovementEvent",
+ }
+ handlerFunc := func(sig *dbus.Signal) {
+ var duration string
+ var fingers int32
+ var startScalex float64
+ var startScaley float64
+ var endScalex float64
+ var endScaley float64
+ err := dbus.Store(sig.Body, &duration, &fingers, &startScalex,
&startScaley, &endScalex, &endScaley)
+ if err == nil {
+ cb(duration, fingers, startScalex, startScaley,
endScalex, endScaley)
+ }
+ }
+
+ return obj.ConnectSignal_(rule, sigRule, handlerFunc)
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/go-dbus-factory-1.8.6/com.deepin.dde.clipboard/Clipboard.xml
new/go-dbus-factory-1.9.3/com.deepin.dde.clipboard/Clipboard.xml
--- old/go-dbus-factory-1.8.6/com.deepin.dde.clipboard/Clipboard.xml
1970-01-01 01:00:00.000000000 +0100
+++ new/go-dbus-factory-1.9.3/com.deepin.dde.clipboard/Clipboard.xml
2021-03-22 06:05:47.000000000 +0100
@@ -0,0 +1,43 @@
+<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
+"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
+<node>
+ <interface name="com.deepin.dde.Clipboard">
+ <method name="Toggle"/>
+ <method name="Show"/>
+ <method name="Hide"/>
+ </interface>
+ <interface name="org.freedesktop.DBus.Properties">
+ <method name="Get">
+ <arg name="interface_name" type="s" direction="in"/>
+ <arg name="property_name" type="s" direction="in"/>
+ <arg name="value" type="v" direction="out"/>
+ </method>
+ <method name="Set">
+ <arg name="interface_name" type="s" direction="in"/>
+ <arg name="property_name" type="s" direction="in"/>
+ <arg name="value" type="v" direction="in"/>
+ </method>
+ <method name="GetAll">
+ <arg name="interface_name" type="s" direction="in"/>
+ <arg name="values" type="a{sv}" direction="out"/>
+ <annotation name="org.qtproject.QtDBus.QtTypeName.Out0"
value="QVariantMap"/>
+ </method>
+ <signal name="PropertiesChanged">
+ <arg name="interface_name" type="s" direction="out"/>
+ <arg name="changed_properties" type="a{sv}" direction="out"/>
+ <annotation name="org.qtproject.QtDBus.QtTypeName.Out1"
value="QVariantMap"/>
+ <arg name="invalidated_properties" type="as" direction="out"/>
+ </signal>
+ </interface>
+ <interface name="org.freedesktop.DBus.Introspectable">
+ <method name="Introspect">
+ <arg name="xml_data" type="s" direction="out"/>
+ </method>
+ </interface>
+ <interface name="org.freedesktop.DBus.Peer">
+ <method name="Ping"/>
+ <method name="GetMachineId">
+ <arg name="machine_uuid" type="s" direction="out"/>
+ </method>
+ </interface>
+</node>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/go-dbus-factory-1.8.6/com.deepin.dde.clipboard/auto.go
new/go-dbus-factory-1.9.3/com.deepin.dde.clipboard/auto.go
--- old/go-dbus-factory-1.8.6/com.deepin.dde.clipboard/auto.go 1970-01-01
01:00:00.000000000 +0100
+++ new/go-dbus-factory-1.9.3/com.deepin.dde.clipboard/auto.go 2021-03-22
06:05:47.000000000 +0100
@@ -0,0 +1,65 @@
+package Clipboard
+
+import "errors"
+import "fmt"
+import "github.com/godbus/dbus"
+import "pkg.deepin.io/lib/dbusutil"
+import "pkg.deepin.io/lib/dbusutil/proxy"
+import "unsafe"
+
+/* prevent compile error */
+var _ = errors.New
+var _ dbusutil.SignalHandlerId
+var _ = fmt.Sprintf
+var _ unsafe.Pointer
+
+type Clipboard struct {
+ clipboard // interface com.deepin.dde.Clipboard
+ proxy.Object
+}
+
+func NewClipboard(conn *dbus.Conn) *Clipboard {
+ obj := new(Clipboard)
+ obj.Object.Init_(conn, "com.deepin.dde.Clipboard",
"/com/deepin/dde/Clipboard")
+ return obj
+}
+
+type clipboard struct{}
+
+func (v *clipboard) GetObject_() *proxy.Object {
+ return (*proxy.Object)(unsafe.Pointer(v))
+}
+
+func (*clipboard) GetInterfaceName_() string {
+ return "com.deepin.dde.Clipboard"
+}
+
+// method Toggle
+
+func (v *clipboard) GoToggle(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call {
+ return v.GetObject_().Go_(v.GetInterfaceName_()+".Toggle", flags, ch)
+}
+
+func (v *clipboard) Toggle(flags dbus.Flags) error {
+ return (<-v.GoToggle(flags, make(chan *dbus.Call, 1)).Done).Err
+}
+
+// method Show
+
+func (v *clipboard) GoShow(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call {
+ return v.GetObject_().Go_(v.GetInterfaceName_()+".Show", flags, ch)
+}
+
+func (v *clipboard) Show(flags dbus.Flags) error {
+ return (<-v.GoShow(flags, make(chan *dbus.Call, 1)).Done).Err
+}
+
+// method Hide
+
+func (v *clipboard) GoHide(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call {
+ return v.GetObject_().Go_(v.GetInterfaceName_()+".Hide", flags, ch)
+}
+
+func (v *clipboard) Hide(flags dbus.Flags) error {
+ return (<-v.GoHide(flags, make(chan *dbus.Call, 1)).Done).Err
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/go-dbus-factory-1.8.6/com.deepin.dde.clipboard/config.json
new/go-dbus-factory-1.9.3/com.deepin.dde.clipboard/config.json
--- old/go-dbus-factory-1.8.6/com.deepin.dde.clipboard/config.json
1970-01-01 01:00:00.000000000 +0100
+++ new/go-dbus-factory-1.9.3/com.deepin.dde.clipboard/config.json
2021-03-22 06:05:47.000000000 +0100
@@ -0,0 +1,15 @@
+{
+ "Service": "com.deepin.dde.Clipboard",
+ "Objects": [
+ {
+ "Type": "Clipboard",
+ "Path": "/com/deepin/dde/Clipboard",
+ "Interfaces": [
+ {
+ "Name": "com.deepin.dde.Clipboard",
+ "Type": "clipboard"
+ }
+ ]
+ }
+ ]
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/go-dbus-factory-1.8.6/com.deepin.dde.notification/Notification.xml
new/go-dbus-factory-1.9.3/com.deepin.dde.notification/Notification.xml
--- old/go-dbus-factory-1.8.6/com.deepin.dde.notification/Notification.xml
1970-01-01 01:00:00.000000000 +0100
+++ new/go-dbus-factory-1.9.3/com.deepin.dde.notification/Notification.xml
2021-03-22 06:05:47.000000000 +0100
@@ -0,0 +1,188 @@
+<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
+"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
+<node>
+ <interface name="com.deepin.dde.Notification">
+ <method name="CloseNotification">
+ <arg direction="in" type="u"/>
+ </method>
+ <method name="GetCapbilities">
+ <arg direction="out" type="as"/>
+ </method>
+ <method name="GetServerInformation">
+ <arg direction="out" type="s"/>
+ <arg direction="out" type="s"/>
+ <arg direction="out" type="s"/>
+ <arg direction="out" type="s"/>
+ </method>
+ <method name="Notify">
+ <arg direction="in" type="s"/>
+ <arg direction="in" type="u"/>
+ <arg direction="in" type="s"/>
+ <arg direction="in" type="s"/>
+ <arg direction="in" type="s"/>
+ <arg direction="in" type="as"/>
+ <arg direction="in" type="a{sv}"/>
+ <annotation value="QVariantMap"
name="org.qtproject.QtDBus.QtTypeName.In6"/>
+ <arg direction="in" type="i"/>
+ <arg direction="out" type="u"/>
+ </method>
+ <method name="GetAllRecords">
+ <arg direction="out" type="s"/>
+ </method>
+ <method name="GetRecordById">
+ <arg direction="in" type="s"/>
+ <arg direction="out" type="s"/>
+ </method>
+ <method name="GetRecordsFromId">
+ <arg direction="in" type="i"/>
+ <arg direction="in" type="s"/>
+ <arg direction="out" type="s"/>
+ </method>
+ <method name="RemoveRecord">
+ <arg direction="in" type="s"/>
+ </method>
+ <method name="ClearRecords"/>
+ <method name="getAppSetting">
+ <arg direction="in" type="s"/>
+ <arg direction="out" type="s"/>
+ </method>
+ <method name="Toggle"/>
+ <method name="Show"/>
+ <method name="Hide"/>
+ <method name="recordCount">
+ <arg direction="out" type="u"/>
+ </method>
+ <method name="GetAppList">
+ <arg direction="out" type="as"/>
+ </method>
+ <method name="GetAppInfo">
+ <arg direction="in" type="s"/>
+ <arg direction="in" type="u"/>
+ <arg direction="out" type="v"/>
+ </method>
+ <method name="GetSystemInfo">
+ <arg direction="in" type="u"/>
+ <arg direction="out" type="v"/>
+ </method>
+ <method name="SetAppInfo">
+ <arg direction="in" type="s"/>
+ <arg direction="in" type="u"/>
+ <arg direction="in" type="v"/>
+ </method>
+ <method name="SetSystemInfo">
+ <arg direction="in" type="u"/>
+ <arg direction="in" type="v"/>
+ </method>
+ <method name="setAppSetting">
+ <arg direction="in" type="s"/>
+ </method>
+ <signal name="NotificationClosed">
+ <arg type="u"/>
+ <arg type="u"/>
+ </signal>
+ <signal name="ActionInvoked">
+ <arg type="u"/>
+ <arg type="s"/>
+ </signal>
+ <signal name="RecordAdded">
+ <arg type="s"/>
+ </signal>
+ <signal name="AppInfoChanged">
+ <arg type="s"/>
+ <arg type="u"/>
+ <arg type="v"/>
+ </signal>
+ <signal name="SystemInfoChanged">
+ <arg type="u"/>
+ <arg type="v"/>
+ </signal>
+ <signal name="AppAddedSignal">
+ <arg type="s"/>
+ </signal>
+ <signal name="AppRemovedSignal">
+ <arg type="s"/>
+ </signal>
+ <signal name="appRemoved">
+ <arg type="s"/>
+ </signal>
+ <signal name="appAdded">
+ <arg type="s"/>
+ </signal>
+ <signal name="appSettingChanged">
+ <arg type="s"/>
+ </signal>
+ <signal name="systemSettingChanged">
+ <arg type="s"/>
+ </signal>
+ <property access="readwrite" type="s" name="allSetting"/>
+ <property access="readwrite" type="s" name="systemSetting"/>
+ </interface>
+ <interface name="org.freedesktop.Notifications">
+ <signal name="ActionInvoked">
+ <arg name="in0" type="u" direction="out"/>
+ <arg name="in1" type="s" direction="out"/>
+ </signal>
+ <signal name="NotificationClosed">
+ <arg name="in0" type="u" direction="out"/>
+ <arg name="in1" type="u" direction="out"/>
+ </signal>
+ <method name="CloseNotification">
+ <arg name="in0" type="u" direction="in"/>
+ </method>
+ <method name="GetCapabilities">
+ <arg type="as" direction="out"/>
+ </method>
+ <method name="GetServerInformation">
+ <arg type="s" direction="out"/>
+ <arg name="out1" type="s" direction="out"/>
+ <arg name="out2" type="s" direction="out"/>
+ <arg name="out3" type="s" direction="out"/>
+ </method>
+ <method name="Notify">
+ <arg type="u" direction="out"/>
+ <arg name="in0" type="s" direction="in"/>
+ <arg name="in1" type="u" direction="in"/>
+ <arg name="in2" type="s" direction="in"/>
+ <arg name="in3" type="s" direction="in"/>
+ <arg name="in4" type="s" direction="in"/>
+ <arg name="in5" type="as" direction="in"/>
+ <arg name="in6" type="a{sv}" direction="in"/>
+ <annotation name="org.qtproject.QtDBus.QtTypeName.In6"
value="QVariantMap"/>
+ <arg name="in7" type="i" direction="in"/>
+ </method>
+ </interface>
+ <interface name="org.freedesktop.DBus.Properties">
+ <method name="Get">
+ <arg name="interface_name" type="s" direction="in"/>
+ <arg name="property_name" type="s" direction="in"/>
+ <arg name="value" type="v" direction="out"/>
+ </method>
+ <method name="Set">
+ <arg name="interface_name" type="s" direction="in"/>
+ <arg name="property_name" type="s" direction="in"/>
+ <arg name="value" type="v" direction="in"/>
+ </method>
+ <method name="GetAll">
+ <arg name="interface_name" type="s" direction="in"/>
+ <arg name="values" type="a{sv}" direction="out"/>
+ <annotation name="org.qtproject.QtDBus.QtTypeName.Out0"
value="QVariantMap"/>
+ </method>
+ <signal name="PropertiesChanged">
+ <arg name="interface_name" type="s" direction="out"/>
+ <arg name="changed_properties" type="a{sv}" direction="out"/>
+ <annotation name="org.qtproject.QtDBus.QtTypeName.Out1"
value="QVariantMap"/>
+ <arg name="invalidated_properties" type="as" direction="out"/>
+ </signal>
+ </interface>
+ <interface name="org.freedesktop.DBus.Introspectable">
+ <method name="Introspect">
+ <arg name="xml_data" type="s" direction="out"/>
+ </method>
+ </interface>
+ <interface name="org.freedesktop.DBus.Peer">
+ <method name="Ping"/>
+ <method name="GetMachineId">
+ <arg name="machine_uuid" type="s" direction="out"/>
+ </method>
+ </interface>
+</node>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/go-dbus-factory-1.8.6/com.deepin.dde.notification/auto.go
new/go-dbus-factory-1.9.3/com.deepin.dde.notification/auto.go
--- old/go-dbus-factory-1.8.6/com.deepin.dde.notification/auto.go
1970-01-01 01:00:00.000000000 +0100
+++ new/go-dbus-factory-1.9.3/com.deepin.dde.notification/auto.go
2021-03-22 06:05:47.000000000 +0100
@@ -0,0 +1,610 @@
+package notification
+
+import "errors"
+import "fmt"
+import "github.com/godbus/dbus"
+import "pkg.deepin.io/lib/dbusutil"
+import "pkg.deepin.io/lib/dbusutil/proxy"
+import "unsafe"
+
+/* prevent compile error */
+var _ = errors.New
+var _ dbusutil.SignalHandlerId
+var _ = fmt.Sprintf
+var _ unsafe.Pointer
+
+type Notification struct {
+ notification // interface com.deepin.dde.Notification
+ proxy.Object
+}
+
+func NewNotification(conn *dbus.Conn) *Notification {
+ obj := new(Notification)
+ obj.Object.Init_(conn, "com.deepin.dde.osd",
"/com/deepin/dde/Notification")
+ return obj
+}
+
+type notification struct{}
+
+func (v *notification) GetObject_() *proxy.Object {
+ return (*proxy.Object)(unsafe.Pointer(v))
+}
+
+func (*notification) GetInterfaceName_() string {
+ return "com.deepin.dde.Notification"
+}
+
+// method CloseNotification
+
+func (v *notification) GoCloseNotification(flags dbus.Flags, ch chan
*dbus.Call, arg0 uint32) *dbus.Call {
+ return v.GetObject_().Go_(v.GetInterfaceName_()+".CloseNotification",
flags, ch, arg0)
+}
+
+func (v *notification) CloseNotification(flags dbus.Flags, arg0 uint32) error {
+ return (<-v.GoCloseNotification(flags, make(chan *dbus.Call, 1),
arg0).Done).Err
+}
+
+// method GetCapbilities
+
+func (v *notification) GoGetCapbilities(flags dbus.Flags, ch chan *dbus.Call)
*dbus.Call {
+ return v.GetObject_().Go_(v.GetInterfaceName_()+".GetCapbilities",
flags, ch)
+}
+
+func (*notification) StoreGetCapbilities(call *dbus.Call) (arg0 []string, err
error) {
+ err = call.Store(&arg0)
+ return
+}
+
+func (v *notification) GetCapbilities(flags dbus.Flags) (arg0 []string, err
error) {
+ return v.StoreGetCapbilities(
+ <-v.GoGetCapbilities(flags, make(chan *dbus.Call, 1)).Done)
+}
+
+// method GetServerInformation
+
+func (v *notification) GoGetServerInformation(flags dbus.Flags, ch chan
*dbus.Call) *dbus.Call {
+ return
v.GetObject_().Go_(v.GetInterfaceName_()+".GetServerInformation", flags, ch)
+}
+
+func (*notification) StoreGetServerInformation(call *dbus.Call) (arg0 string,
arg1 string, arg2 string, arg3 string, err error) {
+ err = call.Store(&arg0, &arg1, &arg2, &arg3)
+ return
+}
+
+func (v *notification) GetServerInformation(flags dbus.Flags) (arg0 string,
arg1 string, arg2 string, arg3 string, err error) {
+ return v.StoreGetServerInformation(
+ <-v.GoGetServerInformation(flags, make(chan *dbus.Call,
1)).Done)
+}
+
+// method Notify
+
+func (v *notification) GoNotify(flags dbus.Flags, ch chan *dbus.Call, arg0
string, arg1 uint32, arg2 string, arg3 string, arg4 string, arg5 []string, arg6
map[string]dbus.Variant, arg7 int32) *dbus.Call {
+ return v.GetObject_().Go_(v.GetInterfaceName_()+".Notify", flags, ch,
arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7)
+}
+
+func (*notification) StoreNotify(call *dbus.Call) (arg8 uint32, err error) {
+ err = call.Store(&arg8)
+ return
+}
+
+func (v *notification) Notify(flags dbus.Flags, arg0 string, arg1 uint32, arg2
string, arg3 string, arg4 string, arg5 []string, arg6 map[string]dbus.Variant,
arg7 int32) (arg8 uint32, err error) {
+ return v.StoreNotify(
+ <-v.GoNotify(flags, make(chan *dbus.Call, 1), arg0, arg1, arg2,
arg3, arg4, arg5, arg6, arg7).Done)
+}
+
+// method GetAllRecords
+
+func (v *notification) GoGetAllRecords(flags dbus.Flags, ch chan *dbus.Call)
*dbus.Call {
+ return v.GetObject_().Go_(v.GetInterfaceName_()+".GetAllRecords",
flags, ch)
+}
+
+func (*notification) StoreGetAllRecords(call *dbus.Call) (arg0 string, err
error) {
+ err = call.Store(&arg0)
+ return
+}
+
+func (v *notification) GetAllRecords(flags dbus.Flags) (arg0 string, err
error) {
+ return v.StoreGetAllRecords(
+ <-v.GoGetAllRecords(flags, make(chan *dbus.Call, 1)).Done)
+}
+
+// method GetRecordById
+
+func (v *notification) GoGetRecordById(flags dbus.Flags, ch chan *dbus.Call,
arg0 string) *dbus.Call {
+ return v.GetObject_().Go_(v.GetInterfaceName_()+".GetRecordById",
flags, ch, arg0)
+}
+
+func (*notification) StoreGetRecordById(call *dbus.Call) (arg1 string, err
error) {
+ err = call.Store(&arg1)
+ return
+}
+
+func (v *notification) GetRecordById(flags dbus.Flags, arg0 string) (arg1
string, err error) {
+ return v.StoreGetRecordById(
+ <-v.GoGetRecordById(flags, make(chan *dbus.Call, 1), arg0).Done)
+}
+
+// method GetRecordsFromId
+
+func (v *notification) GoGetRecordsFromId(flags dbus.Flags, ch chan
*dbus.Call, arg0 int32, arg1 string) *dbus.Call {
+ return v.GetObject_().Go_(v.GetInterfaceName_()+".GetRecordsFromId",
flags, ch, arg0, arg1)
+}
+
+func (*notification) StoreGetRecordsFromId(call *dbus.Call) (arg2 string, err
error) {
+ err = call.Store(&arg2)
+ return
+}
+
+func (v *notification) GetRecordsFromId(flags dbus.Flags, arg0 int32, arg1
string) (arg2 string, err error) {
+ return v.StoreGetRecordsFromId(
+ <-v.GoGetRecordsFromId(flags, make(chan *dbus.Call, 1), arg0,
arg1).Done)
+}
+
+// method RemoveRecord
+
+func (v *notification) GoRemoveRecord(flags dbus.Flags, ch chan *dbus.Call,
arg0 string) *dbus.Call {
+ return v.GetObject_().Go_(v.GetInterfaceName_()+".RemoveRecord", flags,
ch, arg0)
+}
+
+func (v *notification) RemoveRecord(flags dbus.Flags, arg0 string) error {
+ return (<-v.GoRemoveRecord(flags, make(chan *dbus.Call, 1),
arg0).Done).Err
+}
+
+// method ClearRecords
+
+func (v *notification) GoClearRecords(flags dbus.Flags, ch chan *dbus.Call)
*dbus.Call {
+ return v.GetObject_().Go_(v.GetInterfaceName_()+".ClearRecords", flags,
ch)
+}
+
+func (v *notification) ClearRecords(flags dbus.Flags) error {
+ return (<-v.GoClearRecords(flags, make(chan *dbus.Call, 1)).Done).Err
+}
+
+// method getAppSetting
+
+func (v *notification) GoGetAppSetting(flags dbus.Flags, ch chan *dbus.Call,
arg0 string) *dbus.Call {
+ return v.GetObject_().Go_(v.GetInterfaceName_()+".getAppSetting",
flags, ch, arg0)
+}
+
+func (*notification) StoreGetAppSetting(call *dbus.Call) (arg1 string, err
error) {
+ err = call.Store(&arg1)
+ return
+}
+
+func (v *notification) GetAppSetting(flags dbus.Flags, arg0 string) (arg1
string, err error) {
+ return v.StoreGetAppSetting(
+ <-v.GoGetAppSetting(flags, make(chan *dbus.Call, 1), arg0).Done)
+}
+
+// method Toggle
+
+func (v *notification) GoToggle(flags dbus.Flags, ch chan *dbus.Call)
*dbus.Call {
+ return v.GetObject_().Go_(v.GetInterfaceName_()+".Toggle", flags, ch)
+}
+
+func (v *notification) Toggle(flags dbus.Flags) error {
+ return (<-v.GoToggle(flags, make(chan *dbus.Call, 1)).Done).Err
+}
+
+// method Show
+
+func (v *notification) GoShow(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
{
+ return v.GetObject_().Go_(v.GetInterfaceName_()+".Show", flags, ch)
+}
+
+func (v *notification) Show(flags dbus.Flags) error {
+ return (<-v.GoShow(flags, make(chan *dbus.Call, 1)).Done).Err
+}
+
+// method Hide
+
+func (v *notification) GoHide(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
{
+ return v.GetObject_().Go_(v.GetInterfaceName_()+".Hide", flags, ch)
+}
+
+func (v *notification) Hide(flags dbus.Flags) error {
+ return (<-v.GoHide(flags, make(chan *dbus.Call, 1)).Done).Err
+}
+
+// method recordCount
+
+func (v *notification) GoRecordCount(flags dbus.Flags, ch chan *dbus.Call)
*dbus.Call {
+ return v.GetObject_().Go_(v.GetInterfaceName_()+".recordCount", flags,
ch)
+}
+
+func (*notification) StoreRecordCount(call *dbus.Call) (arg0 uint32, err
error) {
+ err = call.Store(&arg0)
+ return
+}
+
+func (v *notification) RecordCount(flags dbus.Flags) (arg0 uint32, err error) {
+ return v.StoreRecordCount(
+ <-v.GoRecordCount(flags, make(chan *dbus.Call, 1)).Done)
+}
+
+// method GetAppList
+
+func (v *notification) GoGetAppList(flags dbus.Flags, ch chan *dbus.Call)
*dbus.Call {
+ return v.GetObject_().Go_(v.GetInterfaceName_()+".GetAppList", flags,
ch)
+}
+
+func (*notification) StoreGetAppList(call *dbus.Call) (arg0 []string, err
error) {
+ err = call.Store(&arg0)
+ return
+}
+
+func (v *notification) GetAppList(flags dbus.Flags) (arg0 []string, err error)
{
+ return v.StoreGetAppList(
+ <-v.GoGetAppList(flags, make(chan *dbus.Call, 1)).Done)
+}
+
+// method GetAppInfo
+
+func (v *notification) GoGetAppInfo(flags dbus.Flags, ch chan *dbus.Call, arg0
string, arg1 uint32) *dbus.Call {
+ return v.GetObject_().Go_(v.GetInterfaceName_()+".GetAppInfo", flags,
ch, arg0, arg1)
+}
+
+func (*notification) StoreGetAppInfo(call *dbus.Call) (arg2 dbus.Variant, err
error) {
+ err = call.Store(&arg2)
+ return
+}
+
+func (v *notification) GetAppInfo(flags dbus.Flags, arg0 string, arg1 uint32)
(arg2 dbus.Variant, err error) {
+ return v.StoreGetAppInfo(
+ <-v.GoGetAppInfo(flags, make(chan *dbus.Call, 1), arg0,
arg1).Done)
+}
+
+// method GetSystemInfo
+
+func (v *notification) GoGetSystemInfo(flags dbus.Flags, ch chan *dbus.Call,
arg0 uint32) *dbus.Call {
+ return v.GetObject_().Go_(v.GetInterfaceName_()+".GetSystemInfo",
flags, ch, arg0)
+}
+
+func (*notification) StoreGetSystemInfo(call *dbus.Call) (arg1 dbus.Variant,
err error) {
+ err = call.Store(&arg1)
+ return
+}
+
+func (v *notification) GetSystemInfo(flags dbus.Flags, arg0 uint32) (arg1
dbus.Variant, err error) {
+ return v.StoreGetSystemInfo(
+ <-v.GoGetSystemInfo(flags, make(chan *dbus.Call, 1), arg0).Done)
+}
+
+// method SetAppInfo
+
+func (v *notification) GoSetAppInfo(flags dbus.Flags, ch chan *dbus.Call, arg0
string, arg1 uint32, arg2 dbus.Variant) *dbus.Call {
+ return v.GetObject_().Go_(v.GetInterfaceName_()+".SetAppInfo", flags,
ch, arg0, arg1, arg2)
+}
+
+func (v *notification) SetAppInfo(flags dbus.Flags, arg0 string, arg1 uint32,
arg2 dbus.Variant) error {
+ return (<-v.GoSetAppInfo(flags, make(chan *dbus.Call, 1), arg0, arg1,
arg2).Done).Err
+}
+
+// method SetSystemInfo
+
+func (v *notification) GoSetSystemInfo(flags dbus.Flags, ch chan *dbus.Call,
arg0 uint32, arg1 dbus.Variant) *dbus.Call {
+ return v.GetObject_().Go_(v.GetInterfaceName_()+".SetSystemInfo",
flags, ch, arg0, arg1)
+}
+
+func (v *notification) SetSystemInfo(flags dbus.Flags, arg0 uint32, arg1
dbus.Variant) error {
+ return (<-v.GoSetSystemInfo(flags, make(chan *dbus.Call, 1), arg0,
arg1).Done).Err
+}
+
+// method setAppSetting
+
+func (v *notification) GoSetAppSetting(flags dbus.Flags, ch chan *dbus.Call,
arg0 string) *dbus.Call {
+ return v.GetObject_().Go_(v.GetInterfaceName_()+".setAppSetting",
flags, ch, arg0)
+}
+
+func (v *notification) SetAppSetting(flags dbus.Flags, arg0 string) error {
+ return (<-v.GoSetAppSetting(flags, make(chan *dbus.Call, 1),
arg0).Done).Err
+}
+
+// signal NotificationClosed
+
+func (v *notification) ConnectNotificationClosed(cb func(arg0 uint32, arg1
uint32)) (dbusutil.SignalHandlerId, error) {
+ if cb == nil {
+ return 0, errors.New("nil callback")
+ }
+ obj := v.GetObject_()
+ rule := fmt.Sprintf(
+
"type='signal',interface='%s',member='%s',path='%s',sender='%s'",
+ v.GetInterfaceName_(), "NotificationClosed", obj.Path_(),
obj.ServiceName_())
+
+ sigRule := &dbusutil.SignalRule{
+ Path: obj.Path_(),
+ Name: v.GetInterfaceName_() + ".NotificationClosed",
+ }
+ handlerFunc := func(sig *dbus.Signal) {
+ var arg0 uint32
+ var arg1 uint32
+ err := dbus.Store(sig.Body, &arg0, &arg1)
+ if err == nil {
+ cb(arg0, arg1)
+ }
+ }
+
+ return obj.ConnectSignal_(rule, sigRule, handlerFunc)
+}
+
+// signal ActionInvoked
+
+func (v *notification) ConnectActionInvoked(cb func(arg0 uint32, arg1 string))
(dbusutil.SignalHandlerId, error) {
+ if cb == nil {
+ return 0, errors.New("nil callback")
+ }
+ obj := v.GetObject_()
+ rule := fmt.Sprintf(
+
"type='signal',interface='%s',member='%s',path='%s',sender='%s'",
+ v.GetInterfaceName_(), "ActionInvoked", obj.Path_(),
obj.ServiceName_())
+
+ sigRule := &dbusutil.SignalRule{
+ Path: obj.Path_(),
+ Name: v.GetInterfaceName_() + ".ActionInvoked",
+ }
+ handlerFunc := func(sig *dbus.Signal) {
+ var arg0 uint32
+ var arg1 string
+ err := dbus.Store(sig.Body, &arg0, &arg1)
+ if err == nil {
+ cb(arg0, arg1)
+ }
+ }
+
+ return obj.ConnectSignal_(rule, sigRule, handlerFunc)
+}
+
+// signal RecordAdded
+
+func (v *notification) ConnectRecordAdded(cb func(arg0 string))
(dbusutil.SignalHandlerId, error) {
+ if cb == nil {
+ return 0, errors.New("nil callback")
+ }
+ obj := v.GetObject_()
+ rule := fmt.Sprintf(
+
"type='signal',interface='%s',member='%s',path='%s',sender='%s'",
+ v.GetInterfaceName_(), "RecordAdded", obj.Path_(),
obj.ServiceName_())
+
+ sigRule := &dbusutil.SignalRule{
+ Path: obj.Path_(),
+ Name: v.GetInterfaceName_() + ".RecordAdded",
+ }
+ handlerFunc := func(sig *dbus.Signal) {
+ var arg0 string
+ err := dbus.Store(sig.Body, &arg0)
+ if err == nil {
+ cb(arg0)
+ }
+ }
+
+ return obj.ConnectSignal_(rule, sigRule, handlerFunc)
+}
+
+// signal AppInfoChanged
+
+func (v *notification) ConnectAppInfoChanged(cb func(arg0 string, arg1 uint32,
arg2 dbus.Variant)) (dbusutil.SignalHandlerId, error) {
+ if cb == nil {
+ return 0, errors.New("nil callback")
+ }
+ obj := v.GetObject_()
+ rule := fmt.Sprintf(
+
"type='signal',interface='%s',member='%s',path='%s',sender='%s'",
+ v.GetInterfaceName_(), "AppInfoChanged", obj.Path_(),
obj.ServiceName_())
+
+ sigRule := &dbusutil.SignalRule{
+ Path: obj.Path_(),
+ Name: v.GetInterfaceName_() + ".AppInfoChanged",
+ }
+ handlerFunc := func(sig *dbus.Signal) {
+ var arg0 string
+ var arg1 uint32
+ var arg2 dbus.Variant
+ err := dbus.Store(sig.Body, &arg0, &arg1, &arg2)
+ if err == nil {
+ cb(arg0, arg1, arg2)
+ }
+ }
+
+ return obj.ConnectSignal_(rule, sigRule, handlerFunc)
+}
+
+// signal SystemInfoChanged
+
+func (v *notification) ConnectSystemInfoChanged(cb func(arg0 uint32, arg1
dbus.Variant)) (dbusutil.SignalHandlerId, error) {
+ if cb == nil {
+ return 0, errors.New("nil callback")
+ }
+ obj := v.GetObject_()
+ rule := fmt.Sprintf(
+
"type='signal',interface='%s',member='%s',path='%s',sender='%s'",
+ v.GetInterfaceName_(), "SystemInfoChanged", obj.Path_(),
obj.ServiceName_())
+
+ sigRule := &dbusutil.SignalRule{
+ Path: obj.Path_(),
+ Name: v.GetInterfaceName_() + ".SystemInfoChanged",
+ }
+ handlerFunc := func(sig *dbus.Signal) {
+ var arg0 uint32
+ var arg1 dbus.Variant
+ err := dbus.Store(sig.Body, &arg0, &arg1)
+ if err == nil {
+ cb(arg0, arg1)
+ }
+ }
+
+ return obj.ConnectSignal_(rule, sigRule, handlerFunc)
+}
+
+// signal AppAddedSignal
+
+func (v *notification) ConnectAppAddedSignal(cb func(arg0 string))
(dbusutil.SignalHandlerId, error) {
+ if cb == nil {
+ return 0, errors.New("nil callback")
+ }
+ obj := v.GetObject_()
+ rule := fmt.Sprintf(
+
"type='signal',interface='%s',member='%s',path='%s',sender='%s'",
+ v.GetInterfaceName_(), "AppAddedSignal", obj.Path_(),
obj.ServiceName_())
+
+ sigRule := &dbusutil.SignalRule{
+ Path: obj.Path_(),
+ Name: v.GetInterfaceName_() + ".AppAddedSignal",
+ }
+ handlerFunc := func(sig *dbus.Signal) {
+ var arg0 string
+ err := dbus.Store(sig.Body, &arg0)
+ if err == nil {
+ cb(arg0)
+ }
+ }
+
+ return obj.ConnectSignal_(rule, sigRule, handlerFunc)
+}
+
+// signal AppRemovedSignal
+
+func (v *notification) ConnectAppRemovedSignal(cb func(arg0 string))
(dbusutil.SignalHandlerId, error) {
+ if cb == nil {
+ return 0, errors.New("nil callback")
+ }
+ obj := v.GetObject_()
+ rule := fmt.Sprintf(
+
"type='signal',interface='%s',member='%s',path='%s',sender='%s'",
+ v.GetInterfaceName_(), "AppRemovedSignal", obj.Path_(),
obj.ServiceName_())
+
+ sigRule := &dbusutil.SignalRule{
+ Path: obj.Path_(),
+ Name: v.GetInterfaceName_() + ".AppRemovedSignal",
+ }
+ handlerFunc := func(sig *dbus.Signal) {
+ var arg0 string
+ err := dbus.Store(sig.Body, &arg0)
+ if err == nil {
+ cb(arg0)
+ }
+ }
+
+ return obj.ConnectSignal_(rule, sigRule, handlerFunc)
+}
+
+// signal appRemoved
+
+func (v *notification) ConnectAppRemoved(cb func(arg0 string))
(dbusutil.SignalHandlerId, error) {
+ if cb == nil {
+ return 0, errors.New("nil callback")
+ }
+ obj := v.GetObject_()
+ rule := fmt.Sprintf(
+
"type='signal',interface='%s',member='%s',path='%s',sender='%s'",
+ v.GetInterfaceName_(), "appRemoved", obj.Path_(),
obj.ServiceName_())
+
+ sigRule := &dbusutil.SignalRule{
+ Path: obj.Path_(),
+ Name: v.GetInterfaceName_() + ".appRemoved",
+ }
+ handlerFunc := func(sig *dbus.Signal) {
+ var arg0 string
+ err := dbus.Store(sig.Body, &arg0)
+ if err == nil {
+ cb(arg0)
+ }
+ }
+
+ return obj.ConnectSignal_(rule, sigRule, handlerFunc)
+}
+
+// signal appAdded
+
+func (v *notification) ConnectAppAdded(cb func(arg0 string))
(dbusutil.SignalHandlerId, error) {
+ if cb == nil {
+ return 0, errors.New("nil callback")
+ }
+ obj := v.GetObject_()
+ rule := fmt.Sprintf(
+
"type='signal',interface='%s',member='%s',path='%s',sender='%s'",
+ v.GetInterfaceName_(), "appAdded", obj.Path_(),
obj.ServiceName_())
+
+ sigRule := &dbusutil.SignalRule{
+ Path: obj.Path_(),
+ Name: v.GetInterfaceName_() + ".appAdded",
+ }
+ handlerFunc := func(sig *dbus.Signal) {
+ var arg0 string
+ err := dbus.Store(sig.Body, &arg0)
+ if err == nil {
+ cb(arg0)
+ }
+ }
+
+ return obj.ConnectSignal_(rule, sigRule, handlerFunc)
+}
+
+// signal appSettingChanged
+
+func (v *notification) ConnectAppSettingChanged(cb func(arg0 string))
(dbusutil.SignalHandlerId, error) {
+ if cb == nil {
+ return 0, errors.New("nil callback")
+ }
+ obj := v.GetObject_()
+ rule := fmt.Sprintf(
+
"type='signal',interface='%s',member='%s',path='%s',sender='%s'",
+ v.GetInterfaceName_(), "appSettingChanged", obj.Path_(),
obj.ServiceName_())
+
+ sigRule := &dbusutil.SignalRule{
+ Path: obj.Path_(),
+ Name: v.GetInterfaceName_() + ".appSettingChanged",
+ }
+ handlerFunc := func(sig *dbus.Signal) {
+ var arg0 string
+ err := dbus.Store(sig.Body, &arg0)
+ if err == nil {
+ cb(arg0)
+ }
+ }
+
+ return obj.ConnectSignal_(rule, sigRule, handlerFunc)
+}
+
+// signal systemSettingChanged
+
+func (v *notification) ConnectSystemSettingChanged(cb func(arg0 string))
(dbusutil.SignalHandlerId, error) {
+ if cb == nil {
+ return 0, errors.New("nil callback")
+ }
+ obj := v.GetObject_()
+ rule := fmt.Sprintf(
+
"type='signal',interface='%s',member='%s',path='%s',sender='%s'",
+ v.GetInterfaceName_(), "systemSettingChanged", obj.Path_(),
obj.ServiceName_())
+
+ sigRule := &dbusutil.SignalRule{
+ Path: obj.Path_(),
+ Name: v.GetInterfaceName_() + ".systemSettingChanged",
+ }
+ handlerFunc := func(sig *dbus.Signal) {
+ var arg0 string
+ err := dbus.Store(sig.Body, &arg0)
+ if err == nil {
+ cb(arg0)
+ }
+ }
+
+ return obj.ConnectSignal_(rule, sigRule, handlerFunc)
+}
+
+// property allSetting s
+
+func (v *notification) AllSetting() proxy.PropString {
+ return proxy.PropString{
+ Impl: v,
+ Name: "allSetting",
+ }
+}
+
+// property systemSetting s
+
+func (v *notification) SystemSetting() proxy.PropString {
+ return proxy.PropString{
+ Impl: v,
+ Name: "systemSetting",
+ }
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/go-dbus-factory-1.8.6/com.deepin.dde.notification/config.json
new/go-dbus-factory-1.9.3/com.deepin.dde.notification/config.json
--- old/go-dbus-factory-1.8.6/com.deepin.dde.notification/config.json
1970-01-01 01:00:00.000000000 +0100
+++ new/go-dbus-factory-1.9.3/com.deepin.dde.notification/config.json
2021-03-22 06:05:47.000000000 +0100
@@ -0,0 +1,15 @@
+{
+ "Service": "com.deepin.dde.osd",
+ "Objects": [
+ {
+ "Type": "Notification",
+ "Path": "/com/deepin/dde/Notification",
+ "Interfaces": [
+ {
+ "Name": "com.deepin.dde.Notification",
+ "Type": "notification"
+ }
+ ]
+ }
+ ]
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/go-dbus-factory-1.8.6/rpm/golang-github-linuxdeepin-dbus-factory.spec
new/go-dbus-factory-1.9.3/rpm/golang-github-linuxdeepin-dbus-factory.spec
--- old/go-dbus-factory-1.8.6/rpm/golang-github-linuxdeepin-dbus-factory.spec
2021-02-18 11:13:41.000000000 +0100
+++ new/go-dbus-factory-1.9.3/rpm/golang-github-linuxdeepin-dbus-factory.spec
2021-03-22 06:05:47.000000000 +0100
@@ -1,46 +1,65 @@
-# Generated by go2rpm
-%bcond_without check
+# Run tests in check section
+# disable for bootstrapping
+%bcond_with check
-# https://github.com/linuxdeepin/go-dbus-factory
-%global goipath github.com/linuxdeepin/go-dbus-factory
-Version: 1.8.0.26
-%global tag %{version}
-%gometa
+%global pkgname github.com/linuxdeepin/go-dbus-factory
-%global common_description %{expand:
-Go DBus factory for Deepin Desktop Environment.}
+#2020-04-26??????%global with_debug 1
+%global with_debug 1
-%global godocs CHANGELOG.md README.md
-
-Name: %{goname}
-Release: 1%{?dist}
-Summary: Go DBus factory for Deepin Desktop Environment
+%if 0%{?with_debug}
+%global debug_package %{nil}
+%endif
+Name: golang-github-linuxdeepin-go-dbus-factory
+Version: 1.9.2
+Release: 1
+Summary: GO DBus factory for Deepin Desktop Environment
License: GPLv3
URL: %{gourl}
-Source0: %{gosource}
-
-BuildRequires: golang(pkg.deepin.io/lib/dbusutil)
-BuildRequires: golang(pkg.deepin.io/lib/dbusutil/proxy)
-BuildRequires: golang(github.com/godbus/dbus)
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: compiler(go-compiler)
+BuildRequires: go-srpm-macros
%description
-%{common_description}
+%{summary}.
+
+%package -n %{name}-devel
+Summary: %{summary}
+BuildArch: noarch
+
+
+%description -n %{name}-devel
+%{summary}.
+
-%gopkg
%prep
-%goprep
+%forgeautosetup
+
%install
-%gopkginstall
+install -d -p %{buildroot}%{gopath}/src/%{pkgname}/
+for file in $(find . -iname "*.go" | grep -v "_tool") ; do
+ install -d -p %{buildroot}%{gopath}/src/%{pkgname}/$(dirname $file)
+ cp -pav $file %{buildroot}%{gopath}/src/%{pkgname}/$file
+ echo "%%{gopath}/src/%%{pkgname}/$file" >> devel.file-list
+done
+
+cp -pav README.md %{buildroot}%{gopath}/src/%{pkgname}/README.md
+cp -pav CHANGELOG.md %{buildroot}%{gopath}/src/%{pkgname}/CHANGELOG.md
+echo "%%{gopath}/src/%%{pkgname}/README.md" >> devel.file-list
+echo "%%{gopath}/src/%%{pkgname}/CHANGELOG.md" >> devel.file-list
%if %{with check}
%check
-%gocheck
+%gochecks
%endif
-%gopkgfiles
+%files -n %{name}-devel -f devel.file-list
+%doc README.md CHANGELOG.md
%changelog
+* Thu Mar 18 2021 uoser <[email protected]> - 1.9.2-1
+- Update to 1.9.2