Express post-12.2 simpler; no else case
This is identical to the apparoch used before the tmpfilesdir relocation OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=503
This commit is contained in:
parent
7f56053649
commit
af76b2230b
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e2572198a7ded7724edada0cef6e90b0910756baca9b6da5039e7c0dc61f04e8
|
||||
size 29251
|
||||
oid sha256:2cff97e99f20b3593429086946ced5becf5b402b226ac568c8b53c36aadaca33
|
||||
size 29242
|
||||
|
@ -144,7 +144,7 @@ BuildRequires: systemd-devel
|
||||
%else
|
||||
%define build_make_smp_mflags %{?jobs:-j%jobs}
|
||||
%endif
|
||||
%define SOURCE_TIMESTAMP 3494
|
||||
%define SOURCE_TIMESTAMP 3495
|
||||
%define BRANCH %{version}
|
||||
%global with_mitkrb5 1
|
||||
%global with_dc 0
|
||||
@ -1769,9 +1769,6 @@ fi
|
||||
%endif
|
||||
%attr(0644,root,root) %{_datadir}/omc/svcinfo.d/%{cifs_init_script}.xml
|
||||
%ghost %{_localstatedir}/run/%{cifs_init_script}
|
||||
%else
|
||||
%dir %{_tmpfilesdir}
|
||||
%{_tmpfilesdir}/samba.conf
|
||||
%endif
|
||||
%dir %{CONFIGDIR}
|
||||
%config(noreplace) %{CONFIGDIR}/lmhosts
|
||||
@ -1864,6 +1861,8 @@ fi
|
||||
%attr(0750,root,root) %dir %{LOGDIR}
|
||||
%ghost %dir %{PIDDIR}
|
||||
%if 0%{?suse_version} > 1220
|
||||
%dir %{_tmpfilesdir}
|
||||
%{_tmpfilesdir}/samba.conf
|
||||
%{_var}/adm/fillup-templates/sysconfig.samba-client
|
||||
%endif
|
||||
%if 0%{?suse_version} == 0 || 0%{?suse_version} > 1020
|
||||
|
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:70ce2b9520f5ee63e1a39e4f6653f2641294876730d2792ca2b1574489ba36dc
|
||||
size 52827
|
||||
oid sha256:31e784e5fc67a4940ff1ed2d05a7d566e51dabccbda50a95223b8b9374e3b716
|
||||
size 52838
|
||||
|
Loading…
Reference in New Issue
Block a user