Fix the location of the DC readme.
This commit is contained in:
parent
919f50aa2c
commit
9723e2277f
14
samba.spec
14
samba.spec
@ -571,12 +571,12 @@ install -m644 packaging/systemd/samba.conf.tmp %{buildroot}%{_sysconfdir}/tmpfil
|
||||
install -d -m 0755 %{buildroot}%{_sysconfdir}/sysconfig
|
||||
install -m 0644 packaging/systemd/samba.sysconfig %{buildroot}%{_sysconfdir}/sysconfig/samba
|
||||
|
||||
install -d -m 0755 %{buildroot}%{_defaultdocdir}/%{name}
|
||||
install -m 0644 %{SOURCE201} %{buildroot}%{_defaultdocdir}/%{name}/README.downgrade
|
||||
install -d -m 0755 %{buildroot}%{_defaultdocdir}/%{name}-%{version}
|
||||
install -m 0644 %{SOURCE201} %{buildroot}%{_defaultdocdir}/%{name}-%{version}/README.downgrade
|
||||
|
||||
%if ! %with_dc
|
||||
install -m 0644 %{SOURCE200} %{buildroot}%{_defaultdocdir}/%{name}/README.dc
|
||||
install -m 0644 %{SOURCE200} %{buildroot}%{_defaultdocdir}/%{name}/README.dc-libs
|
||||
install -m 0644 %{SOURCE200} %{buildroot}%{_defaultdocdir}/%{name}-%{version}/README.dc
|
||||
install -m 0644 %{SOURCE200} %{buildroot}%{_defaultdocdir}/%{name}-%{version}/README.dc-libs
|
||||
%endif
|
||||
|
||||
install -d -m 0755 %{buildroot}%{_unitdir}
|
||||
@ -708,7 +708,7 @@ rm -rf %{buildroot}
|
||||
%attr(1777,root,root) %dir /var/spool/samba
|
||||
%dir %{_sysconfdir}/openldap/schema
|
||||
%{_sysconfdir}/openldap/schema/samba.schema
|
||||
%doc %{_defaultdocdir}/%{name}/README.downgrade
|
||||
%doc %{_defaultdocdir}/%{name}-%{version}/README.downgrade
|
||||
%{_mandir}/man1/smbstatus.1*
|
||||
%{_mandir}/man8/eventlogadm.8*
|
||||
%{_mandir}/man8/smbd.8*
|
||||
@ -864,7 +864,7 @@ rm -rf %{buildroot}
|
||||
%{_mandir}/man8/samba.8.gz
|
||||
%{_mandir}/man8/samba-tool.8.gz
|
||||
%else # with_dc
|
||||
%doc %{_defaultdocdir}/%{name}/README.dc
|
||||
%doc %{_defaultdocdir}/%{name}-%{version}/README.dc
|
||||
%exclude %{_mandir}/man8/samba.8.gz
|
||||
%exclude %{_mandir}/man8/samba-tool.8.gz
|
||||
%endif # with_dc
|
||||
@ -883,7 +883,7 @@ rm -rf %{buildroot}
|
||||
%{_libdir}/samba/libposix_eadb.so
|
||||
%{_libdir}/samba/bind9/dlz_bind9_9.so
|
||||
%else
|
||||
%doc %{_defaultdocdir}/%{name}/README.dc-libs
|
||||
%doc %{_defaultdocdir}/%{name}-%{version}/README.dc-libs
|
||||
%endif # with_dc
|
||||
|
||||
### DEVEL
|
||||
|
Loading…
Reference in New Issue
Block a user