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