Remove _builddir and useless condition on qubes_builder

This commit is contained in:
Frédéric Pierret 2018-01-28 11:19:31 +01:00
parent 329aed3460
commit aba6f98cd9
No known key found for this signature in database
GPG Key ID: 1DABC232BE02201E

View File

@ -25,10 +25,6 @@ Requires: python3-qubesadmin
BuildArch: noarch
Source0: %{name}-%{version}.tar.gz
%if 0%{?qubes_builder}
%define _builddir %(pwd)
%endif
%description
This package include managemt tools, like qvm-*.
@ -66,14 +62,13 @@ Python3 module qubesadmin.
%endif
%prep
%if !0%{?qubes_builder}
%setup -q
%endif
%build
make -C doc PYTHON=%{__python3} SPHINXBUILD=sphinx-build-%{python3_version} man
%install
rm -rf build
%make_install PYTHON=%{__python2}