Permalink
Browse files

build: don't leave empty macros in the spec file

and avoid to see errors at build time

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
  • Loading branch information...
1 parent 84e17bc commit 20ddc83653b43942c130fdadacd1e57cd6eae2cf @fabbione fabbione committed Jun 6, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 Makefile.am
View
@@ -148,6 +148,7 @@ $(SPEC): $(SPEC).in
$< > $@-t; \
fi; \
if [ -z "$$dirty" ]; then sed -i -e "s#%glo.*dirty.*##g" $@-t; fi
+ if [ -z "$$rcver" ]; then sed -i -e "s#%glo.*rcver.*##g" $@-t; fi
chmod a-w $@-t
mv $@-t $@

0 comments on commit 20ddc83

Please sign in to comment.