mirror of
https://github.com/Rudd-O/qubes-network-server.git
synced 2025-03-01 14:22:35 +01:00
Require Python3 setuptools.
This commit is contained in:
parent
43bdf5fd04
commit
a057e31578
@ -16,7 +16,7 @@ BuildRequires: make
|
|||||||
BuildRequires: coreutils
|
BuildRequires: coreutils
|
||||||
BuildRequires: tar
|
BuildRequires: tar
|
||||||
BuildRequires: findutils
|
BuildRequires: findutils
|
||||||
%if 1%{?fc30} == 11
|
%if 0%{?fedora} < 31
|
||||||
BuildRequires: python2
|
BuildRequires: python2
|
||||||
BuildRequires: python2-rpm-macros
|
BuildRequires: python2-rpm-macros
|
||||||
%global pythoninterp %{_bindir}/python2
|
%global pythoninterp %{_bindir}/python2
|
||||||
@ -26,7 +26,7 @@ BuildRequires: python3-rpm-macros
|
|||||||
%global pythoninterp %{_bindir}/python3
|
%global pythoninterp %{_bindir}/python3
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if 1%{?fc25} == 1
|
%if 0%{?fedora} > 29
|
||||||
BuildRequires: systemd-rpm-macros
|
BuildRequires: systemd-rpm-macros
|
||||||
%else
|
%else
|
||||||
%global _presetdir %{_prefix}/lib/systemd/system-preset
|
%global _presetdir %{_prefix}/lib/systemd/system-preset
|
||||||
@ -55,6 +55,7 @@ BuildRequires: tar
|
|||||||
BuildRequires: findutils
|
BuildRequires: findutils
|
||||||
BuildRequires: python3
|
BuildRequires: python3
|
||||||
BuildRequires: python3-rpm-macros
|
BuildRequires: python3-rpm-macros
|
||||||
|
BuildRequires: python3-setuptools
|
||||||
|
|
||||||
Requires: python3
|
Requires: python3
|
||||||
Requires: qubes-core-dom0 >= 4.0.49-1
|
Requires: qubes-core-dom0 >= 4.0.49-1
|
||||||
@ -102,17 +103,17 @@ echo 'enable qubes-routing-manager.service' > "$RPM_BUILD_ROOT"/%{_presetdir}/75
|
|||||||
%systemd_postun_with_restart qubes-routing-manager.service
|
%systemd_postun_with_restart qubes-routing-manager.service
|
||||||
|
|
||||||
%post -n qubes-core-admin-addon-network-server
|
%post -n qubes-core-admin-addon-network-server
|
||||||
%if 1%{?fc25} == 11
|
%if 0%{?fedora} > 29
|
||||||
systemctl try-restart qubesd.service
|
|
||||||
%else
|
|
||||||
%systemd_post qubesd.service
|
%systemd_post qubesd.service
|
||||||
|
%else
|
||||||
|
systemctl try-restart qubesd.service
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%postun -n qubes-core-admin-addon-network-server
|
%postun -n qubes-core-admin-addon-network-server
|
||||||
%if 1%{?fc25} == 11
|
%if 0%{?fedora} > 29
|
||||||
systemctl try-restart qubesd.service
|
|
||||||
%else
|
|
||||||
%systemd_postun_with_restart qubesd.service
|
%systemd_postun_with_restart qubesd.service
|
||||||
|
%else
|
||||||
|
systemctl try-restart qubesd.service
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user