Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package rustscan for openSUSE:Factory 
checked in at 2022-01-07 12:52:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rustscan (Old)
 and      /work/SRC/openSUSE:Factory/.rustscan.new.1896 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rustscan"

Fri Jan  7 12:52:38 2022 rev:6 rq:944724 version:2.0.1+0

Changes:
--------
--- /work/SRC/openSUSE:Factory/rustscan/rustscan.changes        2021-11-07 
22:09:23.911648172 +0100
+++ /work/SRC/openSUSE:Factory/.rustscan.new.1896/rustscan.changes      
2022-01-07 12:52:40.820107902 +0100
@@ -1,0 +2,7 @@
+Fri Jan  7 01:12:38 UTC 2022 - William Brown <william.br...@suse.com>
+
+- resolve bsc#1194119 (CVE-2021-45710)
+- Add cargo_vendor service to assist with updates
+- Use cargo-packaging and relevant macros to improve spec
+
+-------------------------------------------------------------------

Old:
----
  RustScan-2.0.1.tar.gz

New:
----
  RustScan-2.0.1+0.tar.xz
  cargo_config

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

Other differences:
------------------
++++++ rustscan.spec ++++++
--- /var/tmp/diff_new_pack.ZuFRA3/_old  2022-01-07 12:52:44.848110698 +0100
+++ /var/tmp/diff_new_pack.ZuFRA3/_new  2022-01-07 12:52:44.852110701 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package rustscan
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 # Copyright (c) 2020, Martin Hauke <mar...@gmx.de>
 #
 # All modifications and additions to the file contributed by third parties
@@ -18,16 +18,16 @@
 
 
 Name:           rustscan
-Version:        2.0.1
+Version:        2.0.1+0
 Release:        0
 Summary:        Fast network port scanner
 License:        GPL-3.0-or-later
 Group:          Productivity/Networking/Diagnostic
 URL:            https://github.com/RustScan/RustScan
-Source:         
https://github.com/RustScan/RustScan/archive/%{version}.tar.gz#/RustScan-%{version}.tar.gz
+Source:         RustScan-%{version}.tar.xz
 Source1:        vendor.tar.xz
-BuildRequires:  cargo
-BuildRequires:  rust
+Source2:        cargo_config
+BuildRequires:  cargo-packaging
 Requires:       nmap
 
 %description
@@ -37,19 +37,13 @@
 %prep
 %setup -qa1 -n RustScan-%{version}
 mkdir .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'
-EOF
+cp %{SOURCE2} .cargo/config
 
 %build
-cargo build --release --locked %{?_smp_mflags}
+%{cargo_build}
 
 %install
-cargo install --no-track --root=%{buildroot}%{_prefix} --path .
+%{cargo_install}
 
 %files
 %license LICENSE

++++++ _service ++++++
--- /var/tmp/diff_new_pack.ZuFRA3/_old  2022-01-07 12:52:44.884110723 +0100
+++ /var/tmp/diff_new_pack.ZuFRA3/_new  2022-01-07 12:52:44.888110726 +0100
@@ -1,5 +1,27 @@
 <services>
+  <service mode="disabled" name="obs_scm">
+    <param name="url">https://github.com/RustScan/RustScan.git</param>
+    <param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param>
+    <param name="scm">git</param>
+    <param name="revision">2.0.1</param>
+    <param name="match-tag">2.0.1</param>
+    <param name="versionrewrite-pattern">(\d+\.\d+\.\d+)</param>
+    <param name="versionrewrite-replacement">\1</param>
+    <param name="changesgenerate">disable</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">RustScan</param>
+     <param name="compression">xz</param>
+     <param name="update">true</param>
+  </service>
   <service name="cargo_audit" mode="disabled">
+     <param name="srcdir">RustScan</param>
   </service>
 </services>
 

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

[source.vendored-sources]
directory = "vendor"
(No newline at EOF)

++++++ vendor.tar.xz ++++++
/work/SRC/openSUSE:Factory/rustscan/vendor.tar.xz 
/work/SRC/openSUSE:Factory/.rustscan.new.1896/vendor.tar.xz differ: char 26, 
line 1

Reply via email to