diff --git a/.gitignore b/.gitignore index 0341d04..df02871 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ hostname_3.04.tar.gz /hostname_3.08.tar.gz /hostname_3.09.tar.gz /hostname_3.10.tar.gz +/hostname_3.11.tar.gz diff --git a/hostname-rh.patch b/hostname-rh.patch index cfbf419..1be3da2 100644 --- a/hostname-rh.patch +++ b/hostname-rh.patch @@ -1,7 +1,7 @@ diff -up hostname/hostname.1.rh hostname/hostname.1 ---- hostname/hostname.1.rh 2011-12-28 15:13:29.000000000 +0100 -+++ hostname/hostname.1 2012-01-18 09:31:41.331071688 +0100 -@@ -98,6 +98,33 @@ complete FQDN of the system is returned +--- hostname/hostname.1.rh 2012-02-16 15:58:45.000000000 +0100 ++++ hostname/hostname.1 2012-02-21 19:20:22.435289384 +0100 +@@ -84,6 +84,33 @@ complete FQDN of the system is returned .B "THE FQDN" below). @@ -35,7 +35,7 @@ diff -up hostname/hostname.1.rh hostname/hostname.1 .SS "SET NAME" When called with one argument or with the .B \-\-file -@@ -113,7 +140,7 @@ and +@@ -99,7 +126,7 @@ and use .BR setdomainname (2). Note, that this is effective only until the next reboot. @@ -44,7 +44,7 @@ diff -up hostname/hostname.1.rh hostname/hostname.1 .LP Note, that only the super-user can change the names. .LP -@@ -124,10 +151,10 @@ command (see +@@ -110,10 +137,10 @@ command (see below). .LP The host name is usually set once at system startup in @@ -57,7 +57,7 @@ diff -up hostname/hostname.1.rh hostname/hostname.1 .SS THE FQDN You can't change the FQDN (as returned by -@@ -221,7 +248,7 @@ order of the output. +@@ -207,7 +234,7 @@ order of the output. Display the short host name. This is the host name cut at the first dot. .TP .I "\-v, \-\-verbose" @@ -66,7 +66,7 @@ diff -up hostname/hostname.1.rh hostname/hostname.1 .TP .I "\-V, \-\-version" Print version information on standard output and exit successfully. -@@ -246,9 +273,7 @@ option in +@@ -232,9 +259,7 @@ option in .SH FILES .B /etc/hosts @@ -78,9 +78,9 @@ diff -up hostname/hostname.1.rh hostname/hostname.1 Peter Tobias, .br diff -up hostname/Makefile.rh hostname/Makefile ---- hostname/Makefile.rh 2012-01-15 13:50:32.000000000 +0100 -+++ hostname/Makefile 2012-01-18 09:33:28.244735083 +0100 -@@ -7,26 +7,28 @@ OBJS=hostname.o +--- hostname/Makefile.rh 2012-02-16 16:00:52.000000000 +0100 ++++ hostname/Makefile 2012-02-21 19:22:20.754810188 +0100 +@@ -7,26 +7,29 @@ OBJS=hostname.o hostname: $(OBJS) $(CC) $(CFLAGS) -o $@ $(OBJS) $(LDFLAGS) -lnsl @@ -98,7 +98,7 @@ diff -up hostname/Makefile.rh hostname/Makefile ln -fs hostname.1 ${BASEDIR}/usr/share/man/man1/domainname.1 ln -fs hostname.1 ${BASEDIR}/usr/share/man/man1/ypdomainname.1 ln -fs hostname.1 ${BASEDIR}/usr/share/man/man1/nisdomainname.1 -- install -o root -g root -m 0644 hostname.1.fr ${BASEDIR}/usr/share/man/fr/man1/hostname.1 + #install -o root -g root -m 0644 hostname.1.fr ${BASEDIR}/usr/share/man/fr/man1/hostname.1 + install -d ${BASEDIR}/usr/share/man/fr/man1 + install -m 0644 hostname.1.fr ${BASEDIR}/usr/share/man/fr/man1/hostname.1 + ln -fs hostname.1 ${BASEDIR}/usr/share/man/fr/man1/dnsdomainname.1 diff --git a/hostname.spec b/hostname.spec index e1937b4..4dc90df 100644 --- a/hostname.spec +++ b/hostname.spec @@ -1,6 +1,6 @@ Summary: Utility to set/show the host name or domain name Name: hostname -Version: 3.10 +Version: 3.11 Release: 1%{?dist} License: GPLv2+ Group: System Environment/Base @@ -57,6 +57,9 @@ rm -rf %{buildroot} %{_mandir}/man1/* %changelog +* Tue Feb 21 2012 Jiri Popelka - 3.11-1 +- 3.11 + * Wed Jan 18 2012 Jiri Popelka - 3.10-1 - 3.10 diff --git a/sources b/sources index bb3a4a5..5a3a5b6 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -beff8b0b16ae63eb1ca6b9988929ac86 hostname_3.10.tar.gz +4abb765cb25e0315aa17dece62275e92 hostname_3.11.tar.gz