From b351430462950d100df2458a837cc3bec0227fe3 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Tue, 14 Jul 2020 02:06:46 +0000 Subject: [PATCH] Use make macros https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro --- newt.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/newt.spec b/newt.spec index 8c2bcee..ce39d82 100644 --- a/newt.spec +++ b/newt.spec @@ -72,12 +72,12 @@ providing a python API for creating text mode interfaces. # gpm support seems to smash the stack w/ we use help in anaconda?? # --with-gpm-support %configure --without-tcl -make %{?_smp_mflags} all +%make_build all chmod 0644 peanuts.py popcorn.py docbook2txt tutorial.sgml %install -make DESTDIR=$RPM_BUILD_ROOT install +%make_install rm -f $RPM_BUILD_ROOT%{_libdir}/libnewt.a %find_lang %{name}