From 0a6db1602a30030cf56e4f3d77fe3b112e2186e3 Mon Sep 17 00:00:00 2001
From: ccrane <>
Date: Sep 13 2024 17:27:20 +0000
Subject: Update snphost to version 0.5.0 / rev 3 via SR 1200734


https://build.opensuse.org/request/show/1200734
by user ccrane + anag+factory

---

diff --git a/.files b/.files
index bcd1f7f..959b475 100644
Binary files a/.files and b/.files differ
diff --git a/.rev b/.rev
index 5dab1e0..d28c75c 100644
--- a/.rev
+++ b/.rev
@@ -25,4 +25,12 @@
 - spec: Use rubygem() macro to resolve asciidoctor versions</comment>
     <requestid>1141067</requestid>
   </revision>
+  <revision rev="3" vrev="1">
+    <srcmd5>fa56f3228b13be3c3be6f46a25c00c13</srcmd5>
+    <version>0.5.0</version>
+    <time>1726230845</time>
+    <user>anag+factory</user>
+    <comment></comment>
+    <requestid>1200734</requestid>
+  </revision>
 </revisionlist>
diff --git a/_service b/_service
index 002674a..f7a3ebe 100644
--- a/_service
+++ b/_service
@@ -1,9 +1,9 @@
 <services>
   <service mode="disabled" name="obs_scm">
     <param name="url">https://github.com/virtee/snphost.git</param>
-    <param name="versionformat">@PARENT_TAG@~@TAG_OFFSET@</param>
+    <param name="versionformat">@PARENT_TAG@</param>
     <param name="scm">git</param>
-    <param name="revision">v0.2.0</param>
+    <param name="revision">v0.5.0</param>
     <param name="match-tag">*</param>
     <param name="versionrewrite-pattern">v(\d+\.\d+\.\d+)</param>
     <param name="versionrewrite-replacement">\1</param>
@@ -21,7 +21,4 @@
      <param name="compression">gz</param>
      <param name="update">true</param>
   </service>
-  <service name="cargo_audit" mode="disabled">
-     <param name="srcdir">snphost</param>
-  </service>
 </services>
diff --git a/_servicedata b/_servicedata
index 475df32..09036e5 100644
--- a/_servicedata
+++ b/_servicedata
@@ -1,4 +1,4 @@
 <servicedata>
 <service name="tar_scm">
                 <param name="url">https://github.com/virtee/snphost.git</param>
-              <param name="changesrevision">67b2fb175cea17df54993eb7568225416fd1ad46</param></service></servicedata>
\ No newline at end of file
+              <param name="changesrevision">a7ba00220202240cd01819ef1fe81d57ebbb9f8b</param></service></servicedata>
\ No newline at end of file
diff --git a/cargo_config b/cargo_config
deleted file mode 100644
index a476f35..0000000
--- a/cargo_config
+++ /dev/null
@@ -1,5 +0,0 @@
-[source.crates-io]
-replace-with = "vendored-sources"
-
-[source.vendored-sources]
-directory = "vendor"
\ No newline at end of file
diff --git a/snphost-0.2.0~0.obscpio b/snphost-0.2.0~0.obscpio
deleted file mode 120000
index b38560e..0000000
--- a/snphost-0.2.0~0.obscpio
+++ /dev/null
@@ -1 +0,0 @@
-/ipfs/bafkreihkpdftnqddeyeeper6oisiwcwyupn5pjfav427jwphpz4nbfu4em
\ No newline at end of file
diff --git a/snphost-0.2.0~0.tar.gz b/snphost-0.2.0~0.tar.gz
deleted file mode 120000
index 532916c..0000000
--- a/snphost-0.2.0~0.tar.gz
+++ /dev/null
@@ -1 +0,0 @@
-/ipfs/bafkreihfh5qregsmpkocetkx5ie4x3kamhwn4qbu67nvrby2ytfbusiege
\ No newline at end of file
diff --git a/snphost-0.5.0.obscpio b/snphost-0.5.0.obscpio
new file mode 120000
index 0000000..35f7a76
--- /dev/null
+++ b/snphost-0.5.0.obscpio
@@ -0,0 +1 @@
+/ipfs/bafkreihrtc5p52hk5qalzpf24jm3wwi6g5s2mtkdmksva4czm7eutulovu
\ No newline at end of file
diff --git a/snphost-0.5.0.tar.gz b/snphost-0.5.0.tar.gz
new file mode 120000
index 0000000..5d30351
--- /dev/null
+++ b/snphost-0.5.0.tar.gz
@@ -0,0 +1 @@
+/ipfs/bafkreibb6vqnjvuysdhjko3gkcpb5xtbiotvcspmvcjvnq6xdsnb472qsm
\ No newline at end of file
diff --git a/snphost.changes b/snphost.changes
index 7f83d9d..e9079fa 100644
--- a/snphost.changes
+++ b/snphost.changes
@@ -1,4 +1,36 @@
 -------------------------------------------------------------------
+Fri Sep 13 03:25:36 UTC 2024 - Caleb Crane (caleb.crane@suse.com)
+
+- Update to version 0.5.0:
+  * Update to 0.5.0
+  * workflows: Update rust toolchain version to 1.80
+  * Update clippy workflow toolchain to use 1.74
+  * Update Rust version to 1.7.4
+  * Upgrade sev to 4.0.0
+  * Remove strict semvar for clap dependency
+  * Adding cert fetch support for Turin
+  * Update to 0.4.0
+  * Update sev to 3.2.0
+  * build(deps): bump anyhow from 1.0.82 to 1.0.83 (#51)
+  * fix: remove subcommand trait on ok/commit (#53)
+  * build(deps): bump libc from 0.2.153 to 0.2.154
+  * clap-migration: Moving from StructOpt to Clap (#48)
+  * build(deps): bump anyhow from 1.0.81 to 1.0.82 (#47)
+  * build(deps): bump anyhow from 1.0.80 to 1.0.81
+  * Fixing release to 0.3.0, not ready for 1.0.0
+  * Bumping rust minimum version to 1.70
+  * modifying docs
+  * Added DER and VLEK support
+  * Changing commands for new 6.6 kernel IOCTL structure
+  * Adding tests to snphostok (#39)
+  * Modify workflow to match SEV and use rust 1.70 (#41)
+  * Fetch: Adding Bergamo and Siena Support (#31)
+  * Adding DCO and auto-assign
+  * In vcek url use reported_tcb_version (#29)
+  * Add lockfile
+  * build(deps): update env_logger requirement from 0.9.0 to 0.10.1
+
+-------------------------------------------------------------------
 Mon Jan 22 16:04:54 UTC 2024 - Caleb Crane (caleb.crane@suse.com)
 
 - Update to version 0.2.0~0:
diff --git a/snphost.obsinfo b/snphost.obsinfo
index f9d9435..df9dcf4 100644
--- a/snphost.obsinfo
+++ b/snphost.obsinfo
@@ -1,4 +1,4 @@
 name: snphost
-version: 0.2.0~0
-mtime: 1699070031
-commit: 67b2fb175cea17df54993eb7568225416fd1ad46
+version: 0.5.0
+mtime: 1725589995
+commit: a7ba00220202240cd01819ef1fe81d57ebbb9f8b
diff --git a/snphost.spec b/snphost.spec
index 9df7fa3..474a655 100644
--- a/snphost.spec
+++ b/snphost.spec
@@ -18,7 +18,7 @@
 
 
 Name:           snphost
-Version:        0.2.0~0
+Version:        0.5.0
 Release:        0
 Summary:        A Rust command-line tool for interacting with the AMD Secure Processor
 License:        Apache-2.0
@@ -26,7 +26,6 @@ Group:          Productivity/Security
 URL:            https://github.com/virtee/snphost
 Source0:        %{name}-%{version}.tar.gz
 Source1:        vendor.tar.gz
-Source2:        cargo_config
 BuildRequires:  cargo-packaging
 BuildRequires:  openssl-devel
 BuildRequires:  rubygem(asciidoctor)
@@ -39,7 +38,6 @@ snphost is a command line utility for interacting with the AMD Secure Encrypted 
 # The number passed to -a (a stands for "after") should be equivalent to the Source tag number
 # of the vendor tarball, 1 in this case (from Source1).
 %autosetup -a1
-install -D -m 644 %{SOURCE2} .cargo/config
 
 %build
 %{cargo_build}
diff --git a/vendor.tar.gz b/vendor.tar.gz
index 328ef84..df9df5e 120000
--- a/vendor.tar.gz
+++ b/vendor.tar.gz
@@ -1 +1 @@
-/ipfs/bafybeif4w4vjlmfjovmphevnuzubtvu53kuamti6wynbt36gfhlgg2ouki
\ No newline at end of file
+/ipfs/bafybeihfskigaivohebfxjescunqhurh35ytcttavjh2skmjcujlm24cca
\ No newline at end of file