From 5984675661b6a60709e7211f2771178e57890483 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Fri, 19 Jun 2015 15:15:01 -0400 Subject: [PATCH] Restore translation check and fix bug link If the check fails, then systemd.i686 and systemd.x86_64 is most likely non-coinstallable, which is problematic for users because it breaks upgrades. So keep the check to catch botched builds until we find underlying reason. --- systemd.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/systemd.spec b/systemd.spec index a4baa48..89a5637 100644 --- a/systemd.spec +++ b/systemd.spec @@ -395,8 +395,8 @@ install -Dm0644 %{SOURCE9} %{buildroot}%{_pkgdocdir}/ 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)" +# Check for botched translations (https://bugzilla.redhat.com/show_bug.cgi?id=1226566) +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 || :