Accepting request 760356 from server:mail

spec file cleanup to make update work
- add docdir to spec

OBS-URL: https://build.opensuse.org/request/show/760356
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/exim?expand=0&rev=55
This commit is contained in:
Dominique Leuenberger 2020-01-02 13:42:37 +00:00 committed by Git OBS Bridge
commit 0be4d0eb83
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Jan 2 08:40:29 CET 2020 - wullinger@rz.uni-kiel.de
spec file cleanup to make update work
- add docdir to spec
-------------------------------------------------------------------
Mon Dec 9 10:08:02 UTC 2019 - wullinger@rz.uni-kiel.de

View File

@ -300,6 +300,7 @@ rm -f doc/*.{orig,txt~}
make
%install
mkdir -p "$RPM_BUILD_ROOT/%{_docdir}/%{name}"
%if 0%{?suse_version} > 1220
mkdir -p $RPM_BUILD_ROOT/%{_unitdir}
%else
@ -474,6 +475,7 @@ exit 0
/usr/lib/sendmail
%{_fillupdir}/sysconfig.exim
%dir %attr(750,mail,mail) /var/log/exim
%dir %{_docdir}/%{name}
%files -n eximon
%defattr(-,root,root)