diff options
Diffstat (limited to 'samba4.spec')
-rw-r--r-- | samba4.spec | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/samba4.spec b/samba4.spec index 777ac30..0c62086 100644 --- a/samba4.spec +++ b/samba4.spec @@ -428,7 +428,7 @@ install -m644 %{SOURCE7} %{buildroot}%{_sysconfdir}/tmpfiles.d/samba.conf install -d -m 0755 %{buildroot}%{_sysconfdir}/sysconfig install -m 0644 packaging/systemd/samba.sysconfig %{buildroot}%{_sysconfdir}/sysconfig/samba -%if 0%{?rhel} > 6 +%if 0%{?fedora} > 15 || 0%{?rhel} > 6 install -d -m 0755 %{buildroot}%{_unitdir} install -m 0644 packaging/systemd/nmb.service %{buildroot}%{_unitdir}/nmb.service install -m 0644 packaging/systemd/smb.service %{buildroot}%{_unitdir}/smb.service @@ -584,7 +584,7 @@ rm -rf %{buildroot} %{_libdir}/samba/auth %{_libdir}/samba/idmap %{_libdir}/samba/vfs -%if 0%{?rhel} > 6 +%if 0%{?fedora} > 15 || 0%{?rhel} > 6 %{_unitdir}/nmb.service %{_unitdir}/smb.service %endif @@ -790,7 +790,7 @@ rm -rf %{buildroot} %ghost %dir /var/run/winbindd %attr(750,root,wbpriv) %dir /var/lib/samba/winbindd_privileged %config(noreplace) %{_sysconfdir}/security/pam_winbind.conf -%if 0%{?rhel} > 6 +%if 0%{?fedora} > 15 || 0%{?rhel} > 6 %{_unitdir}/winbind.service %endif #%{_mandir}/man1/ntlm_auth.1* |