thin-provisioning-tools/thin-provisioning-tools.spec

110 lines
3.4 KiB
RPMSpec
Raw Normal View History

2020-01-10 17:17:23 +08:00
Name: thin-provisioning-tools
2020-08-25 15:07:50 +08:00
Version: 0.9.0
2024-07-31 10:43:05 +08:00
Release: 5
2020-01-10 17:17:23 +08:00
Summary: Tools for manipulating Device-mapper metadata
License: GPLv3+
URL: https://github.com/jthornber/thin-provisioning-tools
Source0: https://github.com/jthornber/thin-provisioning-tools/archive/v%{version}.tar.gz
2020-07-16 09:35:50 +08:00
Patch1: 0001-device-mapper-persistent-data-avoid-strip.patch
2021-09-15 00:52:41 +08:00
Patch2: 0002-build-remove-lboost_iostreams-linker-flag.patch
Patch3: 0003-thin_ll_dump-Fix-potential-segfault-while-reading-in.patch
2024-07-31 10:43:05 +08:00
Patch4: 0004-Check-consistency-of-thin_ids-before-running-a-regul.patch
Patch5: 0005-Fix-sorting-of-data-mapping-candidates.patch
Patch6: 0006-btree-Fix-rebalancing-checks.patch
Patch7: 0007-all-Fix-resource-leaks.patch
Patch8: 0008-thin_show_metadata-Fix-out-of-bounds-access.patch
Patch9: 0009-build-Fix-customized-emitter-linkage.patch
Patch10: 0010-thin_dump-Fix-leaked-shared-object-handle.patch
Patch11: 0011-thin_show_duplicates-Fix-potential-errors.patch
Patch12: 0012-all-Fix-uninitialized-class-members.patch
Patch13: 0013-thin_metadata_size-Fix-potential-string-overflow.patch
Patch14: 0014-file_utils-Fix-resource-leak.patch
2020-01-10 17:17:23 +08:00
BuildRequires: autoconf, expat-devel
BuildRequires: libaio-devel, libstdc++-devel
BuildRequires: boost-devel, gcc-c++
2021-09-15 00:52:41 +08:00
Requires: expat
2020-12-17 16:46:26 +08:00
Recommends: %{name}-help = %{version}-%{release}
2020-01-10 17:17:23 +08:00
Provides: device-mapper-persistent-data
Obsoletes: device-mapper-persistent-data
%description
A suite of tools for manipulating the metadata of the dm-thin, dm-cache and dm-era device-mapper targets.
%package help
Summary: Including man files for thin-provisioning-tools
Requires: man
BuildArch: noarch
Provides: device-mapper-persistent-data-help
Obsoletes: device-mapper-persistent-data-help
%description help
This contains man files for the using of thin-provisioning-tools
%prep
%autosetup -n thin-provisioning-tools-%{version} -p1
echo %{version}-%{release} > VERSION
%build
autoconf
%configure --with-optimisation=
%make_build V=
%install
make DESTDIR=%{buildroot} MANDIR=%{_mandir} install
%files
%doc README.md
%license COPYING
%{_sbindir}/*
%exclude %{_sbindir}/thin_show_duplicates
%files help
%{_mandir}/man*/*
%changelog
2024-07-31 10:43:05 +08:00
* Wed Jul 31 2024 wangzhiqiang <wangzhiqiang95@huawei.com> - 0.9.0-5
- backport bugfix patch from community
* Fri Nov 4 2022 wuguanghao <wuguanghao3@huawei.com> - 0.9.0-4
- backport bugfix patch from community
2021-09-15 00:52:41 +08:00
* Wed Sep 15 2021 Liu Zixian <liuzixian4@huawei.com> - 0.9.0-3
- Remove redundant dependency
2020-12-17 16:46:26 +08:00
* Thu Dec 17 2020 yanglongkang <yanglongkang@huawei.com> - 0.9.0-2
- Set help package as install require
2022-06-16 13:36:07 +08:00
* Tue Aug 25 2020 lixiaokeng <lixiaokeng@huawei.com> - 0.9.0-1
2020-08-25 15:07:50 +08:00
- upgrade package to 0.9.0
2022-06-16 13:36:07 +08:00
* Thu Jul 30 2020 lixiaokeng <lixiaokeng@huawei.com> - 0.8.5-2
2020-07-30 14:55:35 +08:00
- remove thin-provisioning-tools.yaml
2020-07-15 16:26:02 +08:00
* Wed July 15 2020 Liu Bo <liubo254@huawei.com> - 0.8.5-1
- upgrade package to 0.8.5
* Sun Jul 5 2020 Zhiqiang Liu <lzhq28@mail.ustc.edu.cn> - 0.7.6-7
- remove useless readme files.
2020-07-01 15:04:25 +08:00
* Wed Jul 1 2020 Wu Bo <wubo009@163.com> - 0.7.6-6
- rebuild package
2020-01-11 10:44:35 +08:00
* Sat Jan 11 2020 wangjufeng<wangjufeng@huawei.com> - 0.7.6-5
- Type:enhancemnet
- ID:NA
- SUG:NA
- DESC:correct changelog date
* Fri Jan 10 2020 wangjufeng<wangjufeng@huawei.com> - 0.7.6-4
2020-01-10 17:17:23 +08:00
- Type:enhancemnet
- ID:NA
- SUG:NA
- DESC:rename the package
* Wed Sep 04 2019 wangjufeng<wangjufeng@huawei.com> - 0.7.6-3
- Type:enhancemnet
- ID:NA
- SUG:NA
- DESC:openEuler Debranding