spec file cleanup to make update work

- add docdir to spec

OBS-URL: https://build.opensuse.org/package/show/server:mail/exim?expand=0&rev=223
This commit is contained in:
Peter Wullinger 2020-01-02 07:42:12 +00:00 committed by Git OBS Bridge
parent 8edd6a36f1
commit 6f2b538413
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)