From: helly Date: Tue, 3 Jan 2006 01:28:09 +0000 (+0000) Subject: - Use autoconf infrastructure (change re2c.spec.in to use @PACKAGE_RELEASE@ X-Git-Tag: 0.13.6~509 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e37cd7a589edcf1a0be4b6e838325c1120d7d3ef;p=re2c - Use autoconf infrastructure (change re2c.spec.in to use @PACKAGE_RELEASE@ instead of RPM_RELEASE --- diff --git a/Makefile.am b/Makefile.am index 84994a12..726b537c 100755 --- a/Makefile.am +++ b/Makefile.am @@ -25,7 +25,6 @@ EXTRA_DIST = $(man_MANS) README parser.y scanner.re makerpm.in re2c.spec.in \ doc examples test dist-hook: re2c.spec - cat re2c.spec | sed -e "s/RPM_RELEASE/$(PACKAGE_RELEASE)/g" > $(distdir)/re2c.spec rm -rf `find $(distdir)/doc -name CVS` rm -rf `find $(distdir)/examples -name CVS` rm -rf `find $(distdir)/test -name CVS` diff --git a/re2c.spec.in b/re2c.spec.in index 2963b697..a7b2039e 100644 --- a/re2c.spec.in +++ b/re2c.spec.in @@ -1,7 +1,7 @@ Summary: re2c - A tool for generating C-based recognizers from regular expressions Name: @PACKAGE_NAME@ Version: @PACKAGE_VERSION@ -Release: RPM_RELEASE +Release: @PACKAGE_RELEASE@ Group: Development License: public domain URL: http://sourceforge.net/projects/re2c/