Add the compilation dependency of gcc.

This commit is contained in:
lijingyuan007 2021-05-27 10:51:12 +08:00
parent 55c7183485
commit 0c3d021370

View File

@ -1,7 +1,7 @@
Summary: Utility to set/show the host name or domain name Summary: Utility to set/show the host name or domain name
Name: hostname Name: hostname
Version: 3.21 Version: 3.21
Release: 1 Release: 2
License: GPLv2+ License: GPLv2+
URL: http://packages.qa.debian.org/h/hostname.html URL: http://packages.qa.debian.org/h/hostname.html
Source0: http://ftp.de.debian.org/debian/pool/main/h/hostname/hostname_%{version}.tar.gz Source0: http://ftp.de.debian.org/debian/pool/main/h/hostname/hostname_%{version}.tar.gz
@ -10,6 +10,8 @@ Source2: nis-domainname
Source3: nis-domainname.service Source3: nis-domainname.service
Patch1: hostname-rh.patch Patch1: hostname-rh.patch
BuildRequires: gcc
%description %description
This package provides funcions to display or set system's hostname or NIS domain This package provides funcions to display or set system's hostname or NIS domain
name, and displays its DNS name as well. name, and displays its DNS name as well.
@ -48,6 +50,12 @@ fi
%{_libexecdir}/%{name}/* %{_libexecdir}/%{name}/*
%changelog %changelog
* Thu May 27 2021 lijingyuan <lijingyuan3@huawei.com> - 3.21-2
- Type:requirement
- ID:NA
- SUG:NA
- DESC:Add the compilation dependency of gcc.
* Fri Jul 24 2020 gaihuiying <gaihuiying1@huawei.com> - 3.21-1 * Fri Jul 24 2020 gaihuiying <gaihuiying1@huawei.com> - 3.21-1
- Type:requirement - Type:requirement
- ID:NA - ID:NA