summaryrefslogtreecommitdiffstats
path: root/Makefile.common
diff options
context:
space:
mode:
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