delete -S git from %autosetup, and delete BuildRequires git

This commit is contained in:
chenyanpanHW 2021-07-31 15:19:57 +08:00
parent 203c8a4840
commit 010d1e5b3e
No known key found for this signature in database
GPG Key ID: 6DAA738A86DB45D7

View File

@ -6,13 +6,13 @@
Name: gettext
Version: 0.21
Release: 4
Release: 5
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.
URL: https://www.gnu.org/software/gettext/
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
%if %{with java}
BuildRequires: gcc-java, libgcj
@ -85,7 +85,7 @@ Summary: help info for %{name}
This package contains man, license, info, readme, copyright, license.
%prep
%autosetup -n %{name}-%{version} -S git
%autosetup -n %{name}-%{version} -p1
sed -e 's/\(gl_cv_libxml_force_included=\)yes/\1no/' \
-i libtextstyle/configure
@ -242,6 +242,9 @@ make check LIBUNISTRING=-lunistring
%exclude %{_mandir}/man1/autopoint.1*
%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
- Type:bugfix
- ID:NA