Hello community, here is the log from the commit of package ypbind for openSUSE:Factory checked in at 2017-02-11 01:32:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ypbind (Old) and /work/SRC/openSUSE:Factory/.ypbind.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ypbind" Changes: -------- --- /work/SRC/openSUSE:Factory/ypbind/ypbind.changes 2016-07-21 07:53:38.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.ypbind.new/ypbind.changes 2017-02-11 01:32:29.358622136 +0100 @@ -1,0 +2,5 @@ +Wed Feb 8 09:02:58 CET 2017 - [email protected] + +- Remove wrong insserv requires and support for old init scripts + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ypbind.spec ++++++ --- /var/tmp/diff_new_pack.nkbSzm/_old 2017-02-11 01:32:30.850411598 +0100 +++ /var/tmp/diff_new_pack.nkbSzm/_new 2017-02-11 01:32:30.850411598 +0100 @@ -17,7 +17,7 @@ Name: ypbind -PreReq: %insserv_prereq %fillup_prereq +PreReq: %fillup_prereq BuildRoot: %{_tmppath}/%{name}-%{version}-build Version: 2.4 Release: 0 @@ -72,7 +72,6 @@ touch $RPM_BUILD_ROOT/etc/yp.conf # Create filelist with translatins %{find_lang} ypbind-mt -%if %{suse_version} >= 1310 # Install systemd stuff install -D -m 644 %SOURCE2 %{buildroot}%{_unitdir}/ypbind.service mkdir -p $RPM_BUILD_ROOT%{_libexecdir}/ypbind @@ -81,13 +80,7 @@ install -m 755 %SOURCE5 $RPM_BUILD_ROOT%{_libexecdir}/ypbind/ypbind-systemd-exec # create symlink for rcypbind ln -s /sbin/service $RPM_BUILD_ROOT/usr/sbin/rcypbind -%else -mkdir -p $RPM_BUILD_ROOT/etc/init.d -install -m 755 etc/ypbind.init $RPM_BUILD_ROOT/etc/init.d/ypbind -ln -sf /etc/init.d/ypbind $RPM_BUILD_ROOT/usr/sbin/rcypbind -%endif -%if %{suse_version} >= 1310 %pre %service_add_pre ypbind.service @@ -103,22 +96,7 @@ %postun %service_del_postun ypbind.service -%else -%post -%{fillup_and_insserv ypbind} -%preun -%stop_on_removal ypbind -if [ "$1" = "0" ]; then - rm -f var/yp/binding/* -fi -exit 0 - -%postun -%restart_on_update ypbind -%insserv_cleanup -exit 0 -%endif %files -f ypbind-mt.lang %defattr(-,root,root)
