diff options
| author | Paul W. Frields <stickster@gmail.com> | 2007-09-07 17:05:17 +0000 |
|---|---|---|
| committer | Paul W. Frields <stickster@gmail.com> | 2007-09-07 17:05:17 +0000 |
| commit | f01ae9987f4d8c63e79aa5e29f8a8df32b5d9d77 (patch) | |
| tree | 09e8f57e83851b56c2e24616976b63b6f8fd461a | |
| parent | 6f5bcccdd8b6cec3e5e3ac4343c8b36f5dde2fbd (diff) | |
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.
| -rw-r--r-- | Makefile.common | 7 |
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 |
