Hello community,

here is the log from the commit of package hostname for openSUSE:Factory 
checked in at 2018-02-24 16:35:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/hostname (Old)
 and      /work/SRC/openSUSE:Factory/.hostname.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "hostname"

Sat Feb 24 16:35:25 2018 rev:5 rq:578627 version:3.20

Changes:
--------
--- /work/SRC/openSUSE:Factory/hostname/hostname.changes        2017-08-29 
11:34:52.274073636 +0200
+++ /work/SRC/openSUSE:Factory/.hostname.new/hostname.changes   2018-02-24 
16:35:28.873867655 +0100
@@ -1,0 +2,20 @@
+Sun Feb 18 21:23:47 UTC 2018 - [email protected]
+
+- Update to 3.20
+  * debian-specific change only
+- includes 3.19
+  * Fix lintian warnings.
+- includes 3.18
+  * Make sure memory is initialized to zero before attempting to
+    read hostname.
+- includes 3.17
+  * Use _GNU_SOURCE feature test macro, instead of glibc internal
+    __USE_GNU.
+  * Use getdomainname instead of yp_get_default_domain because it
+    is more widely available and avoids the -lnsl dependency.
+  * localnisdomain is kept, even though it should be the same as
+    localdomain, so the behaviour is not changed in case of an error.
+  * Replace 'dh-clean -k' with 'dh-prep'
+- cleanup with spec-cleaner
+
+-------------------------------------------------------------------

Old:
----
  hostname_3.16.tar.gz

New:
----
  hostname-3.20.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ hostname.spec ++++++
--- /var/tmp/diff_new_pack.Q6toqE/_old  2018-02-24 16:35:29.761835694 +0100
+++ /var/tmp/diff_new_pack.Q6toqE/_new  2018-02-24 16:35:29.761835694 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package hostname
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,27 +17,25 @@
 
 
 Name:           hostname
-Version:        3.16
+Version:        3.20
 Release:        0
 Summary:        Utility to Set/Show the Host Name or Domain Name
 License:        GPL-2.0+
 Group:          Productivity/Networking/Other
 Url:            https://tracker.debian.org/pkg/hostname
-Source:         
http://http.debian.net/debian/pool/main/h/%{name}/%{name}_%{version}.tar.gz
+Source:         
http://http.debian.net/debian/pool/main/h/%{name}/%{name}_%{version}.tar.gz#/%{name}-%{version}.tar.gz
 # net-tools requires hostname, but we know we do not rely on ourselves to build
 #!BuildIgnore:  hostname
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  libnsl-devel
 
 %description
 This package provides commands which can be used to display the system's DNS
 name, and to display or set its hostname or NIS domain name.
 
 %prep
-%setup -q
+%setup -q -n %{name}
 
 %build
-make %{?_smp_mflags} CFLAGS="%{optflags}"
+make %{?_smp_mflags} CFLAGS="%{optflags} -D_GNU_SOURCE"
 
 %install
 install -D -p -m 755 %{name} %{buildroot}%{_bindir}/%{name}
@@ -51,7 +49,6 @@
 done
 
 %files
-%defattr(-,root,root)
 %doc COPYRIGHT debian/changelog
 /bin/%{name}
 /bin/domainname


Reply via email to