pykickstart: build fix in non-devel environemnt

translation-canary/xgettext_werror.sh wrapper isn't part of official
tarball - probably some local developer's script.

QubesOS/qubes-issues#2574
This commit is contained in:
Marek Marczykowski-Górecki 2017-01-09 03:56:09 +01:00
parent 3b5f45226a
commit 60b9d4fb25
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724
2 changed files with 13 additions and 0 deletions

View File

@ -26,6 +26,7 @@ Source0: %{name}-%{version}.tar.gz
#Patch0: 0001-Default-to-the-F21-version-of-kickstart-syntax.patch
#Patch1: 0002-disable-test.patch
Patch2: repo-gpgkey-option.patch
Patch3: standard-xgettext.patch
BuildArch: noarch
@ -81,6 +82,7 @@ the pykickstart package.
#patch0 -p1
#patch1 -p1
%patch2 -p1
%patch3 -p1
rm -rf %{py3dir}
mkdir %{py3dir}

View File

@ -0,0 +1,11 @@
--- a/po/Makefile.orig 2017-01-09 03:53:34.861000000 +0100
+++ b/po/Makefile 2017-01-09 03:53:46.548000000 +0100
@@ -12,7 +12,7 @@
# PO catalog handling
MSGMERGE = msgmerge -v
-XGETTEXT = ../translation-canary/xgettext_werror.sh --default-domain=$(NLSPACKAGE) \
+XGETTEXT = xgettext --default-domain=$(NLSPACKAGE) \
--add-comments
MSGFMT = msgfmt --statistics --verbose