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

This commit is contained in:
chenyanpanHW 2021-07-30 22:38:23 +08:00
parent 6d70d0e5ab
commit 5cf06f31c5
No known key found for this signature in database
GPG Key ID: 6DAA738A86DB45D7

View File

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