Hello community,

here is the log from the commit of package cifs-utils for openSUSE:Factory 
checked in at 2017-03-18 20:49:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cifs-utils (Old)
 and      /work/SRC/openSUSE:Factory/.cifs-utils.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "cifs-utils"

Sat Mar 18 20:49:21 2017 rev:51 rq:479998 version:6.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/cifs-utils/cifs-utils.changes    2017-02-14 
00:37:01.558590927 +0100
+++ /work/SRC/openSUSE:Factory/.cifs-utils.new/cifs-utils.changes       
2017-03-18 20:49:22.467875156 +0100
@@ -1,0 +2,5 @@
+Tue Mar  7 16:54:59 UTC 2017 - [email protected]
+
+ - Get rid of init script on everything based off SLE12+ (bsc#1025471).
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ cifs-utils.spec ++++++
--- /var/tmp/diff_new_pack.yKFZQR/_old  2017-03-18 20:49:24.047651353 +0100
+++ /var/tmp/diff_new_pack.yKFZQR/_new  2017-03-18 20:49:24.051650786 +0100
@@ -34,10 +34,15 @@
 %define  NET_CFGDIR network-scripts
 %endif
 Source1:        cifs.init
-%if 0%{?suse_version}
-PreReq:         insserv %{?fillup_prereq}
+
+%if 0%{?suse_version} >= 1221
+%define systemd 1
 %else
-PreReq:         /sbin/chkconfig
+%define systemd 0
+%endif
+
+%if 0%{?suse_version} && 0%{?suse_version} < 1221
+PreReq:         insserv %{?fillup_prereq}
 %endif
 %define         initdir %{_sysconfdir}/init.d
 Provides:       cifs-mount = %{version}
@@ -119,8 +124,11 @@
 %{__make} %{?_smp_mflags}
 
 %install
+%if ! %{systemd}
 mkdir -p \
        ${RPM_BUILD_ROOT}/%{_sysconfdir}/init.d
+%endif
+
 %{__make} install \
        DESTDIR=${RPM_BUILD_ROOT}
 %if 0%{?centos_version} > 599 || 0%{?fedora_version} > 14 || 
0%{?mandriva_version} > 201100 || 0%{?rhel_version} > 599 || 0%{?suse_version} 
> 1020
@@ -136,8 +144,12 @@
        ${RPM_BUILD_ROOT}/%{_sysconfdir}/samba \
        ${RPM_BUILD_ROOT}/%{_sbindir} \
        ${RPM_BUILD_ROOT}/%{_rundir}
+
+%if ! %{systemd}
 install -m 0755 -p ${RPM_SOURCE_DIR}/cifs.init 
${RPM_BUILD_ROOT}/%{_sysconfdir}/init.d/cifs
 ln -s service ${RPM_BUILD_ROOT}/%{_sbindir}/rccifs
+%endif
+
 touch 
${RPM_BUILD_ROOT}/%{_sysconfdir}/sysconfig/%{NET_CFGDIR}/if-{down,up}.d/${script}
 \
        ${RPM_BUILD_ROOT}%{_rundir}/cifs
 %endif
@@ -175,8 +187,10 @@
 %{_mandir}/man8/idmapwb.8.*
 %endif
 %if 0%{?suse_version} == 0 || 0%{?suse_version} > 1221
+%if ! %{systemd}
 %attr(0754,root,root) %config %{_sysconfdir}/init.d/cifs
 %{_sbindir}/rccifs
+%endif
 %dir %{_sysconfdir}/samba
 %ghost %{_rundir}/cifs
 %endif




Reply via email to