Hello community, here is the log from the commit of package exim for openSUSE:Factory checked in at 2020-01-13 22:21:13 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/exim (Old) and /work/SRC/openSUSE:Factory/.exim.new.6675 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "exim" Mon Jan 13 22:21:13 2020 rev:57 rq:763789 version:4.93.0.4 Changes: -------- --- /work/SRC/openSUSE:Factory/exim/exim.changes 2020-01-07 23:53:57.256050023 +0100 +++ /work/SRC/openSUSE:Factory/.exim.new.6675/exim.changes 2020-01-13 22:21:21.138513440 +0100 @@ -1,0 +2,4 @@ +Mon Jan 13 08:48:53 CET 2020 - [email protected] +- add a spec-file workaround for bsc#1160726 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ exim.spec ++++++ --- /var/tmp/diff_new_pack.XxKroM/_old 2020-01-13 22:21:21.978513830 +0100 +++ /var/tmp/diff_new_pack.XxKroM/_new 2020-01-13 22:21:21.978513830 +0100 @@ -73,7 +73,7 @@ Requires(pre): fileutils textutils %endif Version: 4.93.0.4 -Release: 0 +Release: 1 %if %{with_mysql} BuildRequires: mysql-devel %endif @@ -300,7 +300,6 @@ make %install -mkdir -p "$RPM_BUILD_ROOT/%{_docdir}/%{name}" %if 0%{?suse_version} > 1220 mkdir -p $RPM_BUILD_ROOT/%{_unitdir} %else @@ -381,6 +380,21 @@ # apparmor profile 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 %if 0%{?suse_version} > 1220 %service_add_pre exim.service @@ -437,6 +451,7 @@ %files %defattr(-,root,root) +%ghost %{_docdir}/%{name}/doc/cve-2019-13917.rpmmoved %doc ACKNOWLEDGMENTS CHANGES LICENCE NOTICE README.UPDATING README %doc doc %doc src/configure.default @@ -475,7 +490,6 @@ /usr/lib/sendmail %{_fillupdir}/sysconfig.exim %dir %attr(750,mail,mail) /var/log/exim -%dir %{_docdir}/%{name} %files -n eximon %defattr(-,root,root)
