From f01ae9987f4d8c63e79aa5e29f8a8df32b5d9d77 Mon Sep 17 00:00:00 2001 From: "Paul W. Frields" Date: Fri, 7 Sep 2007 17:05:17 +0000 Subject: 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. --- Makefile.common | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'Makefile.common') 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 -- cgit