Hello community, here is the log from the commit of package nut for openSUSE:Factory checked in at 2017-05-20 10:13:41 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/nut (Old) and /work/SRC/openSUSE:Factory/.nut.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "nut" Sat May 20 10:13:41 2017 rev:55 rq:496334 version:2.7.4 Changes: -------- --- /work/SRC/openSUSE:Factory/nut/nut.changes 2017-05-16 14:38:19.672685500 +0200 +++ /work/SRC/openSUSE:Factory/.nut.new/nut.changes 2017-05-20 10:13:44.407231715 +0200 @@ -1,0 +2,7 @@ +Tue May 9 09:06:52 UTC 2017 - [email protected] + +- Fix RPM groups and the HTML description +- Do not suppress errors from useradd +- Remove --with-pic that's only for static libs + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ nut.spec ++++++ --- /var/tmp/diff_new_pack.pqpmjJ/_old 2017-05-20 10:13:45.207118698 +0200 +++ /var/tmp/diff_new_pack.pqpmjJ/_new 2017-05-20 10:13:45.207118698 +0200 @@ -198,7 +198,7 @@ %package doc-images Summary: Network UPS Tools - Images for Documentation -Group: Hardware/UPS +Group: Documentation/Other Recommends: %{name} = %{version} Enhances: %{name} Requires: %{name}-doc-images = %{version} @@ -215,7 +215,7 @@ %package doc-asciidoc Summary: Network UPS Tools - Documentation in AsciiDoc Format -Group: Hardware/UPS +Group: Documentation/Other Recommends: %{name} = %{version} Enhances: %{name} Requires: %{name}-doc-images = %{version} @@ -232,7 +232,7 @@ %if %with_doc %package doc-pdf Summary: Network UPS Tools - Documentation in PDF -Group: Hardware/UPS +Group: Documentation/PDF Recommends: %{name} = %{version} Enhances: %{name} %if 0%{?suse_version} > 1200 @@ -246,8 +246,8 @@ interface for monitoring and administering UPS hardware. %package doc-html -Summary: Network UPS Tools - Documentation in PDF -Group: Hardware/UPS +Summary: Network UPS Tools - Documentation in HTML +Group: Documentation/HTML Recommends: %{name} = %{version} Enhances: %{name} Requires: %{name}-doc-images = %{version} @@ -256,14 +256,14 @@ %endif %description doc-html -User manual in PDF format. +User manual in HTML format. Network UPS Tools is a collection of programs which provide a common interface for monitoring and administering UPS hardware. %package devel-doc-pdf Summary: Network UPS Tools - Documentation in PDF -Group: Hardware/UPS +Group: Documentation/PDF Recommends: %{name} = %{version} Enhances: %{name} %if 0%{?suse_version} > 1200 @@ -277,8 +277,8 @@ interface for monitoring and administering UPS hardware. %package devel-doc-html -Summary: Network UPS Tools - Documentation in PDF -Group: Hardware/UPS +Summary: Network UPS Tools - Documentation in HTML +Group: Documentation/HTML Recommends: %{name} = %{version} Enhances: %{name} Requires: %{name}-doc-images = %{version} @@ -314,7 +314,6 @@ # documentation fails to build -> disable %configure \ --disable-static \ - --with-pic \ --sysconfdir=%{CONFPATH} \ --datadir=%{_datadir}/nut \ --with-all \ @@ -412,7 +411,7 @@ %pre %if %suse_version < 1330 -useradd -r -g %{GROUP} -s /bin/false -c "UPS daemon" -d /sbin %{USER} 2>/dev/null || : +getent passwd %{USER} >/dev/null || useradd -r -g %{GROUP} -s /bin/false -c "UPS daemon" -d /sbin %{USER} 2>/dev/null %endif %if 0%{with_systemd} %service_add_pre nut-driver.service nut-server.service nut-monitor.service @@ -431,8 +430,8 @@ sed -i s/@UPSD_INITIAL_SLAVE_PASSWORD@/$UPSD_INITIAL_SLAVE_PASSWORD/ %{CONFPATH}/upsd.users fi # Be sure that all files are owned by a dedicated user. -bin/chown %{USER}:root %{CONFPATH}/upsd.conf %{CONFPATH}/upsmon.conf %{CONFPATH}/upsd.users -bin/chmod 600 %{CONFPATH}/upsd.conf %{CONFPATH}/upsmon.conf %{CONFPATH}/upsd.users +/bin/chown %{USER}:root %{CONFPATH}/upsd.conf %{CONFPATH}/upsmon.conf %{CONFPATH}/upsd.users +/bin/chmod 600 %{CONFPATH}/upsd.conf %{CONFPATH}/upsmon.conf %{CONFPATH}/upsd.users # Install or remove HALT_POWERDOWN_INSERT # It was last installed in 1310, but it is obsolete since dropping sysvinit support. %if 0%{?suse_version} < 1310
