Accepting request 521084 from Base:System

- Update to version 0.7.1:
  * Misc internal changes
- Enable development tools building

- Depend on coreutils for initrd macros (bsc#1055492).

OBS-URL: https://build.opensuse.org/request/show/521084
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/thin-provisioning-tools?expand=0&rev=9
This commit is contained in:
Dominique Leuenberger 2017-09-07 20:11:38 +00:00 committed by Git OBS Bridge
commit 2391008713
4 changed files with 28 additions and 17 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:68a815860fce3f09f64ef241fd4ba45713f4c7be384fe116ec1dbea467684b32
size 230595

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:da45e387bb7ad5b1b8727dc3e013a1136a18fe7a59bea19074a945ff6d73b925
size 247111

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Tue Sep 5 10:21:05 UTC 2017 - mpluskal@suse.com
- Update to version 0.7.1:
* Misc internal changes
- Enable development tools building
-------------------------------------------------------------------
Mon Aug 28 13:42:33 UTC 2017 - mmarek@suse.com
- Depend on coreutils for initrd macros (bsc#1055492).
-------------------------------------------------------------------
Sun Jun 18 21:15:28 UTC 2017 - mpluskal@suse.com

View File

@ -17,7 +17,7 @@
Name: thin-provisioning-tools
Version: 0.7.0
Version: 0.7.1
Release: 0
Summary: Thin Provisioning Tools
License: GPL-3.0
@ -28,18 +28,14 @@ BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gcc-c++
BuildRequires: libaio-devel
BuildRequires: libboost_headers-devel
BuildRequires: libexpat-devel
BuildRequires: libtool
BuildRequires: ncurses-devel
BuildRequires: suse-module-tools
Requires: suse-module-tools
Requires(post): suse-module-tools
Requires(postun): suse-module-tools
Requires(post): coreutils
Requires(postun): coreutils
Conflicts: device-mapper < 1.02.115
%if 0%{?suse_version} > 1325
BuildRequires: libboost_headers-devel
%else
BuildRequires: boost-devel
%endif
%description
A suite of tools for thin provisioning on Linux.
@ -51,13 +47,14 @@ A suite of tools for thin provisioning on Linux.
autoreconf -fiv
%configure \
--bindir=%{_sbindir} \
--with-optimisation="%{optflags}"
--enable-dev-tools \
--with-optimisation="%{optflags}" \
# In generated Makefile V=@ is used, in order to achieve verbose build ve
# must override it as V=""
make %{?_smp_mflags} V=""
%install
make STRIP="/bin/true" DESTDIR=%{buildroot} install %{?_smp_mflags}
%make_install STRIP="/bin/true"
%post
%{?regenerate_initrd_post}
@ -69,15 +66,13 @@ make STRIP="/bin/true" DESTDIR=%{buildroot} install %{?_smp_mflags}
%{?regenerate_initrd_posttrans}
%files
%defattr(-,root,root)
%doc COPYING
%{_sbindir}/cache_writeback
%{_sbindir}/thin_show_duplicates
%{_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
@ -86,11 +81,15 @@ make STRIP="/bin/true" DESTDIR=%{buildroot} install %{?_smp_mflags}
%{_sbindir}/thin_check
%{_sbindir}/thin_delta
%{_sbindir}/thin_dump
%{_sbindir}/thin_generate_metadata
%{_sbindir}/thin_ll_dump
%{_sbindir}/thin_ls
%{_sbindir}/thin_metadata_size
%{_sbindir}/thin_repair
%{_sbindir}/thin_restore
%{_sbindir}/thin_rmap
%{_sbindir}/thin_scan
%{_sbindir}/thin_show_duplicates
%{_sbindir}/thin_trim
%{_mandir}/man8/cache_check.8%{ext_man}
%{_mandir}/man8/cache_dump.8%{ext_man}