Use make macros
https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
This commit is contained in:
parent
1c224b95d2
commit
7f7f4304fc
8
tk.spec
8
tk.spec
@ -4,7 +4,7 @@
|
|||||||
Summary: The graphical toolkit for the Tcl scripting language
|
Summary: The graphical toolkit for the Tcl scripting language
|
||||||
Name: tk
|
Name: tk
|
||||||
Version: %{vers}
|
Version: %{vers}
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
License: TCL
|
License: TCL
|
||||||
URL: http://tcl.sourceforge.net
|
URL: http://tcl.sourceforge.net
|
||||||
@ -52,7 +52,7 @@ The package contains the development files and man pages for tk.
|
|||||||
cd unix
|
cd unix
|
||||||
autoconf
|
autoconf
|
||||||
%configure --enable-threads
|
%configure --enable-threads
|
||||||
make %{?_smp_mflags} CFLAGS="%{optflags}" TK_LIBRARY=%{_datadir}/%{name}%{majorver}
|
%make_build CFLAGS="%{optflags}" TK_LIBRARY=%{_datadir}/%{name}%{majorver}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
# do not run "make test" by default since it requires an X display
|
# 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
|
%{_datadir}/%{name}%{majorver}/tkAppInit.c
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jul 22 2020 Tom Stellard <tstellar@redhat.com> - 1:8.6.10-4
|
||||||
|
- Use make macros
|
||||||
|
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
|
||||||
|
|
||||||
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:8.6.10-3
|
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:8.6.10-3
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user