!5 python-dbusmock delete -S git from %autosetup, and delete BuildRequires git
From: @chenyanpanHW Reviewed-by: @yanan-rock Signed-off-by: @yanan-rock
This commit is contained in:
commit
9e74a3ce1b
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Name: python-%{modname}
|
Name: python-%{modname}
|
||||||
Version: 0.22.0
|
Version: 0.22.0
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: Mock D-Bus objects
|
Summary: Mock D-Bus objects
|
||||||
|
|
||||||
License: LGPLv3+
|
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
|
Source0: https://github.com/martinpitt/%{name}/releases/download/%{version}/%{name}-%{version}.tar.gz
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: git
|
|
||||||
BuildRequires: python3-dbus
|
BuildRequires: python3-dbus
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3-setuptools
|
BuildRequires: python3-setuptools
|
||||||
@ -37,7 +36,7 @@ Requires: python3-dbus, python3-gobject, dbus-x11
|
|||||||
%description -n python3-dbusmock %_description
|
%description -n python3-dbusmock %_description
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{name}-%{version} -S git
|
%autosetup -n %{name}-%{version} -p1
|
||||||
rm -rf python-%{modname}.egg-info
|
rm -rf python-%{modname}.egg-info
|
||||||
|
|
||||||
|
|
||||||
@ -55,5 +54,8 @@ rm -rf python-%{modname}.egg-info
|
|||||||
%{python3_sitelib}/*%{modname}*
|
%{python3_sitelib}/*%{modname}*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Fri Jun 25 2021 Wenlong Ding <wenlong.ding@turbolinux.com.cn> - 0.22.0-1
|
||||||
- initial package
|
- initial package
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user