!6 gdbm delete -S git from %autosetup, and delete BuildRequires git

From: @chenyanpanHW
Reviewed-by: @liuzhiqiang26
Signed-off-by: @liuzhiqiang26
This commit is contained in:
openeuler-ci-bot 2021-07-31 02:36:46 +00:00 committed by Gitee
commit 261ebb8cca

View File

@ -1,13 +1,13 @@
Name: gdbm
Version: 1.20
Release: 1
Release: 2
Epoch: 1
Summary: A library of database functions that work similar to the standard UNIX dbm
License: GPLv3+
URL: http://www.gnu.org/software/gdbm/
Source0: http://ftp.gnu.org/gnu/gdbm/gdbm-%{version}.tar.gz
BuildRequires: gcc libtool gettext readline-devel git
BuildRequires: gcc libtool gettext readline-devel
Provides: %{name}-libs
Provides: %{name}-libs%{?_isa}
@ -40,7 +40,7 @@ Requires: man info
Man pages and other related documents for %{name}.
%prep
%autosetup -n %{name}-%{version} -p1 -S git
%autosetup -n %{name}-%{version} -p1
%build
%configure --disable-static --disable-largefile --disable-rpath --enable-libgdbm-compat
@ -96,6 +96,9 @@ fi
%{_infodir}/*.info*
%changelog
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 1.20-2
- DESC: delete -S git from %autosetup, and delete BuildRequires git
* Fri Jul 20 2021 yanglongkang <yanglongkang@huawei.com> - 1.20-1
- upgrade package to 1.20