|
|
@ -869,8 +869,6 @@ install -m 0644 %{SOURCE201} packaging/README.downgrade |
|
|
|
%if ! %with_dc |
|
|
|
%if ! %with_dc |
|
|
|
install -m 0644 %{SOURCE200} packaging/README.dc |
|
|
|
install -m 0644 %{SOURCE200} packaging/README.dc |
|
|
|
install -m 0644 %{SOURCE200} packaging/README.dc-libs |
|
|
|
install -m 0644 %{SOURCE200} packaging/README.dc-libs |
|
|
|
%else |
|
|
|
|
|
|
|
install -m 0644 %{SOURCE3} %{buildroot}%{_unitdir}/samba.service |
|
|
|
|
|
|
|
%endif |
|
|
|
%endif |
|
|
|
|
|
|
|
|
|
|
|
install -d -m 0755 %{buildroot}%{_unitdir} |
|
|
|
install -d -m 0755 %{buildroot}%{_unitdir} |
|
|
@ -878,6 +876,10 @@ for i in nmb smb winbind ; do |
|
|
|
cat packaging/systemd/$i.service | sed -e 's@\[Service\]@[Service]\nEnvironment=KRB5CCNAME=FILE:/run/samba/krb5cc_samba@g' >tmp$i.service |
|
|
|
cat packaging/systemd/$i.service | sed -e 's@\[Service\]@[Service]\nEnvironment=KRB5CCNAME=FILE:/run/samba/krb5cc_samba@g' >tmp$i.service |
|
|
|
install -m 0644 tmp$i.service %{buildroot}%{_unitdir}/$i.service |
|
|
|
install -m 0644 tmp$i.service %{buildroot}%{_unitdir}/$i.service |
|
|
|
done |
|
|
|
done |
|
|
|
|
|
|
|
%if %with_dc |
|
|
|
|
|
|
|
install -m 0644 %{SOURCE3} %{buildroot}%{_unitdir}/samba.service |
|
|
|
|
|
|
|
%endif |
|
|
|
|
|
|
|
|
|
|
|
%if %with_clustering_support |
|
|
|
%if %with_clustering_support |
|
|
|
install -m 0644 ctdb/config/ctdb.service %{buildroot}%{_unitdir} |
|
|
|
install -m 0644 ctdb/config/ctdb.service %{buildroot}%{_unitdir} |
|
|
|
%endif |
|
|
|
%endif |
|
|
|