Update dmpd to upstream version 1.0.6

Resolves: #2175198
This commit is contained in:
Marian Csontos 2023-08-09 14:26:25 +02:00
parent 5b66094e86
commit c4c259d1dd
4 changed files with 15 additions and 12 deletions

2
.gitignore vendored
View File

@ -43,3 +43,5 @@
/dmpd104-vendor.tar.gz /dmpd104-vendor.tar.gz
/v1.0.5.tar.gz /v1.0.5.tar.gz
/dmpd105-vendor.tar.gz /dmpd105-vendor.tar.gz
/v1.0.6.tar.gz
/dmpd106-vendor.tar.gz

View File

@ -1,4 +1,4 @@
From 8b3609298420f5984ac3a2c74cb2ac4f94897eb0 Mon Sep 17 00:00:00 2001 From 732ff5861a1525944a927439d1c075ac269788ce Mon Sep 17 00:00:00 2001
From: Marian Csontos <mcsontos@redhat.com> From: Marian Csontos <mcsontos@redhat.com>
Date: Thu, 27 Jul 2023 11:37:01 +0200 Date: Thu, 27 Jul 2023 11:37:01 +0200
Subject: [PATCH] Tweak cargo.toml to work with vendor directory Subject: [PATCH] Tweak cargo.toml to work with vendor directory
@ -7,23 +7,21 @@ Mock works offline, cargo would try to download the files from github.
So cargo vendor has to be run first, and then change the Cargo.toml to So cargo vendor has to be run first, and then change the Cargo.toml to
make mock happy. make mock happy.
--- ---
Cargo.toml | 6 ++++-- Cargo.toml | 4 +++-
1 file changed, 4 insertions(+), 2 deletions(-) 1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/Cargo.toml b/Cargo.toml diff --git a/Cargo.toml b/Cargo.toml
index 8be49a52..b9b05ce6 100644 index c2b496ac..562c40d3 100644
--- a/Cargo.toml --- a/Cargo.toml
+++ b/Cargo.toml +++ b/Cargo.toml
@@ -11,7 +11,8 @@ anyhow = "1.0" @@ -11,6 +11,7 @@ anyhow = "1.0"
base64 = "0.21" base64 = "0.21"
byteorder = "1.4" byteorder = "1.4"
clap = { version = "4.3", default-features = false, features = ["std", "help", "usage", "error-context", "suggestions"] } clap = { version = "4.3", default-features = false, features = ["std", "help", "usage", "error-context", "suggestions"] }
-crc32c = { git = "https://github.com/zowens/crc32c", branch = "master" }
+#crc32c = { git = "https://github.com/zowens/crc32c", branch = "master" } +#crc32c = { git = "https://github.com/zowens/crc32c", branch = "master" }
+crc32c = "0.6" crc32c = "0.6"
data-encoding = "2.4" data-encoding = "2.4"
exitcode = "1.1.2" exitcode = "1.1.2"
fixedbitset = "0.4"
@@ -27,7 +28,8 @@ quick-xml = "0.29" @@ -27,7 +28,8 @@ quick-xml = "0.29"
rand = "0.8" rand = "0.8"
rangemap = "1.3" rangemap = "1.3"

View File

@ -9,13 +9,13 @@
Summary: Device-mapper Persistent Data Tools Summary: Device-mapper Persistent Data Tools
Name: device-mapper-persistent-data Name: device-mapper-persistent-data
Version: 1.0.5 Version: 1.0.6
Release: 1%{?dist}%{?release_suffix} Release: 1%{?dist}%{?release_suffix}
License: GPLv3+ License: GPLv3+
URL: https://github.com/jthornber/thin-provisioning-tools URL: https://github.com/jthornber/thin-provisioning-tools
#Source0: https://github.com/jthornber/thin-provisioning-tools/archive/thin-provisioning-tools-%%{version}.tar.gz #Source0: https://github.com/jthornber/thin-provisioning-tools/archive/thin-provisioning-tools-%%{version}.tar.gz
Source0: https://github.com/jthornber/thin-provisioning-tools/archive/v%{version}%{?version_suffix}.tar.gz Source0: https://github.com/jthornber/thin-provisioning-tools/archive/v%{version}%{?version_suffix}.tar.gz
Source1: dmpd105-vendor.tar.gz Source1: dmpd106-vendor.tar.gz
Patch1: 0001-Tweak-cargo.toml-to-work-with-vendor-directory.patch Patch1: 0001-Tweak-cargo.toml-to-work-with-vendor-directory.patch
BuildRequires: rust-packaging BuildRequires: rust-packaging
@ -108,6 +108,9 @@ make DESTDIR=%{buildroot} MANDIR=%{_mandir} install
#% {_sbindir}/thin_show_duplicates #% {_sbindir}/thin_show_duplicates
%changelog %changelog
* Wed Aug 09 2023 Marian Csontos <mcsontos@redhat.com> - 1.0.6-1
- Update to latest upstream release 1.0.6.
* Thu Jul 27 2023 Marian Csontos <mcsontos@redhat.com> - 1.0.5-1 * Thu Jul 27 2023 Marian Csontos <mcsontos@redhat.com> - 1.0.5-1
- Update to latest upstream release 1.0.5. - Update to latest upstream release 1.0.5.

View File

@ -1,2 +1,2 @@
SHA512 (v1.0.5.tar.gz) = 1ba305770caf65fbba45ea4795bc7edf0dff06d72633f5293750051426c37a4ba44fffd71e2c57415af4683d8f3a8293b08eca0cdce45fd718b6699b7c419f2e SHA512 (v1.0.6.tar.gz) = b6a778048315fa83b8ffae797a406facd2be1552516f96abd0da5d02892be73f27c54e4e0a674b2f0253aa6fcdac187fc40d7a455eddfb25bc30f55a5e435b00
SHA512 (dmpd105-vendor.tar.gz) = 3641ec72048dcc2bd68fcdc43429652991822642fc599287ccd016531dd20f24efcae969ea5dcbcbd5a4712e5a80512621caf9f8e67736397d6ed08397c4a962 SHA512 (dmpd106-vendor.tar.gz) = df7d77c83e6c6d3843ea61a0f0bfd414d0eef404a21046f04bd56f764f20cb33b3807b1606cf9eb6e2ee3fd0d5311b3582defbcf61692f3d10c4cd70769625d1