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 2021-06-12 20:05:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cargo-c (Old)
 and      /work/SRC/openSUSE:Factory/.cargo-c.new.32437 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "cargo-c"

Sat Jun 12 20:05:22 2021 rev:9 rq:898572 version:0.8.1~git0.cce1b08

Changes:
--------
--- /work/SRC/openSUSE:Factory/cargo-c/cargo-c.changes  2021-04-08 
21:02:27.169919256 +0200
+++ /work/SRC/openSUSE:Factory/.cargo-c.new.32437/cargo-c.changes       
2021-06-12 20:05:24.140652050 +0200
@@ -1,0 +2,15 @@
+Wed Jun 02 05:40:32 UTC 2021 - william.br...@suse.com
+
+- Update to version 0.8.1~git0.cce1b08:
+  * Prepare for release
+  * Set the capi.library.rustflags
+  * Add a simple way to set the RUSTFLAGS from Cargo.toml
+  * CI: test example project in Windows/MSYS2 (#191)
+  * Update cargo requirement from 0.52 to 0.53
+  * Upgrade to GitHub-native Dependabot
+  * Default to nightly
+  * Use codecov
+  * Move the code coverage in a stand-alone script
+  * Enable colored help
+
+-------------------------------------------------------------------

Old:
----
  cargo-c-0.8.0.tar.gz

New:
----
  cargo-c-0.8.1~git0.cce1b08.tar.xz
  cargo_config

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

Other differences:
------------------
++++++ cargo-c.spec ++++++
--- /var/tmp/diff_new_pack.x9cuoN/_old  2021-06-12 20:05:27.104657208 +0200
+++ /var/tmp/diff_new_pack.x9cuoN/_new  2021-06-12 20:05:27.104657208 +0200
@@ -17,20 +17,22 @@
 #
 
 
+%global rustflags -Clink-arg=-Wl,-z,relro,-z,now -C debuginfo=2
+
 Name:           cargo-c
-Version:        0.8.0
+Version:        0.8.1~git0.cce1b08
 Release:        0
 Summary:        Helper to build and install c-like libraries from Rust
 License:        MIT
 Group:          Development/Languages/Rust
 
 URL:            https://crates.io/crates/cargo-c
-#
-Source0:        
https://github.com/lu-zero/cargo-c/archive/v%{version}/%{name}-%{version}.tar.gz
+Source0:        %{name}-%{version}.tar.xz
 Source1:        vendor.tar.xz
-#
+Source2:        cargo_config
+
 Source1000:     README.suse-maint
-BuildRequires:  rust-packaging
+BuildRequires:  cargo
 BuildRequires:  pkgconfig(openssl)
 
 %description
@@ -45,30 +47,19 @@
 %autosetup -a1 -p1
 
 install -d -m 0755 .cargo
-cat >.cargo/config <<EOF
-[source.crates-io]
-registry = 'https://github.com/rust-lang/crates.io-index'
-replace-with = 'vendored-sources'
-[source.vendored-sources]
-directory = './vendor'
-[build]
-rustc = "%{__rustc}"
-rustdoc = "%{__rustdoc}"
-rustflags = %{__global_rustflags_toml}
-[install]
-root = '%{buildroot}%{_prefix}'
-[term]
-verbose = true
-EOF
+cp %{SOURCE2} .cargo/config
 
 %build
-%cargo_build
+export RUSTFLAGS="%{rustflags}"
+cargo build --offline --release
 
 %install
-%cargo_install
+export RUSTFLAGS="%{rustflags}"
+cargo install --offline --root=%{buildroot}%{_prefix} --path .
 
 find %{buildroot} -name .crates2.json -delete
 rm -rf %{buildroot}%{_datadir}/cargo/registry
+rm %{buildroot}%{_prefix}/.crates.toml
 
 %files
 %license LICENSE

++++++ _service ++++++
--- /var/tmp/diff_new_pack.x9cuoN/_old  2021-06-12 20:05:27.144657278 +0200
+++ /var/tmp/diff_new_pack.x9cuoN/_new  2021-06-12 20:05:27.148657286 +0200
@@ -1,5 +1,26 @@
 <services>
+  <service mode="disabled" name="obs_scm">
+    <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.8.1</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>
+    <param name="changesauthor">william.br...@suse.com</param>
+  </service>
+  <service mode="disabled" name="tar" />
+  <service mode="disabled" name="recompress">
+    <param name="file">*.tar</param>
+    <param name="compression">xz</param>
+  </service>
+  <service mode="disabled" name="set_version"/>
   <service name="cargo_vendor" mode="disabled">
-    <param name="srcdir">cargo-c-0.8.0</param>
+     <param name="srcdir">cargo-c</param>
+     <param name="compression">xz</param>
+  </service>
+  <service name="cargo_audit" mode="disabled">
+     <param name="srcdir">cargo-c</param>
   </service>
 </services>

++++++ cargo_config ++++++
[source.crates-io]
replace-with = "vendored-sources"

[source.vendored-sources]
directory = "vendor"++++++ vendor.tar.xz ++++++
/work/SRC/openSUSE:Factory/cargo-c/vendor.tar.xz 
/work/SRC/openSUSE:Factory/.cargo-c.new.32437/vendor.tar.xz differ: char 26, 
line 1

Reply via email to