Accepting request 763789 from server:mail
OBS-URL: https://build.opensuse.org/request/show/763789 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/exim?expand=0&rev=57
This commit is contained in:
commit
4b2616c58c
@ -1,3 +1,7 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jan 13 08:48:53 CET 2020 - wullinger@rz.uni-kiel.de
|
||||||
|
- add a spec-file workaround for bsc#1160726
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jan 7 07:50:35 CET 2020 - wullinger@rz.uni-kiel.de
|
Tue Jan 7 07:50:35 CET 2020 - wullinger@rz.uni-kiel.de
|
||||||
|
|
||||||
|
20
exim.spec
20
exim.spec
@ -73,7 +73,7 @@ Requires(pre): group(mail)
|
|||||||
Requires(pre): fileutils textutils
|
Requires(pre): fileutils textutils
|
||||||
%endif
|
%endif
|
||||||
Version: 4.93.0.4
|
Version: 4.93.0.4
|
||||||
Release: 0
|
Release: 1
|
||||||
%if %{with_mysql}
|
%if %{with_mysql}
|
||||||
BuildRequires: mysql-devel
|
BuildRequires: mysql-devel
|
||||||
%endif
|
%endif
|
||||||
@ -300,7 +300,6 @@ rm -f doc/*.{orig,txt~}
|
|||||||
make
|
make
|
||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p "$RPM_BUILD_ROOT/%{_docdir}/%{name}"
|
|
||||||
%if 0%{?suse_version} > 1220
|
%if 0%{?suse_version} > 1220
|
||||||
mkdir -p $RPM_BUILD_ROOT/%{_unitdir}
|
mkdir -p $RPM_BUILD_ROOT/%{_unitdir}
|
||||||
%else
|
%else
|
||||||
@ -381,6 +380,21 @@ install -m 0755 $RPM_SOURCE_DIR/eximstats-html-update.py $RPM_BUILD_ROOT/%{_sbin
|
|||||||
# apparmor profile
|
# apparmor profile
|
||||||
install -D -m 0644 $RPM_SOURCE_DIR/apparmor.usr.sbin.exim $RPM_BUILD_ROOT/usr/share/apparmor/extra-profiles/usr.sbin.exim
|
install -D -m 0644 $RPM_SOURCE_DIR/apparmor.usr.sbin.exim $RPM_BUILD_ROOT/usr/share/apparmor/extra-profiles/usr.sbin.exim
|
||||||
|
|
||||||
|
%pretrans
|
||||||
|
if [ -d "%{_docdir}/%{name}/doc/cve-2019-13917" ]; then
|
||||||
|
moved_suffix=""
|
||||||
|
moved_index=""
|
||||||
|
while [ -d "%{_docdir}/%{name}/doc/cve-2019-13917.rpmmoved${moved_suffix}${moved_index}" ]; do
|
||||||
|
if [ -z "${moved_suffix}" ]; then
|
||||||
|
moved_suffix="."
|
||||||
|
moved_index="0"
|
||||||
|
else
|
||||||
|
moved_index=$((${moved_index} + 1))
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
mv "%{_docdir}/%{name}/doc/cve-2019-13917" "%{_docdir}/%{name}/doc/cve-2019-13917.rpmmoved${moved_suffix}${moved_index}"
|
||||||
|
fi
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
%if 0%{?suse_version} > 1220
|
%if 0%{?suse_version} > 1220
|
||||||
%service_add_pre exim.service
|
%service_add_pre exim.service
|
||||||
@ -437,6 +451,7 @@ exit 0
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
%ghost %{_docdir}/%{name}/doc/cve-2019-13917.rpmmoved
|
||||||
%doc ACKNOWLEDGMENTS CHANGES LICENCE NOTICE README.UPDATING README
|
%doc ACKNOWLEDGMENTS CHANGES LICENCE NOTICE README.UPDATING README
|
||||||
%doc doc
|
%doc doc
|
||||||
%doc src/configure.default
|
%doc src/configure.default
|
||||||
@ -475,7 +490,6 @@ exit 0
|
|||||||
/usr/lib/sendmail
|
/usr/lib/sendmail
|
||||||
%{_fillupdir}/sysconfig.exim
|
%{_fillupdir}/sysconfig.exim
|
||||||
%dir %attr(750,mail,mail) /var/log/exim
|
%dir %attr(750,mail,mail) /var/log/exim
|
||||||
%dir %{_docdir}/%{name}
|
|
||||||
|
|
||||||
%files -n eximon
|
%files -n eximon
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user