File project.diff of Package arduino-cli

--- _service.orig
+++ _service
@@ -3,7 +3,7 @@
   <service name="obs_scm"     mode="manual">
     <param name="url">https://github.com/arduino/arduino-cli.git</param>
     <param name="scm">git</param>
-    <param name="revision">v1.0.4</param>
+    <param name="revision">v1.3.1</param>
     <param name="versionformat">@PARENT_TAG@</param>
     <param name="versionrewrite-pattern">v(.*)</param>
     <param name="changesgenerate">enable</param>
--- _servicedata.orig
+++ _servicedata
@@ -1,4 +1,4 @@
 <servicedata>
 <service name="tar_scm">
                 <param name="url">https://github.com/arduino/arduino-cli.git</param>
-              <param name="changesrevision">a0d912da186fe905243194ea8a70635d3b6db837</param></service></servicedata>
\ No newline at end of file
+              <param name="changesrevision">08ff7e2b76b7cd6394c4d09420b10cf0592b4405</param></service></servicedata>
\ No newline at end of file
--- arduino-cli.changes.orig
+++ arduino-cli.changes
@@ -1,4 +1,94 @@
 -------------------------------------------------------------------
+Sat Aug 30 09:21:55 UTC 2025 - Stefan Seyfried <seife+obs@b1-systems.com>
+
+- Update to version 1.3.1:
+  * fix: Multiple gRPC `Create/Init/Destroy` cycles causes multiple
+    pluggable-discovery zombie process (#2985)
+  * commands: use the new endpoint to detect boards (#2974)
+
+-------------------------------------------------------------------
+Mon Aug 11 11:07:18 UTC 2025 - Stefan Seyfried <seife+obs@b1-systems.com>
+
+- Update to version 1.3.0:
+  * Updated translation files (#2939)
+  * linker: allow multi-step link recipe (`c.combine`) (#2954)
+  * Extract and extend license and copyright (#2959)
+  * Improved compile speed by running multi-threaded library
+    discovery. (#2625)
+  * Auto-import libraries based on sketch profile. (#2951)
+  * ci: push proto files to buf registry (#2950)
+  * Allow platforms without fixed version in profiles. (#2940)
+  * Allow locally installed libraries in sketch profiles. (#2930)
+  * Some bugfix in profile parsing / Better support for platforms
+    having tools dependencies on other platforms. (#2942)
+  * sketch: fixed prototype generation when included libraries
+    contains very long lines (#2935)
+  * Improve error code when platform not available for OS (#2933)
+  * bugfix: Kill compile processes that generates too much
+    output (#2883)
+  * Move information re: allowed characters for FQBN component
+    to specifications (#2902)
+
+-------------------------------------------------------------------
+Fri Jun 13 07:06:07 UTC 2025 - Stefan Seyfried <seife+obs@b1-systems.com>
+
+- add patches:
+  * arduino-cli-dont-hide-library-stats.patch to show used
+    libraries again without --verbose
+  * arduino-cli-respect-LC_MESSAGES.patch to respect LC_MESSAGES
+    environment variable
+
+-------------------------------------------------------------------
+Wed Jun 11 09:19:46 UTC 2025 - Stefan Seyfried <seife+obs@b1-systems.com>
+
+- Update to version 1.2.2:
+  * Updated translation files (#2854)
+  * Fix user network config being ignored in package manger operations (#2889)
+  * fix: allow lib-install from git using revision hash as a reference (#2882)
+  * Upgrade golang version to 1.24.1 (#2850)
+  * Fix NewSketch crash when directories.user is not set (#2862)
+  * bugfix: `compile ... --dump-profile` now produces a clean output (only the profile) (#2852)
+  * Updated translation files (#2771)
+  * Fixed library install from git-url when reference points to a git branch (#2833)
+  * fix(docs): typo in suggested host value (#2830)
+  * On compile command: implemented `--quiet` flag / removed libraries recap on default verbosity level. (#2820)
+  * Add metadata retrieved from the `context` to the user agent when a new HTTP client is created (#2789)
+  * Fixed panic if malformed 3rd party url is specified (#2817)
+  * Added option to disable integrity checks in `core install` (for development purposes) (#2740)
+  * Added `BoardIdentify` gRPC call. (#2794)
+  * fix: Sketch preprocessing errors were displayed on stdout instead of stderr (#2806)
+  * improved error messages parsing (#2782)
+  * Upgrade some golang packages (#2792)
+  * compile: fix export when artifacts contains a folder (#2788)
+  * settings: add `network.connection_timeout` and `network.cloud_api.skip_board_detection_calls` (#2770)
+  * Expose golang `fqbn` package for public use (#2768)
+  * Made 'version' package internal (#2767)
+  * Updated and refined documentation (#2760)
+- packaging: adapt to "version" package made internal
+
+-------------------------------------------------------------------
+Tue Dec 10 08:52:07 UTC 2024 - seife+obs@b1-systems.com
+
+- Update to version 1.1.1:
+  * In `compile` command try to release the package manager lock ASAP (#2741)
+  * Use a more helpful message when a 'signature expired' error happens. (#2750)
+  * Fixed locales (translations) not being detected with default config (#2724)
+  * Do not fail if downloaded file has good checksum but incorrect size. (#2739)
+  * Use `buf.build` to manage our protobuf related activities (#2736)
+  * gRPC: if an `Upload` request is canceled, immediately terminate the upload tool process. (#2726)
+  * Fixed compiler-cache on Windows when there are non-ASCII characters in file path (#2733)
+  * Set installer tmp path to env var (#2730)
+  * Fixed invalid gRPC TaskProgress message on compile (#2731)
+  * Increased gRPC message size limit to 16MB / added CLI flag to set the value (#2729)
+  * Fix monitor init handling (#2728)
+  * Improved package index merging logic (#2713)
+  * Allow port, protocol and port settings to be specified in profiles. (#2717)
+  * Fixed `build_cache.path` behaviour / The `--build-path` dir now produce a full build (#2673)
+  * Add riscv64 linux tools download support (#2700)
+  * Added possibility to set custom properties on upload/burn-bootloader/debug commands. (#2693)
+  * core: list return empty array instead of null, when no cores are installed (#2691)
+
+-------------------------------------------------------------------
 Tue Aug 27 08:11:24 UTC 2024 - seife+obs@b1-systems.com
 
 - Update to version 1.0.4:
--- arduino-cli.obsinfo.orig
+++ arduino-cli.obsinfo
@@ -1,4 +1,4 @@
 name: arduino-cli
-version: 1.0.4
-mtime: 1723469570
-commit: a0d912da186fe905243194ea8a70635d3b6db837
+version: 1.3.1
+mtime: 1756309444
+commit: 08ff7e2b76b7cd6394c4d09420b10cf0592b4405
--- arduino-cli.spec.orig
+++ arduino-cli.spec
@@ -15,14 +15,14 @@
 # Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
-%global import_path  github.com/arduino/arduino-cli
+%global import_path  github.com/arduino/arduino-cli/internal
 %global gcc_ver      11
 %global goflags      -buildmode=pie -trimpath -mod=vendor
 %define arduinodir   %{_libdir}/arduino
 
 
 Name:           arduino-cli
-Version:        1.0.4
+Version:        1.3.1
 Release:        0
 Summary:        Arduino command line tool
 Group:          Development/Tools/Other
@@ -33,7 +33,9 @@ Source0:        %{name}-%{version}.tar.g
 Source1:        vendor.tar.gz
 Source2:        arduino-cli-update-message.txt
 Source10:       %{name}.obsinfo
-BuildRequires:  go >= 1.22
+Patch0:         arduino-cli-dont-hide-library-stats.patch
+Patch1:         arduino-cli-respect-LC_MESSAGES.patch
+BuildRequires:  go >= 1.24.1
 BuildRequires:  golang-packaging
 #Requires:       cross-avr-gcc%%{gcc_ver}
 Requires:       /usr/bin/avr-gcc
@@ -93,6 +95,7 @@ Fish command line completion support for
 
 %prep
 %setup -q -a 1
+%autopatch -p1
 
 %build
 go build %{goflags} -ldflags="-linkmode=external \
openSUSE Build Service is sponsored by