diff --git a/systemd.spec b/systemd.spec index fbee0bc..d202af0 100644 --- a/systemd.spec +++ b/systemd.spec @@ -590,6 +590,9 @@ install -Dm0644 %{SOURCE8} %{buildroot}/usr/lib/firewalld/services/ make -C build2 check VERBOSE=1 make -C build3 check VERBOSE=1 +# Check for botched translations (https://bugzilla.redhat.com/show_bug.cgi?id=1226301) +test -z "$(grep -L xml:lang %{buildroot}%{_datadir}/polkit-1/actions/org.freedesktop.*.policy)" + %pre getent group cdrom >/dev/null 2>&1 || groupadd -r -g 11 cdrom >/dev/null 2>&1 || : getent group utmp >/dev/null 2>&1 || groupadd -r -g 22 utmp >/dev/null 2>&1 || : @@ -1029,6 +1032,7 @@ getent passwd systemd-journal-upload >/dev/null 2>&1 || useradd -r -l -g systemd %changelog * Sat May 30 2015 Zbigniew Jędrzejewski-Szmek - 219-16 - systemd-devel should require systemd-libs, not the main package (#1226301) +- Check for botched translations (#1226566) * Mon May 18 2015 Jan Synáček - 219-15 - systemd aborts after systemctl daemon-reload (#1221652)