110 lines
3.4 KiB
RPMSpec
110 lines
3.4 KiB
RPMSpec
Name: thin-provisioning-tools
|
|
Version: 0.9.0
|
|
Release: 5
|
|
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
|
|
Patch1: 0001-device-mapper-persistent-data-avoid-strip.patch
|
|
Patch2: 0002-build-remove-lboost_iostreams-linker-flag.patch
|
|
Patch3: 0003-thin_ll_dump-Fix-potential-segfault-while-reading-in.patch
|
|
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
|
|
|
|
BuildRequires: autoconf, expat-devel
|
|
BuildRequires: libaio-devel, libstdc++-devel
|
|
BuildRequires: boost-devel, gcc-c++
|
|
Requires: expat
|
|
Recommends: %{name}-help = %{version}-%{release}
|
|
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
|
|
* 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
|
|
|
|
* Wed Sep 15 2021 Liu Zixian <liuzixian4@huawei.com> - 0.9.0-3
|
|
- Remove redundant dependency
|
|
|
|
* Thu Dec 17 2020 yanglongkang <yanglongkang@huawei.com> - 0.9.0-2
|
|
- Set help package as install require
|
|
|
|
* Tue Aug 25 2020 lixiaokeng <lixiaokeng@huawei.com> - 0.9.0-1
|
|
- upgrade package to 0.9.0
|
|
|
|
* Thu Jul 30 2020 lixiaokeng <lixiaokeng@huawei.com> - 0.8.5-2
|
|
- remove thin-provisioning-tools.yaml
|
|
|
|
* 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.
|
|
|
|
* Wed Jul 1 2020 Wu Bo <wubo009@163.com> - 0.7.6-6
|
|
- rebuild package
|
|
|
|
* 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
|
|
- 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
|