diff --git a/.gitignore b/.gitignore index 23d79e1..94e0d3d 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,4 @@ hostname_3.04.tar.gz /gpl-2.0.txt /hostname_3.19.tar.gz /hostname_3.20.tar.gz +/hostname_3.22.tar.gz diff --git a/hostname-rh.patch b/hostname-rh.patch index 147c118..99f5477 100644 --- a/hostname-rh.patch +++ b/hostname-rh.patch @@ -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 diff --git a/hostname.spec b/hostname.spec index 7d72c1f..2a6960b 100644 --- a/hostname.spec +++ b/hostname.spec @@ -1,7 +1,7 @@ Summary: Utility to set/show the host name or domain name Name: hostname -Version: 3.20 -Release: 9%{?dist} +Version: 3.22 +Release: 1%{?dist} 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 @@ -60,6 +60,9 @@ fi %{_libexecdir}/%{name} %changelog +* Fri Aug 30 2019 Pavel Zhukov - 3.22-1 +- New release v3.22 (#1747011) + * Thu Jul 25 2019 Fedora Release Engineering - 3.20-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild diff --git a/sources b/sources index 195be13..1ea3b69 100644 --- a/sources +++ b/sources @@ -1,2 +1 @@ -SHA512 (hostname_3.20.tar.gz) = 43d143d135c1ec0a9f2c2bc1d96109a2916142f0dd6bf000e53a47c6a856b517cab491bbabf0370021ac0434e619f957be7c0cb72f7a51c8e8c6d19c3936c8ad -SHA512 (gpl-2.0.txt) = aee80b1f9f7f4a8a00dcf6e6ce6c41988dcaedc4de19d9d04460cbfb05d99829ffe8f9d038468eabbfba4d65b38e8dbef5ecf5eb8a1b891d9839cda6c48ee957 +SHA512 (hostname_3.22.tar.gz) = 6ee81e7156b61d672e410978d8e7838b635f3e0f4d0278c08e06b5579fcc3dc8a9fbf983249a3386b4c5ebe3d71ae6b43681ea4696050e2a6a973509d8232b7a