summaryrefslogtreecommitdiffstats
path: root/Makefile.common
diff options
context:
space:
mode:
authorPaul W. Frields <stickster@gmail.com>2007-09-07 17:05:17 +0000
committerPaul W. Frields <stickster@gmail.com>2007-09-07 17:05:17 +0000
commitf01ae9987f4d8c63e79aa5e29f8a8df32b5d9d77 (patch)
tree09e8f57e83851b56c2e24616976b63b6f8fd461a /Makefile.common
parent6f5bcccdd8b6cec3e5e3ac4343c8b36f5dde2fbd (diff)
downloadfedora-doc-utils-f01ae9987f4d8c63e79aa5e29f8a8df32b5d9d77.tar.gz
fedora-doc-utils-f01ae9987f4d8c63e79aa5e29f8a8df32b5d9d77.tar.xz
fedora-doc-utils-f01ae9987f4d8c63e79aa5e29f8a8df32b5d9d77.zip
I'm pretty sure we don't want specspo interfering with any specfile
querying we do. This should only affect queries of the summary or description fields, which we currently don't use anyway.
Diffstat (limited to 'Makefile.common')
-rw-r--r--Makefile.common7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile.common b/Makefile.common
index ee7f7a2..9bb9a18 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -174,7 +174,7 @@ SHELL =${FDPBIN}/fdpsh
#########################################################################
ifndef RPMFLAGS
-RPMFLAGS=--define "docbase $(DOCBASE)" \
+RPMFLAGS:=--define "docbase $(DOCBASE)" \
--define "_topdir $(PWD)/rpm" \
--define "_srpmdir ${PWD}" \
--define "_rpmdir ${PWD}" \
@@ -182,6 +182,11 @@ RPMFLAGS=--define "docbase $(DOCBASE)" \
--define "fdpdir /usr/share/fedora/doc"
endif
+# Do not use specspo by default in case we want to use summary or desc
+ifeq "${RPMI18N}" ""
+RPMFLAGS :=${RPMFLAGS} --i18ndomains %{nil}
+endif
+
ifneq "${RPMDEBUG}" ""
RPMDFLAG = -vv
endif