!11 gtk2 delete -Sgit from %autosetup, and delete BuildRequires git

From: @chenyanpanHW
Reviewed-by: @yanan-rock
Signed-off-by: @yanan-rock
This commit is contained in:
openeuler-ci-bot 2021-08-03 07:48:28 +00:00 committed by Gitee
commit 6e46de93ad

View File

@ -6,7 +6,7 @@
#Basic Information
Name: gtk2
Version: 2.24.33
Release: 2
Release: 3
Summary: GTK+ graphical user interface library
License: LGPLv2+
URL: http://www.gtk.org
@ -29,7 +29,7 @@ BuildRequires: pkgconfig(cairo) >= 1.6 pkgconfig(gobject-introspection-1.0) >
BuildRequires: pkgconfig(xi) pkgconfig(xrandr) pkgconfig(xrender) pkgconfig(xcursor)
BuildRequires: pkgconfig(xinerama) pkgconfig(xcomposite) pkgconfig(xdamage)
BuildRequires: gettext cups-devel libxslt python3-devel
BuildRequires: gtk-doc automake autoconf libtool pkgconfig git
BuildRequires: gtk-doc automake autoconf libtool pkgconfig
Requires: hicolor-icon-theme gtk-update-icon-cache
Requires: gdk-pixbuf2-modules glib2 >= 2.28.0 atk >= 1.29.2 pango >= 1.20
Requires: libXrandr >= 1.2.99.4-2
@ -98,7 +98,7 @@ This package contains developer documentation for the GTK+ widget toolkit.
#Build sections
%prep
%autosetup -n gtk+-%{version} -p1 -Sgit
%autosetup -n gtk+-%{version} -p1
%build
export CFLAGS='-fno-strict-aliasing %optflags'
@ -231,6 +231,9 @@ gtk-query-immodules-2.0-64 --update-cache
%{_mandir}/man1/gtk-builder-convert.1.gz
%changelog
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 2.24.33-3
- DESC: delete -Sgit from %autosetup, and delete BuildRequires git
* Wed Mar 10 2021 yanan <yanan@huawei.com> - 2.24.33-2
- use multi-thread to build