Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package cargo-packaging for openSUSE:Factory
checked in at 2026-06-25 10:49:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cargo-packaging (Old)
and /work/SRC/openSUSE:Factory/.cargo-packaging.new.2088 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "cargo-packaging"
Thu Jun 25 10:49:35 2026 rev:18 rq:1361239 version:1.5.0+0
Changes:
--------
--- /work/SRC/openSUSE:Factory/cargo-packaging/cargo-packaging.changes
2025-09-14 18:49:10.147566321 +0200
+++
/work/SRC/openSUSE:Factory/.cargo-packaging.new.2088/cargo-packaging.changes
2026-06-25 10:50:34.407597161 +0200
@@ -1,0 +2,14 @@
+Tue Jun 23 04:03:45 UTC 2026 - [email protected]
+
+- Update to version 1.5.0+0:
+ * Revert addition of --release flag (#18)
+ * Don't force --locked to allow some vendoring conditions (#17)
+
+-------------------------------------------------------------------
+Thu Jun 18 02:30:32 UTC 2026 - [email protected]
+
+- Update to version 1.4.0+0:
+ * Add missing --release flag on install step (#16)
+ * Add RPM 4.20 declarative build system macros (#15)
+
+-------------------------------------------------------------------
Old:
----
cargo-packaging-1.3.0+0.tar.zst
New:
----
cargo-packaging-1.5.0+0.tar.zst
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ cargo-packaging.spec ++++++
--- /var/tmp/diff_new_pack.rsVwnu/_old 2026-06-25 10:50:35.883648296 +0200
+++ /var/tmp/diff_new_pack.rsVwnu/_new 2026-06-25 10:50:35.891648573 +0200
@@ -1,7 +1,7 @@
#
# spec file for package cargo-packaging
#
-# Copyright (c) 2025 SUSE LLC and contributors
+# 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
@@ -17,7 +17,7 @@
Name: cargo-packaging
-Version: 1.3.0+0
+Version: 1.5.0+0
Release: 0
Summary: Macros and tools to assist with cargo and rust packaging
License: MPL-2.0
++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.rsVwnu/_old 2026-06-25 10:50:36.055654254 +0200
+++ /var/tmp/diff_new_pack.rsVwnu/_new 2026-06-25 10:50:36.059654393 +0200
@@ -1,6 +1,6 @@
<servicedata>
<service name="tar_scm">
<param
name="url">https://github.com/Firstyear/cargo-packaging.git</param>
- <param
name="changesrevision">167afbb9eec729174f3e946b067a6f275e1adfd6</param></service></servicedata>
+ <param
name="changesrevision">5d1a4a5d736db1fc30751daf8114091b025edefb</param></service></servicedata>
(No newline at EOF)
++++++ cargo-packaging-1.3.0+0.tar.zst -> cargo-packaging-1.5.0+0.tar.zst ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/cargo-packaging-1.3.0+0/macros.cargo
new/cargo-packaging-1.5.0+0/macros.cargo
--- old/cargo-packaging-1.3.0+0/macros.cargo 2025-06-11 05:14:34.000000000
+0200
+++ new/cargo-packaging-1.5.0+0/macros.cargo 2026-06-23 06:02:09.000000000
+0200
@@ -2,18 +2,27 @@
%build_rustflags -Clink-arg=-Wl,-z,relro,-z,now -C debuginfo=2 -C strip=none
%__cargo CARGO_INCREMENTAL=0 CARGO_FEATURE_VENDORED=1
RUSTFLAGS="%{?__rustflags} %{?build_rustflags}"
CARGO_TARGET_DIR=%{_builddir}/%{buildsubdir}/target/ %{_bindir}/cargo
+
+# This can be overriden by the user in some circumstances.
%__cargo_common_opts %{?_smp_mflags}
+# Note that we don't use --locked here - this is because in some configurations
+# when we patch and then vendor, this causes the build to require the lockfile
+# to update from it's internal knowledge.
+%__cargo_build_opts --offline
+
%rust_arches x86_64 i586 i686 armv6hl armv7hl aarch64 ppc64 powerpc64 ppc64le
powerpc64le riscv64 s390x
%rust_tier1_arches x86_64 aarch64
+
%cargo_build() \
%{shrink:\
unset LIBSSH2_SYS_USE_PKG_CONFIG && \
if [ -z "$RUSTC_WRAPPER" ]; then CARGO_AUDITABLE="auditable" ; fi && \
%{__cargo} $CARGO_AUDITABLE build \
%{__cargo_common_opts} \
- --offline --locked --release \
+ %{__cargo_build_opts} \
+ --release \
%* \
}
@@ -23,20 +32,27 @@
if [ -z "$RUSTC_WRAPPER" ]; then CARGO_AUDITABLE="auditable" ; fi && \
%{__cargo} $CARGO_AUDITABLE test \
%{__cargo_common_opts} \
- --offline --locked \
+ %{__cargo_build_opts} \
--no-fail-fast \
%* \
}
+# NOTE: --release is the default for cargo install, and so is not required to
be specified here.
%cargo_install(p:) \
%{shrink:\
unset LIBSSH2_SYS_USE_PKG_CONFIG && \
if [ -z "$RUSTC_WRAPPER" ]; then CARGO_AUDITABLE="auditable" ; fi && \
%{__cargo} $CARGO_AUDITABLE install \
%{__cargo_common_opts} \
- --offline --locked \
+ %{__cargo_build_opts} \
--no-track \
--root=%{buildroot}%{_prefix} \
--path %{-p:%{-p*}}%{!-p:.} \
%* \
}
+
+# Declarative buildsystem, requires RPM 4.20+ to work
+# https://rpm-software-management.github.io/rpm/manual/buildsystem.html
+%buildsystem_cargo_build() %cargo_build %*
+%buildsystem_cargo_check() %cargo_test %*
+%buildsystem_cargo_install() %cargo_install %*
++++++ vendor.tar.zst ++++++
/work/SRC/openSUSE:Factory/cargo-packaging/vendor.tar.zst
/work/SRC/openSUSE:Factory/.cargo-packaging.new.2088/vendor.tar.zst differ:
char 7, line 1