!3 python-kdcproxy delete -S git from %autosetup, and delete BuildRequires git

From: @chenyanpanHW
Reviewed-by: @shinwell_hu
Signed-off-by: @shinwell_hu
This commit is contained in:
openeuler-ci-bot 2021-08-13 02:18:24 +00:00 committed by Gitee
commit 771c9122f8

View File

@ -1,13 +1,12 @@
%global realname kdcproxy %global realname kdcproxy
Name: python-%{realname} Name: python-%{realname}
Version: 0.4.2 Version: 0.4.2
Release: 4 Release: 5
Summary: MS-KKDCP (kerberos proxy) WSGI module Summary: MS-KKDCP (kerberos proxy) WSGI module
License: MIT License: MIT
URL: https://github.com/npmccallum/%{realname} URL: https://github.com/npmccallum/%{realname}
Source0: https://github.com/latchset/kdcproxy/releases/download/v0.4.2/kdcproxy-%{version}.tar.gz Source0: https://github.com/latchset/kdcproxy/releases/download/v0.4.2/kdcproxy-%{version}.tar.gz
BuildArch: noarch BuildArch: noarch
BuildRequires: git
BuildRequires: python3-devel python3-pytest python3-coverage python3-asn1crypto python3-dns BuildRequires: python3-devel python3-pytest python3-coverage python3-asn1crypto python3-dns
BuildRequires: python3-mock BuildRequires: python3-mock
@ -27,7 +26,7 @@ HTTP by following the MS-KKDCP protocol. It aims to be simple to deploy, with
minimal configuration. minimal configuration.
%prep %prep
%autosetup -S git -n %{realname}-%{version} %autosetup -n %{realname}-%{version} -p1
%build %build
%py3_build %py3_build
@ -45,5 +44,8 @@ KDCPROXY_ASN1MOD=asn1crypto %{__python3} -m pytest
%{python3_sitelib}/%{realname}-%{version}-*.egg-info %{python3_sitelib}/%{realname}-%{version}-*.egg-info
%changelog %changelog
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 0.4.2-5
- DESC: delete -S git from %autosetup, and delete BuildRequires git
* Tue Jun 30 2020 leiju <leiju4@huawei.com> - 0.4.2-4 * Tue Jun 30 2020 leiju <leiju4@huawei.com> - 0.4.2-4
- Package init - Package init