aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile.am1
-rw-r--r--blogc.spec.in2
2 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 9554599..a0559ea 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -314,6 +314,7 @@ TESTS = \
## Helpers: dist-srpm
+
if USE_RPMBUILD
dist-srpm: blogc.spec dist-xz
$(RPMBUILD) \
diff --git a/blogc.spec.in b/blogc.spec.in
index dc3983e..142e4f0 100644
--- a/blogc.spec.in
+++ b/blogc.spec.in
@@ -14,7 +14,7 @@ blogc(1) is a blog compiler. It converts source files and templates into
blog/website resources.
%prep
-%setup -q
+%setup -q -n @PACKAGE_NAME@-@PACKAGE_VERSION@
%build
%configure --with-squareball=system