diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2012-03-15 14:55:34 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2012-03-15 14:56:46 +0100 |
commit | 23af321fca771ed6d45bc90a493c2ffd123fc4b9 (patch) | |
tree | 64656130df98ddb62fd2055f25f12e63aac650d7 | |
parent | aaa218e6c13ab0783ec5fa4ab7c66b68eade5041 (diff) | |
download | samba4-23af321fca771ed6d45bc90a493c2ffd123fc4b9.tar.gz samba4-23af321fca771ed6d45bc90a493c2ffd123fc4b9.tar.xz samba4-23af321fca771ed6d45bc90a493c2ffd123fc4b9.zip |
Fix systemd file installation.
-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* |