1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

spec: configurable cache build

Install lvmcache man page when being configured with cache support.
Install lvmthin man page only with thin support.
This commit is contained in:
Zdenek Kabelac 2014-05-20 19:56:20 +02:00
parent 08fd244506
commit e538354e28
2 changed files with 8 additions and 2 deletions

View File

@ -82,9 +82,13 @@ fi
%if %{have_service lvmetad}
%{_sbindir}/lvmetad
%endif
%if %{have_with cache}
%{_mandir}/man7/lvmcache.7.gz
%endif
%if %{have_with thin}
%{_mandir}/man7/lvmthin.7.gz
%endif
%{_mandir}/man5/lvm.conf.5.gz
%{_mandir}/man7/lvmcache.7.gz
%{_mandir}/man7/lvmthin.7.gz
%{_mandir}/man8/fsadm.8.gz
%{_mandir}/man8/lvchange.8.gz
%{_mandir}/man8/lvconvert.8.gz

View File

@ -13,6 +13,7 @@
%with clvmd corosync
# TODO %global req_dm_persistent device-mapper-persistent-data >= 0.1.4
%with cache internal
%with thin internal
%with thin_check %{_sbindir}/thin_check
%with thin_repair %{_sbindir}/thin_repair
@ -39,6 +40,7 @@
%endif
%if %{fedora} == 16
%with cache none
%with thin none
%with thin_check
%with thin_repair