Skip to content

Commit

Permalink
Merge remote-tracking branch 'qubesos/pr/54'
Browse files Browse the repository at this point in the history
* qubesos/pr/54:
  Add support for python34-sphinx: package is provided in Qubes repository
  • Loading branch information
marmarek committed Feb 26, 2018
2 parents fceb7ff + 3b8fec9 commit aea2dc0
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions rpm_spec/qubes-core-admin-client.spec
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ BuildRequires: python2-devel
%if 0%{?rhel} >= 7
BuildRequires: python34-setuptools
BuildRequires: python34-devel
BuildRequires: python-sphinx
BuildRequires: python34-sphinx
BuildRequires: python34-dbus
Requires: python34-qubesadmin
%else
Expand Down Expand Up @@ -69,27 +69,17 @@ Python3 module qubesadmin.


%build
%if 0%{?rhel} >= 7
make -C doc PYTHON=%{__python3} SPHINXBUILD=sphinx-build man
%else
make -C doc PYTHON=%{__python3} SPHINXBUILD=sphinx-build-%{python3_version} man
%endif

%install
rm -rf build
%make_install PYTHON=%{__python2}
rm -rf build
%make_install PYTHON=%{__python3}

%if 0%{?rhel} >= 7
make -C doc DESTDIR=$RPM_BUILD_ROOT \
PYTHON=%{__python3} SPHINXBUILD=sphinx-build \
install
%else
make -C doc DESTDIR=$RPM_BUILD_ROOT \
PYTHON=%{__python3} SPHINXBUILD=sphinx-build-%{python3_version} \
install
%endif


%files
Expand Down

0 comments on commit aea2dc0

Please sign in to comment.