!24 gettext delete -S git from %autosetup, and delete BuildRequires git

From: @chenyanpanHW
Reviewed-by: @xiezhipeng1
Signed-off-by: @xiezhipeng1
This commit is contained in:
openeuler-ci-bot 2021-08-19 08:18:43 +00:00 committed by Gitee
commit 560c548def

View File

@ -6,13 +6,13 @@
Name: gettext Name: gettext
Version: 0.21 Version: 0.21
Release: 4 Release: 5
License: GPLv3+ and LGPLv2+ License: GPLv3+ and LGPLv2+
Summary: GNU gettext utilities are a set of tools that provides a framework to help other GNU packages produce multi-lingual messages. Summary: GNU gettext utilities are a set of tools that provides a framework to help other GNU packages produce multi-lingual messages.
URL: https://www.gnu.org/software/gettext/ URL: https://www.gnu.org/software/gettext/
Source: https://ftp.gnu.org/pub/gnu/gettext/%{name}-%{version}.tar.gz Source: https://ftp.gnu.org/pub/gnu/gettext/%{name}-%{version}.tar.gz
BuildRequires: gcc-c++, emacs, git, xz, chrpath, autoconf BuildRequires: gcc-c++, emacs, xz, chrpath, autoconf
BuildRequires: ncurses-devel, libxml2-devel, glib2-devel, libunistring-devel BuildRequires: ncurses-devel, libxml2-devel, glib2-devel, libunistring-devel
%if %{with java} %if %{with java}
BuildRequires: gcc-java, libgcj BuildRequires: gcc-java, libgcj
@ -85,7 +85,7 @@ Summary: help info for %{name}
This package contains man, license, info, readme, copyright, license. This package contains man, license, info, readme, copyright, license.
%prep %prep
%autosetup -n %{name}-%{version} -S git %autosetup -n %{name}-%{version} -p1
sed -e 's/\(gl_cv_libxml_force_included=\)yes/\1no/' \ sed -e 's/\(gl_cv_libxml_force_included=\)yes/\1no/' \
-i libtextstyle/configure -i libtextstyle/configure
@ -242,6 +242,9 @@ make check LIBUNISTRING=-lunistring
%exclude %{_mandir}/man1/autopoint.1* %exclude %{_mandir}/man1/autopoint.1*
%changelog %changelog
* Sat Jul 31 2021 chenyanpanHW <chenyanpan@huawei.com> - 0.21-5
- DESC: delete -S git from %autosetup, and delete BuildRequires git
* Fri May 14 2021 yangzhuangzhuang<yangzhuangzhuang1@Huawei.com> - 0.21-4 * Fri May 14 2021 yangzhuangzhuang<yangzhuangzhuang1@Huawei.com> - 0.21-4
- Type:bugfix - Type:bugfix
- ID:NA - ID:NA