aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2016-03-09 03:44:56 +0100
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2016-03-09 03:44:56 +0100
commit06db24fefadef5056cc2e14b9791a95614ba9ff2 (patch)
tree99c2cdbe0c7bd3df2af2a2b30590d25d934c0e5f
parent9d11a1781e47d64eb8ba2f8ad6f5ab6927e0c989 (diff)
downloadblogc-06db24fefadef5056cc2e14b9791a95614ba9ff2.tar.gz
blogc-06db24fefadef5056cc2e14b9791a95614ba9ff2.tar.bz2
blogc-06db24fefadef5056cc2e14b9791a95614ba9ff2.zip
spec: fixed source dir
-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