delete -Sgit from %autosetup, and delete BuildRequires git

This commit is contained in:
chenyanpanHW 2021-07-30 22:26:38 +08:00
parent 0e2a48360a
commit dc2dd8b7a6
No known key found for this signature in database
GPG Key ID: 6DAA738A86DB45D7

View File

@ -1,6 +1,6 @@
Name: cifs-utils
Version: 6.12
Release: 2
Release: 3
Summary: Utilities for doing and managing mounts of the Linux CIFS filesystem
License: GPLv3+
URL: http://linux-cifs.samba.org/cifs-utils/
@ -9,7 +9,7 @@ Source0: https://download.samba.org/pub/linux-cifs/cifs-utils/%{name}-%{v
Patch0: 0000-CVE-2021-20208.patch
BuildRequires: python3-docutils libcap-ng-devel libtalloc-devel krb5-devel keyutils-libs-devel autoconf
BuildRequires: automake libwbclient-devel pam-devel git python3-samba pkg-config fdupes gcc
BuildRequires: automake libwbclient-devel pam-devel python3-samba pkg-config fdupes gcc
Provides: pam_cifscreds
Obsoletes: pam_cifscreds
Requires: keyutils
@ -40,7 +40,7 @@ Requires: man
This contains man files for the using of cifs-utils.
%prep
%autosetup -Sgit -n %{name}-%{version}
%autosetup -n %{name}-%{version} -p1
%build
autoreconf -vif
@ -77,6 +77,9 @@ install -m 644 contrib/request-key.d/cifs.spnego.conf %{buildroot}%{_sysconfdir}
%{_mandir}/man8/*
%changelog
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 6.12-3
- DESC: delete -Sgit from %autosetup, and delete BuildRequires git
* Fri May 7 2021 yanglongkang <yanglongkang@huawei.com> - 6.12-2
- Fix CVE-2021-20208