delete -S git from %autosetup, and delete BuildRequires git
This commit is contained in:
parent
edf50b8dfe
commit
b5c26c1173
@ -2,7 +2,7 @@
|
||||
|
||||
Name: python-%{modname}
|
||||
Version: 0.22.0
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: Mock D-Bus objects
|
||||
|
||||
License: LGPLv3+
|
||||
@ -11,7 +11,6 @@ URL: https://pypi.python.org/pypi/python-dbusmock
|
||||
Source0: https://github.com/martinpitt/%{name}/releases/download/%{version}/%{name}-%{version}.tar.gz
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: git
|
||||
BuildRequires: python3-dbus
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
@ -37,7 +36,7 @@ Requires: python3-dbus, python3-gobject, dbus-x11
|
||||
%description -n python3-dbusmock %_description
|
||||
|
||||
%prep
|
||||
%autosetup -n %{name}-%{version} -S git
|
||||
%autosetup -n %{name}-%{version} -p1
|
||||
rm -rf python-%{modname}.egg-info
|
||||
|
||||
|
||||
@ -55,5 +54,8 @@ rm -rf python-%{modname}.egg-info
|
||||
%{python3_sitelib}/*%{modname}*
|
||||
|
||||
%changelog
|
||||
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 0.22.0-2
|
||||
- DESC: delete -S git from %autosetup, and delete BuildRequires git
|
||||
|
||||
* Fri Jun 25 2021 Wenlong Ding <wenlong.ding@turbolinux.com.cn> - 0.22.0-1
|
||||
- initial package
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user