Hello community, here is the log from the commit of package dhcp for openSUSE:Factory checked in at 2019-03-13 09:05:48 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/dhcp (Old) and /work/SRC/openSUSE:Factory/.dhcp.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "dhcp" Wed Mar 13 09:05:48 2019 rev:111 rq:681845 version:4.3.5 Changes: -------- --- /work/SRC/openSUSE:Factory/dhcp/dhcp.changes 2019-01-29 14:40:01.663433979 +0100 +++ /work/SRC/openSUSE:Factory/.dhcp.new.28833/dhcp.changes 2019-03-13 09:05:49.759444958 +0100 @@ -1,0 +2,12 @@ +Fri Feb 22 07:04:56 UTC 2019 - Franck Bui <[email protected]> + +- Drop use of $FIRST_ARG in .spec + + The use of $FIRST_ARG was probably required because of the + %service_* rpm macros were playing tricks with the shell positional + parameters. This is bad practice and error prones so let's assume + that no macros should do that anymore and hence it's safe to assume + that positional parameters remains unchanged after any rpm macro + call. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ dhcp.spec ++++++ --- /var/tmp/diff_new_pack.YmjEBk/_old 2019-03-13 09:05:51.335444795 +0100 +++ /var/tmp/diff_new_pack.YmjEBk/_new 2019-03-13 09:05:51.335444795 +0100 @@ -394,7 +394,7 @@ %service_add_post dhcpd.service %service_add_post dhcpd6.service # FIXME: update? -if [ ${FIRST_ARG:-0} -gt 1 ]; then +if [ $1 -gt 1 ]; then if grep -q '^DHCPD_RUN_AS=.*nobody' etc/sysconfig/dhcpd; then tmpfile=$(mktemp -q etc/sysconfig/dhcpd.XXXXXX) sed 's|^DHCPD_RUN_AS=.*|DHCPD_RUN_AS="dhcpd"|' etc/sysconfig/dhcpd \
