summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Makefile2
-rw-r--r--src/gf.spec2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index fc64584c2..eeb854105 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -114,6 +114,8 @@ dist:
zip -r $(DIST_DIR).zip $(DIST_DIR)
rm -rf $(DIST_DIR)
+rpm: dist
+ rpmbuild -ta $(DIST_DIR).tar.gz
install:
$(INSTALL) -d $(bindir)
diff --git a/src/gf.spec b/src/gf.spec
index 24c40505b..3a0115c7a 100644
--- a/src/gf.spec
+++ b/src/gf.spec
@@ -44,7 +44,7 @@ GF particularly addresses two aspects of grammars:
%prep
rm -rf $RPM_BUILD_ROOT
-%setup -q -n %{name}%{version}
+%setup -q
%build
cd src