delete -S git from %autosetup, and delete BuildRequires git

This commit is contained in:
chenyanpanHW 2021-07-30 23:05:17 +08:00
parent 14333b25c4
commit c8905c7539
No known key found for this signature in database
GPG Key ID: 6DAA738A86DB45D7

View File

@ -4,14 +4,14 @@
Name: lldpad
Version: 1.1
Release: 1
Release: 2
Summary: Intel LLDP Agent
License: GPLv2
URL: https://www.open-lldp.org
Source0: https://github.com/intel/lldpad/archive/v%{version}.tar.gz
BuildRequires: automake autoconf libtool flex kernel-headers libconfig-devel
BuildRequires: libnl3-devel readline-devel systemd git
BuildRequires: libnl3-devel readline-devel systemd
Requires: readline
%{?systemd_requires}
@ -32,7 +32,7 @@ The package contains header files used for building applications that use %{name
%package_help
%prep
%autosetup -n openlldp-%{version} -p1 -S git
%autosetup -n openlldp-%{version} -p1
%build
./bootstrap.sh
@ -83,6 +83,9 @@ make check
%{_mandir}/man*/*
%changelog
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 1.1-2
- DESC: delete -S git from %autosetup, and delete BuildRequires git
* Sat Jan 30 2021 xihaochen <xihaochen@huawei.com> - 1.1-1
- Type:requirements
- Id:NA