From 855aba5c0f495c849f53c3f3e5a5dc892a17f3a4 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sun, 29 Jul 2018 23:26:36 +0200 Subject: [PATCH] Switch to %py2_install Signed-off-by: Igor Gnatenko --- tuna.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tuna.spec b/tuna.spec index 78a5267..6c6c1d9 100644 --- a/tuna.spec +++ b/tuna.spec @@ -51,7 +51,7 @@ priority is changed, be it using tuna or plain chrt & taskset. %install rm -rf %{buildroot} -%{__python} setup.py install --skip-build --root %{buildroot} +%py2_install mkdir -p %{buildroot}/%{_sysconfdir}/tuna/ mkdir -p %{buildroot}/{%{_bindir},%{_datadir}/tuna/help/kthreads,%{_mandir}/man8} mkdir -p %{buildroot}/%{_datadir}/polkit-1/actions/