diff options
author | Petr Rockai <prockai@redhat.com> | 2014-06-27 01:24:47 +0200 |
---|---|---|
committer | Petr Rockai <prockai@redhat.com> | 2015-02-05 13:47:18 +0100 |
commit | d5537e7d6b28d2a7f2214529797aade0ed29efab (patch) | |
tree | acd9ae4541aed7adcedb27aa6ec2d24f56aabcc1 /spec/build.inc | |
parent | d488f032298ee6e8bf3f0abc50e2756f11a73196 (diff) | |
download | lvm2-d5537e7d6b28d2a7f2214529797aade0ed29efab.tar.gz |
spec: Add an (optional) lvm2-testsuite subpackage.
Diffstat (limited to 'spec/build.inc')
-rw-r--r-- | spec/build.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/spec/build.inc b/spec/build.inc index 95c9b8357..176fdb13b 100644 --- a/spec/build.inc +++ b/spec/build.inc @@ -37,6 +37,9 @@ make install_initscripts DESTDIR=$RPM_BUILD_ROOT make install_systemd_units DESTDIR=$RPM_BUILD_ROOT make install_tmpfiles_configuration DESTDIR=$RPM_BUILD_ROOT %endif +%if %{enable_testsuite} +make -C test install DESTDIR=$RPM_BUILD_ROOT +%endif # when building an src.rpm from freestanding specfiles test -e %{_sourcedir}/source.inc || cp source.inc build.inc packages.inc macros.inc %{_sourcedir} |