delete -Sgit from %autosetup, and delete BuildRequires git

This commit is contained in:
chenyanpanHW 2021-07-30 23:17:27 +08:00
parent 89bdc48903
commit d2332cc984
No known key found for this signature in database
GPG Key ID: 6DAA738A86DB45D7

View File

@ -1,6 +1,6 @@
Name: powertop
Version: 2.13
Release: 1
Release: 2
Summary: Power consumption tool for Linux
License: GPLv2
URL: http://01.org/powertop/
@ -9,7 +9,7 @@ Source1: powertop.service
Patch1: backport-powertop-2.7-always-create-params.patch
BuildRequires: gcc gcc-c++ git systemd
BuildRequires: gcc gcc-c++ systemd
BuildRequires: gettext-devel ncurses-devel pciutils-devel zlib-devel libnl3-devel
Requires(post): coreutils
%{?systemd_requires}
@ -24,7 +24,7 @@ management settings for cases where the Linux distribution has not enabled these
%package_help
%prep
%autosetup -n %{name}-%{version} -p1 -Sgit
%autosetup -n %{name}-%{version} -p1
%build
%configure
@ -67,6 +67,9 @@ touch %{_localstatedir}/cache/powertop/{saved_parameters.powertop,saved_results.
%changelog
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 2.13-2
- DESC: delete -Sgit from %autosetup, and delete BuildRequires git
* Thu Jan 21 2021 yixiangzhike <zhangxingliang3@huawei.com> - 2.13-1
- Type:requirement
- ID:NA