Hello community,

here is the log from the commit of package ptokax for openSUSE:Factory checked 
in at 2019-02-17 12:21:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ptokax (Old)
 and      /work/SRC/openSUSE:Factory/.ptokax.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ptokax"

Sun Feb 17 12:21:29 2019 rev:4 rq:676607 version:0.5.2.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/ptokax/ptokax.changes    2017-06-08 
15:04:32.853945433 +0200
+++ /work/SRC/openSUSE:Factory/.ptokax.new.28833/ptokax.changes 2019-02-17 
12:21:33.232197046 +0100
@@ -1,0 +2,5 @@
+Fri Feb 15 23:19:51 UTC 2019 - Jan Engelhardt <[email protected]>
+
+- Align getent/useradd error hiding with the other Factory packages.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ ptokax.spec ++++++
--- /var/tmp/diff_new_pack.FQHQmV/_old  2019-02-17 12:21:33.840196878 +0100
+++ /var/tmp/diff_new_pack.FQHQmV/_new  2019-02-17 12:21:33.844196877 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ptokax
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -20,9 +20,9 @@
 Version:        0.5.2.2
 Release:        0
 Summary:        Server application for the Neo-Modus DC++ sharing network
-License:        GPL-3.0
+License:        GPL-3.0-only
 Group:          Productivity/Networking/File-Sharing
-Url:            http://www.ptokax.org/
+URL:            http://www.ptokax.org/
 BuildRequires:  gcc-c++
 BuildRequires:  lua-devel
 BuildRequires:  systemd-rpm-macros
@@ -35,7 +35,7 @@
 Patch3:         gcc7.diff
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 %{?systemd_requires}
-Requires(pre):  pwdutils
+Requires(pre):  shadow
 
 %description
 PtokaX Direct Connect Hub is a server application for Neo-Modus
@@ -46,7 +46,7 @@
 
 %prep
 %setup -q -n PtokaX
-%patch -P 1 -P 2 -P 3 -p1
+%autopatch -p1
 sed -i 's/\r//' ReadMe.txt Changelog.txt scripting.docs/scripting-interface.txt
 # remove tinyxml as we use system lib
 rm -rf tinyxml
@@ -60,8 +60,8 @@
 install -D -m 755 PtokaX %buildroot/%_sbindir/%name
 mkdir -p %buildroot/%_sysconfdir/%name
 mkdir -p %buildroot/var/log/%name
-cp -R cfg.example %buildroot/%_sysconfdir/%name/cfg
-cp -R language %buildroot/%_sysconfdir/%name
+cp -a cfg.example %buildroot/%_sysconfdir/%name/cfg
+cp -a language %buildroot/%_sysconfdir/%name
 
 find scripting.docs -type d -exec chmod a+x {} +
 find scripting.docs -type f -exec chmod a-x {} +
@@ -70,8 +70,8 @@
 ln -s service %buildroot/%_sbindir/rcptokax
 
 %pre
-getent group ptokax >/dev/null 2>/dev/null || %_sbindir/groupadd -r ptokax
-getent passwd ptokax >/dev/null 2>/dev/null || %_sbindir/useradd -g ptokax \
+getent group ptokax >/dev/null || %_sbindir/groupadd -r ptokax
+getent passwd ptokax >/dev/null || %_sbindir/useradd -g ptokax \
        -s /bin/false -r -c "user for ptokax" -d %_sysconfdir/ptokax ptokax
 %service_add_pre %name.service
 
@@ -90,11 +90,11 @@
 %_sbindir/%name
 %_sbindir/rcptokax
 %_unitdir/%name.service
-%attr(755,ptokax,ptokax) %dir %_sysconfdir/%name
-%attr(755,ptokax,ptokax) %dir %_sysconfdir/%name/cfg
-%attr(755,ptokax,ptokax) %dir %_sysconfdir/%name/language
+%attr(-,ptokax,ptokax) %dir %_sysconfdir/%name
+%attr(-,ptokax,ptokax) %dir %_sysconfdir/%name/cfg
+%attr(-,ptokax,ptokax) %dir %_sysconfdir/%name/language
 %config %attr(644,ptokax,ptokax) %_sysconfdir/%name/cfg/*
 %config %attr(644,ptokax,ptokax) %_sysconfdir/%name/language/*
-%attr(755,ptokax,ptokax) %dir /var/log/%name
+%attr(-,ptokax,ptokax) %dir /var/log/%name
 
 %changelog


Reply via email to