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:
parent
3b5f45226a
commit
60b9d4fb25
@ -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}
|
||||
|
11
pykickstart/standard-xgettext.patch
Normal file
11
pykickstart/standard-xgettext.patch
Normal 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
|
||||
|
Loading…
Reference in New Issue
Block a user