Name: thin-provisioning-tools Version: 0.7.6 Release: 4 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 Patch0: 0000-device-mapper-persistent-data-avoid-strip.patch Patch1: 6000-build-Fix-static-build-by-including-contrib-Makefile.patch Patch2: 6001-restore_emitter-squash-a-strncpy-warning.patch Patch3: 6002-run_set-fix-invalid-iterator-operations-113.patch Patch4: 6003-space-map-disk-fix-the-search-range-117.patch BuildRequires: autoconf, expat-devel BuildRequires: libaio-devel, libstdc++-devel BuildRequires: boost-devel, gcc-c++ Requires: expat 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 * Fri Jan 10 2019 wangjufeng - 0.7.6-4 - Type:enhancemnet - ID:NA - SUG:NA - DESC:rename the package * Wed Sep 04 2019 wangjufeng - 0.7.6-3 - Type:enhancemnet - ID:NA - SUG:NA - DESC:openEuler Debranding