[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

docs-common Makefile.common,1.170,1.171



Author: pfrields

Update of /cvs/docs/docs-common
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv25352

Modified Files:
	Makefile.common 
Log Message:
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.



Index: Makefile.common
===================================================================
RCS file: /cvs/docs/docs-common/Makefile.common,v
retrieving revision 1.170
retrieving revision 1.171
diff -u -r1.170 -r1.171
--- Makefile.common	6 Sep 2007 01:25:09 -0000	1.170
+++ Makefile.common	7 Sep 2007 17:05:17 -0000	1.171
@@ -174,7 +174,7 @@
 
 #########################################################################
 ifndef RPMFLAGS
-RPMFLAGS=--define "docbase $(DOCBASE)" 					\
+RPMFLAGS:=--define "docbase $(DOCBASE)" 				\
 	 --define "_topdir $(PWD)/rpm" 					\
 	 --define "_srpmdir ${PWD}"					\
 	 --define "_rpmdir ${PWD}"					\
@@ -182,6 +182,11 @@
          --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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]