Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package cargo-c for openSUSE:Factory checked 
in at 2024-09-16 17:40:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cargo-c (Old)
 and      /work/SRC/openSUSE:Factory/.cargo-c.new.29891 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "cargo-c"

Mon Sep 16 17:40:11 2024 rev:18 rq:1201249 version:0.10.3~git0.ee7d7ef

Changes:
--------
--- /work/SRC/openSUSE:Factory/cargo-c/cargo-c.changes  2024-06-06 
12:30:23.095584481 +0200
+++ /work/SRC/openSUSE:Factory/.cargo-c.new.29891/cargo-c.changes       
2024-09-16 17:40:12.773938452 +0200
@@ -1,0 +2,15 @@
+Tue Aug 27 09:20:15 UTC 2024 - Enrico Belleri <[email protected]>
+
+- Update to version 0.10.3~git0.ee7d7ef:
+  * Wire in the heuristics 
+  * Implement heuristics for target-specific install paths
+  * Fix the generated header fingerprinting logic
+  * Make notice about missing windows debug files verbose-only
+  * Update dependencies
+  * Require cargo 0.80.0
+- Use macros from cargo-packaging
+- Remove cargo_config: contained in vendor.tar
+- Remove cargo_audit service: now part of cargo_vendor
+- Remove custom rustflags and let the macros set them instead
+
+-------------------------------------------------------------------

Old:
----
  cargo-c-0.9.32~git0.56dfe34.tar.xz
  cargo_config

New:
----
  _servicedata
  cargo-c-0.10.3~git0.ee7d7ef.obscpio
  cargo-c.obsinfo

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

Other differences:
------------------
++++++ cargo-c.spec ++++++
--- /var/tmp/diff_new_pack.VDLj1e/_old  2024-09-16 17:40:13.781980497 +0200
+++ /var/tmp/diff_new_pack.VDLj1e/_new  2024-09-16 17:40:13.785980664 +0200
@@ -17,10 +17,8 @@
 #
 
 
-%global rustflags -Clink-arg=-Wl,-z,relro,-z,now -C debuginfo=2
-
 Name:           cargo-c
-Version:        0.9.32~git0.56dfe34
+Version:        0.10.3~git0.ee7d7ef
 Release:        0
 Summary:        Helper to build and install c-like libraries from Rust
 License:        MIT
@@ -29,11 +27,10 @@
 URL:            https://crates.io/crates/cargo-c
 Source0:        %{name}-%{version}.tar.xz
 Source1:        vendor.tar.xz
-Source2:        cargo_config
-
 Source1000:     README.suse-maint
-BuildRequires:  cargo
+BuildRequires:  cargo >= 0.80.0
 BuildRequires:  pkgconfig(openssl)
+BuildRequires:  cargo-packaging
 
 %description
 The is a cargo applet to build and install C-ABI compatibile dynamic and static
@@ -46,20 +43,14 @@
 %prep
 %autosetup -a1 -p1
 
-install -d -m 0755 .cargo
-cp %{SOURCE2} .cargo/config
-
 %build
-export RUSTFLAGS="%{rustflags}"
-cargo build --offline --release
+%{cargo_build}
 
 %install
-export RUSTFLAGS="%{rustflags}"
-cargo install --offline --root=%{buildroot}%{_prefix} --path .
+%{cargo_install}
 
 find %{buildroot} -name .crates2.json -delete
 rm -rf %{buildroot}%{_datadir}/cargo/registry
-rm %{buildroot}%{_prefix}/.crates.toml
 
 %files
 %license LICENSE

++++++ README.suse-maint ++++++
--- /var/tmp/diff_new_pack.VDLj1e/_old  2024-09-16 17:40:13.813981832 +0200
+++ /var/tmp/diff_new_pack.VDLj1e/_new  2024-09-16 17:40:13.817981999 +0200
@@ -2,25 +2,17 @@
 
 ## Prerequisites:
 You need the download_files and cargo_vendor obs services installed:
-  zypper in obs-service-download_files obs-service-cargo_vendor
+  zypper in obs-service-obs_scm obs-service-cargo_vendor
 
 ## Updating to a new version from upstream
 
-Edit the spec file and update the version variable.
+Edit the _service file and update the revision parameter.
 
 Download the new source file by running:
-  osc service ra download_files
-
-Uncompress the cargo-c-%{version}.tar.gz file:
-  tar xvfz cargo-c-%{version}.tar.gz
-
-This will create a cargo-c-%{version} directory
-
-Edit the _service file and set the srcdir param
-to the extracted directory.
+  osc service mr obs_scm
 
 Run the cargo_vendor service with:
-  osc service disabledrun
+  osc service mr cargo_vendor
 
 Update the changelog file with the upstream release notes.
 

++++++ _service ++++++
--- /var/tmp/diff_new_pack.VDLj1e/_old  2024-09-16 17:40:13.849983334 +0200
+++ /var/tmp/diff_new_pack.VDLj1e/_new  2024-09-16 17:40:13.853983500 +0200
@@ -3,14 +3,14 @@
     <param name="url">https://github.com/lu-zero/cargo-c.git</param>
     <param name="versionformat">@PARENT_TAG@~git@TAG_OFFSET@.%h</param>
     <param name="scm">git</param>
-    <param name="revision">v0.9.32</param>
+    <param name="revision">v0.10.3</param>
     <param name="match-tag">*</param>
     <param name="versionrewrite-pattern">v(\d+\.\d+\.\d+)</param>
     <param name="versionrewrite-replacement">\1</param>
     <param name="changesgenerate">enable</param>
   </service>
-  <service mode="manual" name="tar" />
-  <service mode="manual" name="recompress">
+  <service mode="buildtime" name="tar" />
+  <service mode="buildtime" name="recompress">
     <param name="file">*.tar</param>
     <param name="compression">xz</param>
   </service>
@@ -20,8 +20,5 @@
      <param name="compression">xz</param>
      <param name="update">true</param>
   </service>
-  <service name="cargo_audit" mode="manual">
-     <param name="srcdir">cargo-c</param>
-  </service>
 </services>
 

++++++ _servicedata ++++++
<servicedata>
<service name="tar_scm">
                <param name="url">https://github.com/lu-zero/cargo-c.git</param>
              <param 
name="changesrevision">ee7d7ef74b9c1fa00c6780da41a838752c76b3eb</param></service></servicedata>
(No newline at EOF)

++++++ cargo-c.obsinfo ++++++
name: cargo-c
version: 0.10.3~git0.ee7d7ef
mtime: 1722315713
commit: ee7d7ef74b9c1fa00c6780da41a838752c76b3eb

++++++ vendor.tar.xz ++++++
/work/SRC/openSUSE:Factory/cargo-c/vendor.tar.xz 
/work/SRC/openSUSE:Factory/.cargo-c.new.29891/vendor.tar.xz differ: char 15, 
line 1

Reply via email to