From 43860a0e6232e5242dcf7e198684016590e123b4 Mon Sep 17 00:00:00 2001 From: wangqiang Date: Thu, 7 Mar 2024 15:49:46 +0800 Subject: [PATCH] Fix CC compiler support (cherry picked from commit 302fc6552fe3cbf12bc7ce4e3a4f984f8ab1bd82) --- gtk.spec | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/gtk.spec b/gtk.spec index e1f32ac..a9cb87a 100644 --- a/gtk.spec +++ b/gtk.spec @@ -3,7 +3,7 @@ Name: gtk+ Version: 1.2.10 Epoch: 1 -Release: 91 +Release: 92 Summary: A toolkit for creating graphical user interfaces License: LGPLv2+ URL: http://www.gtk.org/ @@ -78,12 +78,12 @@ Man pages and other related documents. cp -p /usr/lib/rpm/config.{guess,sub} . %build -%configure --disable-static --with-xinput=xfree --with-native-locale LIBTOOL=/usr/bin/libtool +%configure --disable-static --with-xinput=xfree --with-native-locale LIBTOOL="/usr/bin/libtool --tag=CC" -%make_build LIBTOOL=/usr/bin/libtool +%make_build LIBTOOL="/usr/bin/libtool --tag=CC" %install -%make_install LIBTOOL=/usr/bin/libtool +%make_install LIBTOOL="/usr/bin/libtool --tag=CC" ./mkinstalldirs tmpdocs/tutorial %_install docs/html/gtk_tut.html docs/html/gtk_tut-[0-9]*.html docs/html/*.gif tmpdocs/tutorial @@ -136,8 +136,11 @@ make check LIBTOOL=/usr/bin/libtool %{_mandir}/man1/gtk-config.1* %changelog -* Tue Oct 26 2021 chenchen - 1.2.10-91 +* Thu Mar 14 2024 wangqiang - 1:1.2.10-92 +- Fix CC compiler support + +* Tue Oct 26 2021 chenchen - 1:1.2.10-91 - change the spec file name to be the same as the repo name -* Mon Dec 02 2019 zhouyihang - 1.2.10-90 +* Mon Dec 02 2019 zhouyihang - 1:1.2.10-90 - Package init -- Gitee