Hello community, here is the log from the commit of package yp-tools for openSUSE:Factory checked in at 2017-11-14 14:06:46 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/yp-tools (Old) and /work/SRC/openSUSE:Factory/.yp-tools.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yp-tools" Tue Nov 14 14:06:46 2017 rev:28 rq:539858 version:4.2.2 Changes: -------- --- /work/SRC/openSUSE:Factory/yp-tools/yp-tools.changes 2016-08-24 10:06:57.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.yp-tools.new/yp-tools.changes 2017-11-14 14:06:47.306452301 +0100 @@ -1,0 +2,11 @@ +Wed Nov 8 13:09:31 CET 2017 - [email protected] + +- Cleanup dangling symlinks after de-installation + +------------------------------------------------------------------- +Tue Nov 7 17:07:15 CET 2017 - [email protected] + +- Prepare for transactional update and read-only root filesystem + - create /var/yp with tmpfiles.d + +------------------------------------------------------------------- New: ---- yp-tools.conf ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yp-tools.spec ++++++ --- /var/tmp/diff_new_pack.CJ7gz2/_old 2017-11-14 14:06:48.066424586 +0100 +++ /var/tmp/diff_new_pack.CJ7gz2/_new 2017-11-14 14:06:48.070424440 +0100 @@ -1,7 +1,7 @@ # # spec file for package yp-tools # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2017 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 @@ -20,18 +20,16 @@ Version: 4.2.2 Release: 0 Summary: Network Information Service (YP) client utilities -License: GPL-2.0 and LGPL-2.1 +License: GPL-2.0 AND LGPL-2.1 Group: Productivity/Networking/NIS +URL: http://www.linux-nis.org/ Source: http://www.linux-nis.org/download/yp-tools/yp-tools-%{version}.tar.bz2 -Url: http://www.linux-nis.org/ +Source1: match_printcap +Source2: yp-tools.conf BuildRequires: fdupes -BuildRequires: pkgconfig -%if 0%{?suse_version} >= 1310 -BuildRequires: pkgconfig(libtirpc) >= 1.0.1 +BuildRequires: pkg-config BuildRequires: pkgconfig(libnsl) >= 1.0.4 -%endif -Source1: match_printcap -BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: pkgconfig(libtirpc) >= 1.0.1 %description This packages contains some useful tools for accessing NIS maps or to @@ -41,7 +39,7 @@ Summary: NIS header files and libraries for development License: LGPL-2.1+ Group: Development/Libraries/C and C++ -Requires: libnis1 = %version +Requires: libnis1 = %{version} %description -n libnis-devel This package contains the include files and libraries needed to @@ -53,36 +51,33 @@ %build # Work around use of bad cast -CFLAGS="%optflags -Wno-error=cast-align" +CFLAGS="%{optflags} -Wno-error=cast-align" %configure --disable-static --with-pic --enable-call-passwd \ -%if %{suse_version} == 1315 - --enable-domainname -%else --disable-domainname -%endif make %{?_smp_mflags} %install %make_install mkdir -p %{buildroot}%{_prefix}/lib/yp -install -m 755 %{SOURCE1} %{buildroot}%{_prefix}/lib/yp -mkdir %{buildroot}/%{_lib} -%if %{suse_version} == 1315 -cp -a %{buildroot}%{_mandir}/man8/domainname.8 %{buildroot}%{_mandir}/man8/nisdomainname.8 -cp -a %{buildroot}%{_mandir}/man8/domainname.8 %{buildroot}%{_mandir}/man8/ypdomainname.8 -rm %{buildroot}%{_bindir}/domainname %{buildroot}%{_mandir}/man8/domainname.8 -mkdir -p %{buildroot}/bin -ln -sf %{_bindir}/nisdomainname %{buildroot}/bin -ln -sf %{_bindir}/ypdomainname %{buildroot}/bin -%endif -%{find_lang} %{name} -%fdupes %buildroot/%_prefix +mv %{buildroot}%{_localstatedir}/yp/nicknames %{buildroot}%{_prefix}/lib/yp/ +install -m 755 %{SOURCE1} %{buildroot}%{_prefix}/lib/yp/ +mkdir -p %{buildroot}%{_prefix}/lib/tmpfiles.d +install -m 644 %{SOURCE2} %{buildroot}%{_prefix}/lib/tmpfiles.d/ +%find_lang %{name} +%fdupes %{buildroot}/%{_prefix} + +%postun +if [ "$1" = "0" ]; then + test -L %{_localstatedir}/yp/nicknames && rm -f %{_localstatedir}/yp/nicknames ||: +fi + +%posttrans +if [ -z ${TRANSACTIONAL_UPDATE} ]; then + %tmpfiles_create yp-tools.conf +fi %files -f %{name}.lang -%defattr(-,root,root) %doc AUTHORS COPYING NEWS README THANKS -%dir %{_localstatedir}/yp -%config(noreplace) %{_localstatedir}/yp/nicknames %{_bindir}/ypcat %{_bindir}/ypchfn %{_bindir}/ypchsh @@ -91,26 +86,20 @@ %{_bindir}/ypwhich %dir %{_prefix}/lib/yp %{_prefix}/lib/yp/match_printcap -%doc %{_mandir}/man1/ypcat.1.gz -%doc %{_mandir}/man1/ypchfn.1.gz -%doc %{_mandir}/man1/ypchsh.1.gz -%doc %{_mandir}/man1/ypmatch.1.gz -%doc %{_mandir}/man1/yppasswd.1.gz -%doc %{_mandir}/man1/ypwhich.1.gz -%doc %{_mandir}/man5/nicknames.5.gz -%doc %{_mandir}/man8/yppoll.8.gz -%doc %{_mandir}/man8/ypset.8.gz -%doc %{_mandir}/man8/yp_dump_binding.8.gz +%{_prefix}/lib/yp/nicknames +%{_prefix}/lib/tmpfiles.d/yp-tools.conf +%{_mandir}/man1/ypcat.1%{ext_man} +%{_mandir}/man1/ypchfn.1%{ext_man} +%{_mandir}/man1/ypchsh.1%{ext_man} +%{_mandir}/man1/ypmatch.1%{ext_man} +%{_mandir}/man1/yppasswd.1%{ext_man} +%{_mandir}/man1/ypwhich.1%{ext_man} +%{_mandir}/man5/nicknames.5%{ext_man} +%{_mandir}/man8/yppoll.8%{ext_man} +%{_mandir}/man8/ypset.8%{ext_man} +%{_mandir}/man8/yp_dump_binding.8%{ext_man} %{_sbindir}/yppoll %{_sbindir}/ypset %{_sbindir}/yp_dump_binding -%if %{suse_version} == 1315 -/bin/nisdomainname -/bin/ypdomainname -%{_bindir}/nisdomainname -%{_bindir}/ypdomainname -%doc %{_mandir}/man8/ypdomainname.8.gz -%doc %{_mandir}/man8/nisdomainname.8.gz -%endif %changelog ++++++ yp-tools.conf ++++++ d /var/yp 0755 - - - L /var/yp/nicknames - - - - ../../usr/lib/yp/nicknames
