From 7f7f4304fcc6d528db7af2ff4535bef349af61a1 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Wed, 22 Jul 2020 02:21:38 +0000 Subject: [PATCH] Use make macros https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro --- tk.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tk.spec b/tk.spec index 6004e1e..327a6b0 100644 --- a/tk.spec +++ b/tk.spec @@ -4,7 +4,7 @@ Summary: The graphical toolkit for the Tcl scripting language Name: tk Version: %{vers} -Release: 3%{?dist} +Release: 4%{?dist} Epoch: 1 License: TCL URL: http://tcl.sourceforge.net @@ -52,7 +52,7 @@ The package contains the development files and man pages for tk. cd unix autoconf %configure --enable-threads -make %{?_smp_mflags} CFLAGS="%{optflags}" TK_LIBRARY=%{_datadir}/%{name}%{majorver} +%make_build CFLAGS="%{optflags}" TK_LIBRARY=%{_datadir}/%{name}%{majorver} %check # do not run "make test" by default since it requires an X display @@ -107,6 +107,10 @@ sed -i -e "s|$PWD/unix|%{_libdir}|; s|$PWD|%{_includedir}/%{name}-private|" %{bu %{_datadir}/%{name}%{majorver}/tkAppInit.c %changelog +* Wed Jul 22 2020 Tom Stellard - 1:8.6.10-4 +- Use make macros +- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro + * Fri Jan 31 2020 Fedora Release Engineering - 1:8.6.10-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild