summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTill Maas <opensource@till.name>2011-07-17 20:31:11 +0200
committerTill Maas <opensource@till.name>2011-07-17 20:31:41 +0200
commit8504009ddbe879d1c7fe2d5b9f3eb9699c4b8425 (patch)
treef08d10a875b37239c16ab02c16f329214d6af0a9
parent94c0d620f9ea79a05daa0e3144fb78cdc3c40d13 (diff)
downloadcnucnu-8504009ddbe879d1c7fe2d5b9f3eb9699c4b8425.tar.gz
cnucnu-8504009ddbe879d1c7fe2d5b9f3eb9699c4b8425.tar.xz
cnucnu-8504009ddbe879d1c7fe2d5b9f3eb9699c4b8425.zip
fix rpm-build.sh: do not use stale data
Clean the rpm build dir after building to avoid a conflict with setup.py sdist.
-rwxr-xr-xcnucnu/scm.py (renamed from cnucnu/cvs.py)0
-rwxr-xr-xrpm-build.sh4
2 files changed, 2 insertions, 2 deletions
diff --git a/cnucnu/cvs.py b/cnucnu/scm.py
index d3ba2d0..d3ba2d0 100755
--- a/cnucnu/cvs.py
+++ b/cnucnu/scm.py
diff --git a/rpm-build.sh b/rpm-build.sh
index 0fa57b2..59374dd 100755
--- a/rpm-build.sh
+++ b/rpm-build.sh
@@ -2,7 +2,7 @@
PATH="/bin:/usr/bin:/sbin:/usr/sbin:/home/till/bin"
+rm -- noarch/*
./setup.py sdist
ln -s dist/cnucnu-0.0.0.tar.gz
-rpmbuild-thisdir.sh -bb cnucnu.spec
-rm cnucnu-0.0.0.tar.gz
+rpmbuild-thisdir.sh --rmsource --clean -bb cnucnu.spec