From 9c9011c4cd7929fba522da76713f69a54fb1dda8 Mon Sep 17 00:00:00 2001 From: nick black Date: Sat, 11 Apr 2020 02:02:04 -0400 Subject: [PATCH] fedora: really fix python #462 --- tools/notcurses.spec | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tools/notcurses.spec b/tools/notcurses.spec index 61dc18ffa..ccc44cf18 100644 --- a/tools/notcurses.spec +++ b/tools/notcurses.spec @@ -52,16 +52,16 @@ Python wrappers and a demonstration script for the notcurses library. # Tests have been disabled due to absence of doctest in Fedora (as of F32) %build -%mkdir build -%cd build -%cmake -DUSE_FFMPEG=off -DUSE_TESTS=off . +mkdir build +cd build +%cmake -DUSE_FFMPEG=off -DUSE_TESTS=off .. %make_build %install -%cd build +cd build %make_install -%cd python -%python setup.py install --root=%{_prefix} --optimize=1 +cd python +python setup.py install --root=%{buildroot} --optimize=1 %files %doc CHANGELOG.md README.md