delete -Sgit from %autosetup, and delete BuildRequires git

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

View File

@ -1,6 +1,6 @@
Name: tpm2-tools Name: tpm2-tools
Version: 5.0 Version: 5.0
Release: 3 Release: 4
Summary: A TPM2.0 testing tool based on TPM2.0-TSS Summary: A TPM2.0 testing tool based on TPM2.0-TSS
License: BSD License: BSD
URL: https://github.com/tpm2-software/tpm2-tools URL: https://github.com/tpm2-software/tpm2-tools
@ -9,7 +9,7 @@ Source0: https://github.com/tpm2-software/tpm2-tools/releases/download/%{v
Patch0: backport-Don-t-assume-end-of-argv-is-NULL.patch Patch0: backport-Don-t-assume-end-of-argv-is-NULL.patch
BuildRequires: gcc-c++ libtool autoconf-archive pkgconfig(cmocka) pkgconfig(libcurl) pkgconfig(openssl) BuildRequires: gcc-c++ libtool autoconf-archive pkgconfig(cmocka) pkgconfig(libcurl) pkgconfig(openssl)
BuildRequires: pkgconfig(tss2-mu) pkgconfig(tss2-sys) pkgconfig(tss2-esys) pkgconfig(uuid) git libgcrypt BuildRequires: pkgconfig(tss2-mu) pkgconfig(tss2-sys) pkgconfig(tss2-esys) pkgconfig(uuid) libgcrypt
BuildRequires: libgcrypt-devel BuildRequires: libgcrypt-devel
Requires: tpm2-tss >= 2.3.1 Requires: tpm2-tss >= 2.3.1
Requires: tpm2-tools-help = %{version}-%{release} Requires: tpm2-tools-help = %{version}-%{release}
@ -25,7 +25,7 @@ command line tools that provide access to a tpm2.0 compatible device.
%package_help %package_help
%prep %prep
%autosetup -n %{name}-%{version} -p1 -Sgit %autosetup -n %{name}-%{version} -p1
%build %build
%configure --prefix=/usr --disable-static --disable-silent-rules %configure --prefix=/usr --disable-static --disable-silent-rules
@ -58,6 +58,9 @@ make check
%{_mandir}/*/* %{_mandir}/*/*
%changelog %changelog
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 5.0-4
- DESC: delete -Sgit from %autosetup, and delete BuildRequires git
* Mon Jul 26 2021 fuanan <fuanan3@huawei.com> - 5.0-3 * Mon Jul 26 2021 fuanan <fuanan3@huawei.com> - 5.0-3
- Remove redundant gdb from BuildRequires - Remove redundant gdb from BuildRequires