update hostname version to 3.21

This commit is contained in:
eaglegai 2020-07-24 13:58:00 +08:00
parent 759c0fe87a
commit bfd393f578
4 changed files with 11 additions and 5 deletions

View File

@ -22,7 +22,7 @@ diff -up hostname/hostname.1.rh hostname/hostname.1
--- hostname/hostname.1.rh 2013-11-03 15:24:23.000000000 +0100
+++ hostname/hostname.1 2013-11-04 10:12:59.670379153 +0100
@@ -80,6 +80,28 @@ complete FQDN of the system is returned
.B "THE FQDN"
.B THE FQDN
below).
+.LP
@ -37,7 +37,7 @@ diff -up hostname/hostname.1.rh hostname/hostname.1
+and
+.BR gethostbyname(3)
+is that
+.BR gethostbyname(3)
+.BR gethostbyname(5)
+is network aware, so it consults
+.IR /etc/nsswitch.conf
+and
@ -51,7 +51,7 @@ diff -up hostname/hostname.1.rh hostname/hostname.1
When called with one argument or with the
.B \-\-file
@@ -105,8 +127,7 @@ command (see
.B "THE FQDN"
.B THE FQDN
below).
.LP
-The host name is usually set once at system startup in

View File

@ -1,7 +1,7 @@
Summary: Utility to set/show the host name or domain name
Name: hostname
Version: 3.20
Release: 7
Version: 3.21
Release: 1
License: GPLv2+
URL: http://packages.qa.debian.org/h/hostname.html
Source0: http://ftp.de.debian.org/debian/pool/main/h/hostname/hostname_%{version}.tar.gz
@ -48,5 +48,11 @@ fi
%{_libexecdir}/%{name}/*
%changelog
* Fri Jul 24 2020 gaihuiying <gaihuiying1@huawei.com> - 3.21-1
- Type:requirement
- ID:NA
- SUG:NA
- DESC:update hostname version to 3.21
* Fri Sep 20 2019 Alex Chao <zhaolei746@huawei.com> - 3.20-7
- Package init

Binary file not shown.

BIN
hostname_3.21.tar.gz Normal file

Binary file not shown.