delete -Sgit from %autosetup, and delete BuildRequires git

This commit is contained in:
chenyanpanHW 2021-08-02 00:20:21 +08:00
parent 4cede45962
commit cbb3a0fa56
No known key found for this signature in database
GPG Key ID: 6DAA738A86DB45D7

View File

@ -1,6 +1,6 @@
Name: ndctl Name: ndctl
Version: 71.1 Version: 71.1
Release: 2 Release: 3
Summary: Manage "libnvdimm" subsystem devices (Non-volatile Memory) Summary: Manage "libnvdimm" subsystem devices (Non-volatile Memory)
License: GPL-2, LGPL-2.1, MIT, CC0-1.0 License: GPL-2, LGPL-2.1, MIT, CC0-1.0
Group: System Environment/Base Group: System Environment/Base
@ -22,7 +22,6 @@ BuildRequires: pkgconfig(json-c)
BuildRequires: pkgconfig(bash-completion) BuildRequires: pkgconfig(bash-completion)
BuildRequires: pkgconfig(systemd) BuildRequires: pkgconfig(systemd)
BuildRequires: keyutils-libs-devel BuildRequires: keyutils-libs-devel
BuildRequires: git
%description %description
Utility library for managing the "libnvdimm" subsystem. The "libnvdimm" Utility library for managing the "libnvdimm" subsystem. The "libnvdimm"
@ -88,7 +87,7 @@ control API for these devices.
%prep %prep
%autosetup -Sgit -n ndctl-%{version} %autosetup -n ndctl-%{version} -p1
%build %build
echo %{version} > version echo %{version} > version
@ -153,6 +152,9 @@ make check
%changelog %changelog
* Mon Aug 02 2021 chenyanpanHW <chenyanpan@huawei.com> - 71.1-3
- DESC: delete -Sgit from %autosetup, and delete BuildRequires git
* Tue Jun 29 2021 zhouwenpei <zhouwenpei1@huawei.com> - 71.1-2 * Tue Jun 29 2021 zhouwenpei <zhouwenpei1@huawei.com> - 71.1-2
- add buildrequire git - add buildrequire git