Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package deepin-api for openSUSE:Factory 
checked in at 2025-02-07 23:05:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/deepin-api (Old)
 and      /work/SRC/openSUSE:Factory/.deepin-api.new.2316 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "deepin-api"

Fri Feb  7 23:05:10 2025 rev:12 rq:1244067 version:5.5.25

Changes:
--------
--- /work/SRC/openSUSE:Factory/deepin-api/deepin-api.changes    2023-10-25 
18:03:05.854997715 +0200
+++ /work/SRC/openSUSE:Factory/.deepin-api.new.2316/deepin-api.changes  
2025-02-07 23:10:55.492158623 +0100
@@ -1,0 +2,5 @@
+Fri Feb  7 07:50:13 UTC 2025 - Hillwood Yang <[email protected]>
+
+- Update gopath for Tumbleweed.
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ deepin-api.spec ++++++
--- /var/tmp/diff_new_pack.FRtmue/_old  2025-02-07 23:10:56.328193031 +0100
+++ /var/tmp/diff_new_pack.FRtmue/_new  2025-02-07 23:10:56.328193031 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package deepin-api
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2025 SUSE LLC
 # Copyright (c) 2021 Hillwood Yang <[email protected]>
 #
 # All modifications and additions to the file contributed by third parties
@@ -116,8 +116,13 @@
 
 %prep
 %autosetup -p1 -a1 -n %{repo}-%{version}
+%if 0%{?suse_version} > 1500
+mkdir -p $HOME/rpmbuild/BUILD/%{name}-%{version}-build/go/src/
+cp vendor/* $HOME/rpmbuild/BUILD/%{name}-%{version}-build/go/src/ -r
+%else
 mkdir -p $HOME/rpmbuild/BUILD/go/src/
 cp vendor/* $HOME/rpmbuild/BUILD/go/src/ -r
+%endif
 rm -rf vendor
 
 %build
@@ -127,11 +132,19 @@
 %make_build
 
 %install
+%if 0%{?suse_version} > 1500
+mv $HOME/rpmbuild/BUILD/%{name}-%{version}-build/go/src/github.com/linuxdeepin 
.
+rm -rf $HOME/rpmbuild/BUILD/%{name}-%{version}-build/go/src/github.com/*\
+       $HOME/rpmbuild/BUILD/%{name}-%{version}-build/go/src/golang.org \
+       $HOME/rpmbuild/BUILD/%{name}-%{version}-build/go/src/gopkg.in
+mv linuxdeepin $HOME/rpmbuild/BUILD/%{name}-%{version}-build/go/src/github.com/
+%else
 mv $HOME/rpmbuild/BUILD/go/src/github.com/linuxdeepin .
 rm -rf $HOME/rpmbuild/BUILD/go/src/github.com/*\
        $HOME/rpmbuild/BUILD/go/src/golang.org \
        $HOME/rpmbuild/BUILD/go/src/gopkg.in
 mv linuxdeepin $HOME/rpmbuild/BUILD/go/src/github.com/
+%endif
 %goinstall
 %gosrc
 install -m0644 themes/*.c 
%{buildroot}%{go_contribsrcdir}/%{import_path}/themes/

Reply via email to