[packages/hostname] - updated to 3.14 - updated rh patch
qboosh
qboosh at pld-linux.org
Sat Sep 14 09:01:42 CEST 2013
commit c05099f7afca42415a2613b5387a878319e07117
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Sep 14 09:01:49 2013 +0200
- updated to 3.14
- updated rh patch
hostname-rh.patch | 10 +++++-----
hostname.spec | 6 +++---
2 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/hostname.spec b/hostname.spec
index e3e859e..e97fd1a 100644
--- a/hostname.spec
+++ b/hostname.spec
@@ -1,12 +1,12 @@
Summary: Utility to set/show the host name or domain name
Summary(pl.UTF-8): Narzędzie do ustawiania i sprawdzania nazwy hosta lub domeny
Name: hostname
-Version: 3.13
+Version: 3.14
Release: 1
License: GPL v2+
Group: Base
Source0: ftp://ftp.debian.org/debian/pool/main/h/hostname/%{name}_%{version}.tar.gz
-# Source0-md5: ff2e7b7534999dcbaa0d420991ce353a
+# Source0-md5: 4674720aeed0326a53ca397a664f69c4
Patch1: %{name}-rh.patch
URL: http://packages.qa.debian.org/h/hostname.html
BuildRequires: iconv
@@ -23,7 +23,7 @@ Ten pakiet udostępnia polecenia służące do wypisywania nazwy DNS
systemu oraz ustawiania nazwy hosta lub domeny NIS.
%prep
-%setup -q
+%setup -q -n %{name}
%patch1 -p1
iconv -f iso-8859-1 -t utf-8 -o hostname.tmp hostname.1.fr && mv hostname.tmp hostname.1.fr
diff --git a/hostname-rh.patch b/hostname-rh.patch
index 837c56c..90ae5ab 100644
--- a/hostname-rh.patch
+++ b/hostname-rh.patch
@@ -65,8 +65,8 @@
Historically this file was supposed to only contain the hostname and not the
full canonical FQDN. Nowadays most software is able to cope with a full FQDN
here. This file is read at boot time by the system initialization scripts to
---- hostname/Makefile.orig 2012-02-16 16:00:52.000000000 +0100
-+++ hostname/Makefile 2012-02-27 19:50:50.216326829 +0100
+--- hostname/Makefile.orig 2013-09-14 07:43:56.738832590 +0200
++++ hostname/Makefile 2013-09-14 07:52:31.232144332 +0200
@@ -7,22 +7,23 @@
hostname: $(OBJS)
@@ -95,6 +95,6 @@
install -d ${BASEDIR}/bin
- install -o root -g root -m 0755 hostname ${BASEDIR}/bin
+ install -m 0755 hostname ${BASEDIR}/bin
- ln -f hostname ${BASEDIR}/bin/dnsdomainname
- ln -f hostname ${BASEDIR}/bin/domainname
- ln -f hostname ${BASEDIR}/bin/nisdomainname
+ ln -fs hostname ${BASEDIR}/bin/dnsdomainname
+ ln -fs hostname ${BASEDIR}/bin/domainname
+ ln -fs hostname ${BASEDIR}/bin/nisdomainname
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/hostname.git/commitdiff/c05099f7afca42415a2613b5387a878319e07117
More information about the pld-cvs-commit
mailing list