Add missing sysconfig file header; (bnc#947361).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=500
This commit is contained in:
Lars Müller 2015-09-25 13:42:08 +00:00 committed by Git OBS Bridge
parent ff3dd43321
commit f50d1b53d2
4 changed files with 21 additions and 10 deletions

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b5b8d6962ed807f9fb932ed70063bcef81bc4edae8f9bddd11e6bdf3f9c4f03e
size 29274
oid sha256:c72a9314d0ceab45dfac826730e748f724c13a51be4f100a5ed2b2f9539b688e
size 29279

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Sep 25 11:58:02 UTC 2015 - lmuelle@suse.com
- Add missing sysconfig file header; (bnc#947361).
-------------------------------------------------------------------
Tue Sep 22 13:13:02 UTC 2015 - lmuelle@suse.com

View File

@ -144,7 +144,7 @@ BuildRequires: systemd-devel
%else
%define build_make_smp_mflags %{?jobs:-j%jobs}
%endif
%define SOURCE_TIMESTAMP 3490
%define SOURCE_TIMESTAMP 3492
%define BRANCH %{version}
%global with_mitkrb5 1
%global with_dc 0
@ -153,7 +153,6 @@ Release: 0
Url: http://www.samba.org/
Provides: samba-gplv3 = %{version}
Obsoletes: samba-gplv3 < %{version}
Requires: samba-client >= %{version}
%if 0%{?suse_version} > 1030
Recommends: cron
Recommends: logrotate
@ -175,6 +174,7 @@ PreReq: grep
%if 0%{?suse_version} > 1220
PreReq: %{fillup_prereq}
%endif
PreReq: samba-client >= %{version}
# Choose some features / extra packages here
############################################
%if 0%{?suse_version} == 0 || 0%{?suse_version} > 1120
@ -420,7 +420,6 @@ Provides: samba-gplv3-winbind = %{version}
Obsoletes: samba-gplv3-winbind < %{version}
Provides: samba-client:/usr/sbin/winbindd
Requires: %{libwbclient_name} = %{version}-%{release}
Requires: samba-client >= %{version}
%if 0%{?suse_version}
Requires: pam-config
%endif
@ -435,6 +434,8 @@ PreReq: %{?insserv_prereq}
PreReq: /sbin/ldconfig
PreReq: /usr/sbin/groupadd
PreReq: coreutils
PreReq: grep
PreReq: samba-client >= %{version}
%description winbind
This is the winbind-daemon and the wbinfo-tool.
@ -1453,6 +1454,10 @@ getent group ntadmin >/dev/null || groupadd -g 71 -o -r ntadmin || :
%if 0%{?suse_version} > 1220
%service_add_post nmb.service smb.service
%{_bindir}/systemd-tmpfiles --create %{_tmpfilesdir}/samba.conf
grep -m 1 -q "^## Path:" %{_sysconfdir}/sysconfig/samba 2>/dev/null || ( \
cat %{_var}/adm/fillup-templates/sysconfig.samba-client %{_sysconfdir}/sysconfig/samba 2>/dev/null \
>%{_var}/adm/fillup-templates/sysconfig.samba-client.merged
mv %{_var}/adm/fillup-templates/sysconfig.samba-client.merged %{_sysconfdir}/sysconfig/samba )
%fillup_only
%endif
@ -1524,9 +1529,6 @@ fi
if ! test -e %{_bindir}/get_printing_ticket; then
ln -fs %{_bindir}/smbspool %{cups_lib_dir}/backend/smb
fi
%if 0%{?suse_version} > 1220
%{fillup_only -ans samba client}
%endif
%{?fillup_only:%{fillup_only -nsd dhcp samba-client network}}
%postun client
@ -1608,6 +1610,10 @@ fi
%if 0%{?suse_version} > 1220
%service_add_post winbind.service
%{_bindir}/systemd-tmpfiles --create %{_tmpfilesdir}/samba.conf
grep -m 1 -q "^## Path:" %{_sysconfdir}/sysconfig/samba 2>/dev/null || ( \
cat %{_var}/adm/fillup-templates/sysconfig.samba-client %{_sysconfdir}/sysconfig/samba 2>/dev/null \
>%{_var}/adm/fillup-templates/sysconfig.samba-client.merged
mv %{_var}/adm/fillup-templates/sysconfig.samba-client.merged %{_sysconfdir}/sysconfig/samba )
%{fillup_only -ans samba winbind}
%endif

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7ce801dae444ddf8c66358801678e1e460465a86836bad03c1e786fe68359e38
size 52858
oid sha256:9f660ee6421601bd8dedb081326b5bafae0273ce1ddf1f51ba887a20f5b5bd21
size 53073