!8 [sync] PR-7: Fix CC compiler support

From: @openeuler-sync-bot 
Reviewed-by: @wang--ge 
Signed-off-by: @wang--ge
This commit is contained in:
openeuler-ci-bot 2024-03-30 07:00:00 +00:00 committed by Gitee
commit 030fc3bd2e
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -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 <chen_aka_jan@163.com> - 1.2.10-91
* Thu Mar 14 2024 wangqiang <wangqiang1@kylinos.cn> - 1:1.2.10-92
- Fix CC compiler support
* Tue Oct 26 2021 chenchen <chen_aka_jan@163.com> - 1:1.2.10-91
- change the spec file name to be the same as the repo name
* Mon Dec 02 2019 zhouyihang <zhouyihang1@huawei.com> - 1.2.10-90
* Mon Dec 02 2019 zhouyihang <zhouyihang1@huawei.com> - 1:1.2.10-90
- Package init