From 4443cf655ec0da24c4cb1eb9a913529d8eb572a3 Mon Sep 17 00:00:00 2001 From: Paul P. Komkoff Date: Jan 29 2019 17:54:26 +0000 Subject: Use correct python build macros --- diff --git a/pyflowtools.spec b/pyflowtools.spec index 4200164..fbe46c1 100644 --- a/pyflowtools.spec +++ b/pyflowtools.spec @@ -27,11 +27,11 @@ OSU FlowTools into python program for further analysis. %build export libdirname=%{_lib} -CFLAGS="$RPM_OPT_FLAGS" %{__python3} setup.py build +%py3_build %install export libdirname=%{_lib} -%{__python3} setup.py install --root=$RPM_BUILD_ROOT +%py3_install %files %doc COPYING CHANGES README example.py flowprint-full