Hello community, here is the log from the commit of package ypserv for openSUSE:Factory checked in at 2018-02-23 15:31:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ypserv (Old) and /work/SRC/openSUSE:Factory/.ypserv.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ypserv" Fri Feb 23 15:31:52 2018 rev:42 rq:579487 version:4.0 Changes: -------- --- /work/SRC/openSUSE:Factory/ypserv/ypserv.changes 2018-02-20 17:58:45.302514966 +0100 +++ /work/SRC/openSUSE:Factory/.ypserv.new/ypserv.changes 2018-02-23 15:32:15.845176691 +0100 @@ -1,0 +2,5 @@ +Fri Feb 23 11:41:31 UTC 2018 - [email protected] + +- Use %license instead of %doc [bsc#1082318] + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ypserv.spec ++++++ --- /var/tmp/diff_new_pack.afiypt/_old 2018-02-23 15:32:17.257125675 +0100 +++ /var/tmp/diff_new_pack.afiypt/_new 2018-02-23 15:32:17.257125675 +0100 @@ -1,7 +1,7 @@ # # spec file for package ypserv # -# 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 @@ -16,11 +16,14 @@ # +%if ! %{defined _fillupdir} + %define _fillupdir %{_localstatedir}/adm/fillup-templates +%endif Name: ypserv Version: 4.0 Release: 0 Summary: YP - (NIS)-Server -License: GPL-2.0 +License: GPL-2.0-only Group: Productivity/Networking/NIS URL: http://www.linux-nis.org/nis/ypserv/ Source: ypserv-%{version}.tar.bz2 @@ -39,6 +42,7 @@ Patch2: 0001-use-_PATH_VARRUN-from-paths.h.patch BuildRequires: gdbm-devel BuildRequires: openslp-devel +BuildRequires: pkgconfig BuildRequires: pkgconfig(libnsl) BuildRequires: pkgconfig(libsystemd) >= 209 BuildRequires: pkgconfig(libtirpc) @@ -48,10 +52,6 @@ Requires(post): %fillup_prereq %{?systemd_requires} -%if ! %{defined _fillupdir} - %define _fillupdir /var/adm/fillup-templates -%endif - %description The Network Information Service (NIS) provides a simple network lookup service consisting of databases and processes. It was formerly @@ -139,13 +139,14 @@ %posttrans # Update "Fix" -if [ -f /var/yp/Makefile.rpmsave -a ! -e /var/yp/Makefile ]; then - mv /var/yp/Makefile.rpmsave /var/yp/Makefile +if [ -f %{_localstatedir}/yp/Makefile.rpmsave -a ! -e %{_localstatedir}/yp/Makefile ]; then + mv %{_localstatedir}/yp/Makefile.rpmsave %{_localstatedir}/yp/Makefile fi %tmpfiles_create ypserv.conf %files -%doc NEWS README TODO COPYING ChangeLog +%license COPYING +%doc NEWS README %{_fillupdir}/sysconfig.ypserv %config(noreplace) %{_sysconfdir}/ypserv.conf %config %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/ypserv
