Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package percona-toolkit for openSUSE:Factory 
checked in at 2026-05-28 17:27:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/percona-toolkit (Old)
 and      /work/SRC/openSUSE:Factory/.percona-toolkit.new.1937 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "percona-toolkit"

Thu May 28 17:27:29 2026 rev:41 rq:1355490 version:3.7.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/percona-toolkit/percona-toolkit.changes  
2021-10-12 21:50:59.472012403 +0200
+++ 
/work/SRC/openSUSE:Factory/.percona-toolkit.new.1937/percona-toolkit.changes    
    2026-05-28 17:28:51.952504148 +0200
@@ -1,0 +2,8 @@
+Wed May 20 21:45:16 UTC 2026 - Marcus Rueckert <[email protected]>
+
+- Percona Toolkit v3.7.1:
+  Too many to mention here
+  For all see details 
https://github.com/percona/percona-toolkit/blob/3.x/Changelog
+- Update go-build.patch
+
+-------------------------------------------------------------------

Old:
----
  percona-toolkit-3.3.1.tar.gz
  vendor.tar.xz

New:
----
  _service
  percona-toolkit-3.7.1.tar.gz
  vendor.tar.zst

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

Other differences:
------------------
++++++ percona-toolkit.spec ++++++
--- /var/tmp/diff_new_pack.kzCcGw/_old  2026-05-28 17:28:52.888542894 +0200
+++ /var/tmp/diff_new_pack.kzCcGw/_new  2026-05-28 17:28:52.892543059 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package percona-toolkit
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -15,31 +15,37 @@
 # Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
-%define revision 6917c5d
+
+%define revision v%{version}
 
 Name:           percona-toolkit
-Version:        3.3.1
+Version:        3.7.1
 Release:        0
 Summary:        Advanced MySQL and system command-line tools
 License:        GPL-2.0-only
 Group:          Productivity/Databases/Tools
 URL:            https://www.percona.com/software/percona-toolkit/
-Source:         
https://www.percona.com/downloads/%{name}/%{version}/source/tarball/%{name}-%{version}.tar.gz
-Source1:        vendor.tar.xz
+Source:         
https://github.com/percona/percona-toolkit/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
+Source1:        vendor.tar.zst
 Source2:        %{name}.conf
 Source9:        series
 Patch1:         go-build.patch
-Requires:       perl(DBD::mysql) >= 1.0
-Requires:       perl(DBI) >= 1.13
+BuildRequires:  perl(DBD::mysql) >= 3
+BuildRequires:  perl(DBI) >= 1.46
+BuildRequires:  perl(IO::Socket::SSL)
+BuildRequires:  perl(Term::ReadKey) >= 2.10
+BuildRequires:  perl(Time::HiRes)
+Requires:       perl(DBD::mysql) >= 3
+Requires:       perl(DBI) >= 1.46
 Requires:       perl(IO::Socket::SSL)
 Requires:       perl(Term::ReadKey) >= 2.10
 Requires:       perl(Time::HiRes)
 Provides:       maatkit = 7410.%{version}
 Obsoletes:      maatkit < 7410
 BuildRequires:  golang-packaging
+BuildRequires:  zstd
 BuildRequires:  golang(API)
 %{perl_requires}
-%{go_nostrip}
 
 %description
 Percona Toolkit is a collection of advanced command-line tools used by
@@ -64,15 +70,11 @@
 perl Makefile.PL INSTALLDIRS=vendor < /dev/null
 sed -i 's|%{_bindir}/env perl|%{_bindir}/perl|' bin/*
 sed -i 's|%{_bindir}/env bash|%{_bindir}/bash|' bin/*
-%make_build
-pushd src/go
-make linux \
-  TOP_DIR=../../ \
-  BIN_DIR=../../bingo/ \
+%make_build \
   VERSION=%{version} \
-  BUILD=$(date -u '+%FT%T%z' -d @${SOURCE_DATE_EPOCH}) \
-  COMMIT=%{revision} 
-popd
+  BUILD_DATE=$(date -u '+%FT%T%z' -d @${SOURCE_DATE_EPOCH}) \
+  COMMIT=%{revision} \
+  V=1
 
 %install
 %perl_make_install
@@ -84,7 +86,7 @@
 # a blank configuration file
 mkdir -p %{buildroot}%{_sysconfdir}/%{name}
 cp %{SOURCE2} %{buildroot}%{_sysconfdir}/%{name}/
-cp -a bingo/* %{buildroot}%{_bindir}/
+cp -a $(file bin/* | awk -F ':' '/x86-64/ {print $1}') %{buildroot}%{_bindir}/
 
 %files
 %license COPYING

++++++ _service ++++++
<services>
  <service name="download_files" mode="manual">
  </service>
  <service name="go_modules" mode="manual">
    <param name="archive">*.tar.gz</param>
    <param name="compression">zst</param>
    <param name="replace">
     golang.org/x/net=golang.org/x/[email protected]
    </param>
  </service>
</services>

++++++ go-build.patch ++++++
--- /var/tmp/diff_new_pack.kzCcGw/_old  2026-05-28 17:28:52.944545212 +0200
+++ /var/tmp/diff_new_pack.kzCcGw/_new  2026-05-28 17:28:52.944545212 +0200
@@ -1,30 +1,29 @@
-Index: percona-toolkit-3.3.1/src/go/Makefile
+Index: percona-toolkit-3.7.1/src/go/Makefile
 ===================================================================
---- percona-toolkit-3.3.1.orig/src/go/Makefile
-+++ percona-toolkit-3.3.1/src/go/Makefile
-@@ -14,9 +14,9 @@ FILES = $(shell find . -type f -name '*.
+--- percona-toolkit-3.7.1.orig/src/go/Makefile
++++ percona-toolkit-3.7.1/src/go/Makefile
+@@ -159,9 +159,8 @@ darwin-arm64:               ## Build Go
  
- PREFIX=$(shell pwd)
- TOP_DIR=$(shell git rev-parse --show-toplevel)
--BIN_DIR=$(shell git rev-parse --show-toplevel)/bin
--SRC_DIR=$(shell git rev-parse --show-toplevel)/src/go
--LDFLAGS="-X main.Version=${VERSION} -X main.Build=${BUILD} -X 
main.GoVersion=${GOVERSION} -X main.Commit=${COMMIT} -s -w"
-+BIN_DIR=$(TOP_DIR)/bin
-+SRC_DIR=$(TOP_DIR)/src/go
-+LDFLAGS="-X main.Version=${VERSION} -X main.Build=${BUILD} -X 
main.GoVersion=${GOVERSION} -X main.Commit=${COMMIT} -w"
+ build:                                                ## Build Go tools for 
current platform
+       @echo "Building binaries in ${BIN_DIR} as version ${VERSION}"
+-      @cd ${TOP_DIR} && go get ./...
+       @$(foreach pkg,$(pkgs),rm -f ${BIN_DIR}/$(pkg) 2> /dev/null;)
+-      @$(foreach pkg,$(pkgs),go build -ldflags ${LDFLAGS} -o 
${BIN_DIR}/$(pkg) ./$(pkg);)
++      @$(foreach pkg,$(pkgs),go build -mod=vendor -ldflags ${LDFLAGS} -o 
${BIN_DIR}/$(pkg) ./$(pkg);)
  
- TEST_PSMDB_VERSION?=4.0
- TEST_MONGODB_FLAVOR?=percona/percona-server-mongodb
-@@ -111,6 +111,11 @@ env-down: env                             ## Clean-up 
MongoDB doc
-       docker-compose down -v
-       rm .env
+ style:                                                ## Check code style
+       @echo ">> checking code style"
+Index: percona-toolkit-3.7.1/Makefile.PL
+===================================================================
+--- percona-toolkit-3.7.1.orig/Makefile.PL
++++ percona-toolkit-3.7.1/Makefile.PL
+@@ -4,7 +4,7 @@ use ExtUtils::MY;
+ sub MY::postamble {
+     return <<'MAKE_GOTOOLS';
+ gotools:
+-      cd src/go && $(MAKE) build
++      cd src/go && $(MAKE) build VERSION=$(VERSION) BUILD_DATE=$(BUILD_DATE) 
COMMIT=$(COMMIT) V=1
  
-+linux:                                ## Build Mongo tools for linux-amd64
-+      echo "Building linux binaries in ${BIN_DIR}"
-+      $(foreach pkg,$(pkgs),rm -f ${BIN_DIR}/$(pkg) 2> /dev/null;)
-+      $(foreach pkg,$(pkgs),go build -mod=vendor -buildmode=pie -ldflags 
${LDFLAGS} -o ${BIN_DIR}/$(pkg) ./$(pkg);)
-+
- linux-amd64:                          ## Build Mongo tools for linux-amd64
-       @echo "Building linux/amd64 binaries in ${BIN_DIR}"
-       @cd ${TOP_DIR} && go get ./...
+ MAKE_GOTOOLS
+ }
 

++++++ percona-toolkit-3.3.1.tar.gz -> percona-toolkit-3.7.1.tar.gz ++++++
/work/SRC/openSUSE:Factory/percona-toolkit/percona-toolkit-3.3.1.tar.gz 
/work/SRC/openSUSE:Factory/.percona-toolkit.new.1937/percona-toolkit-3.7.1.tar.gz
 differ: char 5, line 1

Reply via email to