1 Star 0 Fork 6

rockerzhu/device-mapper-persistent-data

Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
文件
This repository doesn't specify license. Please pay attention to the specific project description and its upstream code dependency when using it.
Clone or Download
device-mapper-persistent-data.spec 3.07 KB
Copy Edit Raw Blame History
rockerzhu authored 2023-07-31 13:06 . Rebuilt for boost 1.82.0
%global upstream_name thin-provisioning-tools
Summary: Tools for manipulating the metadata of device-mapper
Name: device-mapper-persistent-data
Version: 1.0.4
Release: 3%{?dist}
License: GPLv3+
URL: https://github.com/jthornber/%{upstream_name}
Source0: https://github.com/jthornber/%{upstream_name}/archive/refs/tags/v%{version}.tar.gz
# Packing from the Rust community’s crate registry https://crates.io
Source1: dmpd104-vendor.tar.gz
Patch5000: 5000-Avoid-stripping-in-install-stage.patch
Patch5001: 5001-Specify-the-version-of-crc32c-and-rio-to-avoid-downl.patch
BuildRequires: expat-devel libaio-devel libstdc++-devel boost-devel
BuildRequires: autoconf gcc-c++ make rust-packaging rust cargo
Requires: expat
%description
This package provides a suite of tools for manipulating the metadata
of the dm-thin, dm-cache and dm-era device-mapper targets.
%prep
%autosetup -n %{upstream_name}-%{version} -p1
tar -zxf %{SOURCE1}
mkdir -p .cargo
cat > .cargo/config <<EOF
[source.crates-io]
replace-with = "vendored-sources"
[source.vendored-sources]
directory = "vendor"
EOF
echo %{version}-%{release} > VERSION
%build
%cargo_build
%install
%make_install MANDIR=%{_mandir} install
%files
%license COPYING
%doc README.md
%{_sbindir}/pdata_tools
%{_sbindir}/cache_check
%{_sbindir}/cache_dump
%{_sbindir}/cache_metadata_size
%{_sbindir}/cache_repair
%{_sbindir}/cache_restore
%{_sbindir}/cache_writeback
%{_sbindir}/era_check
%{_sbindir}/era_dump
%{_sbindir}/era_invalidate
%{_sbindir}/era_restore
%{_sbindir}/thin_check
%{_sbindir}/thin_delta
%{_sbindir}/thin_dump
%{_sbindir}/thin_ls
%{_sbindir}/thin_metadata_size
%{_sbindir}/thin_repair
%{_sbindir}/thin_restore
%{_sbindir}/thin_rmap
%{_sbindir}/thin_trim
%{_sbindir}/thin_metadata_pack
%{_sbindir}/thin_metadata_unpack
%{_mandir}/man8/cache_check.8.gz
%{_mandir}/man8/cache_dump.8.gz
%{_mandir}/man8/cache_metadata_size.8.gz
%{_mandir}/man8/cache_repair.8.gz
%{_mandir}/man8/cache_restore.8.gz
%{_mandir}/man8/cache_writeback.8.gz
%{_mandir}/man8/era_check.8.gz
%{_mandir}/man8/era_dump.8.gz
%{_mandir}/man8/era_invalidate.8.gz
%{_mandir}/man8/era_restore.8.gz
%{_mandir}/man8/thin_check.8.gz
%{_mandir}/man8/thin_delta.8.gz
%{_mandir}/man8/thin_dump.8.gz
%{_mandir}/man8/thin_ls.8.gz
%{_mandir}/man8/thin_metadata_size.8.gz
%{_mandir}/man8/thin_repair.8.gz
%{_mandir}/man8/thin_restore.8.gz
%{_mandir}/man8/thin_rmap.8.gz
%{_mandir}/man8/thin_trim.8.gz
%{_mandir}/man8/thin_metadata_pack.8.gz
%{_mandir}/man8/thin_metadata_unpack.8.gz
%changelog
* Mon Jul 31 2023 rockerzhu rockerzhu@tencent.com - 1.0.4-3
- Rebuilt for boost 1.82.0
* Tue Jul 18 2023 Wang Guodong <gordonwwang@tencent.com> - 1.0.4-2
- Rebuilt for rust 1.69.0
* Tue Jul 11 2023 Xiaojie Chen <jackxjchen@tencent.com> - 1.0.4-1
- Upgrade to upstream version 1.0.4
* Fri Apr 28 2023 OpenCloudOS Release Engineering <releng@opencloudos.tech> - 0.9.0-3
- Rebuilt for OpenCloudOS Stream 23.05
* Fri Mar 31 2023 OpenCloudOS Release Engineering <releng@opencloudos.tech> - 0.9.0-2
- Rebuilt for OpenCloudOS Stream 23
* Thu Jul 14 2022 Xiaojie Chen <jackxjchen@tencent.com> - 0.9.0-1
- Initial build
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/rockerzhu/device-mapper-persistent-data.git
git@gitee.com:rockerzhu/device-mapper-persistent-data.git
rockerzhu
device-mapper-persistent-data
device-mapper-persistent-data
master

Search