Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package golang-github-linuxdeepin-go-lib for
openSUSE:Factory checked in at 2021-05-23 00:06:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/golang-github-linuxdeepin-go-lib (Old)
and /work/SRC/openSUSE:Factory/.golang-github-linuxdeepin-go-lib.new.2988
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "golang-github-linuxdeepin-go-lib"
Sun May 23 00:06:15 2021 rev:2 rq:894963 version:5.7.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/golang-github-linuxdeepin-go-lib/golang-github-linuxdeepin-go-lib.changes
2021-04-15 16:58:01.254731603 +0200
+++
/work/SRC/openSUSE:Factory/.golang-github-linuxdeepin-go-lib.new.2988/golang-github-linuxdeepin-go-lib.changes
2021-05-23 00:06:21.978549494 +0200
@@ -1,0 +2,6 @@
+Fri May 21 14:32:12 UTC 2021 - Hillwood Yang <[email protected]>
+
+- Keep golang version on 1.15 on Tumbleweed, the project does not support
+ golang 1.16+
+
+-------------------------------------------------------------------
@@ -15 +20,0 @@
-
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ golang-github-linuxdeepin-go-lib.spec ++++++
--- /var/tmp/diff_new_pack.HDtMtL/_old 2021-05-23 00:06:22.358547473 +0200
+++ /var/tmp/diff_new_pack.HDtMtL/_new 2021-05-23 00:06:22.358547473 +0200
@@ -1,7 +1,7 @@
#
# spec file for package golang-github-linuxdeepin-go-lib
#
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,9 +12,10 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
+
%define _name go-lib
%define import_path pkg.deepin.io/lib
@@ -22,26 +23,29 @@
Version: 5.7.0
Release: 0
Summary: Go bindings for Deepin Desktop Environment development
-License: GPL-3.0
+License: GPL-3.0-or-later
URL: https://github.com/linuxdeepin/go-lib
Source0:
https://github.com/linuxdeepin/go-lib/archive/%{version}/%{_name}-%{version}.tar.gz
# The development package of golang is named *-source, please skip this
rpmlint elibX11-1rror.
Source1: golang-github-linuxdeepin-go-lib-rpmlintrc
Group: Development/Languages/Golang
+BuildRequires: fdupes
+BuildRequires: golang-packaging
+BuildRequires: libpulse0
+BuildRequires: mobile-broadband-provider-info
+BuildRequires: golang(pkg.deepin.io/gir/gio-2.0)
+BuildRequires: golang(pkg.deepin.io/gir/glib-2.0)
+BuildRequires: pkgconfig(gdk-pixbuf-2.0)
BuildRequires: pkgconfig(gio-2.0)
BuildRequires: pkgconfig(glib-2.0)
-BuildRequires: libpulse0
BuildRequires: pkgconfig(x11)
-BuildRequires: pkgconfig(gdk-pixbuf-2.0)
-BuildRequires: fdupes
-BuildRequires: mobile-broadband-provider-info
-# BuildRequires: golang(API) = 1.11
-BuildRequires: golang-packaging
+%if 0%{?suse_version} > 1500
+BuildRequires: golang(API) = 1.15
+%endif
+BuildArch: noarch
Requires: golang(pkg.deepin.io/gir/gio-2.0)
Requires: golang(pkg.deepin.io/gir/glib-2.0)
-BuildArch: noarch
-Autoreq: Off
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
+AutoReq: Off
%{go_provides}
%description
@@ -55,7 +59,7 @@
%goprep %{import_path}
%install
-# %goinstall
+%goinstall
%gosrc
install -m 0644 %{_builddir}/go/src/%{import_path}/gdkpixbuf/blur.c \
%{buildroot}%{go_contribsrcdir}/%{import_path}/gdkpixbuf/