summaryrefslogtreecommitdiffstats
path: root/ipa-python
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2008-08-08 09:35:05 -0400
committerSimo Sorce <ssorce@redhat.com>2008-08-11 18:31:05 -0400
commit9648da8f5f5e4292451f1ba796c4fd027585fdce (patch)
treeabcc4b616dd33a9b770dd1266a1c2d700f671e70 /ipa-python
parent0368d4329ae54d97b6fb5da60580beefa29d07bc (diff)
downloadfreeipa-9648da8f5f5e4292451f1ba796c4fd027585fdce.tar.gz
freeipa-9648da8f5f5e4292451f1ba796c4fd027585fdce.tar.xz
freeipa-9648da8f5f5e4292451f1ba796c4fd027585fdce.zip
Fix versioning for configure.ac and ipa-python/setup.py
Fix make maintainer-clean Also make RPM naming consistent by using a temp RELEASE file. This one helps when testing builds using rpms. Just 'echo X > RELEASE' to build a new rpms (X, X+1, X+2 ...) Version 1.1.0 was released some times ago, bump up to 1.1.1
Diffstat (limited to 'ipa-python')
-rw-r--r--ipa-python/Makefile3
-rwxr-xr-xipa-python/ipa-python.spec.in4
-rw-r--r--ipa-python/setup.py.in2
3 files changed, 5 insertions, 4 deletions
diff --git a/ipa-python/Makefile b/ipa-python/Makefile
index 131604578..4ac027e14 100644
--- a/ipa-python/Makefile
+++ b/ipa-python/Makefile
@@ -13,9 +13,10 @@ install:
fi
clean:
- rm -f *~ *.pyc setup.py ipa-python.spec version.py
+ rm -f *~ *.pyc
distclean: clean
+ rm -f setup.py ipa-python.spec version.py
maintainer-clean: distclean
rm -rf build
diff --git a/ipa-python/ipa-python.spec.in b/ipa-python/ipa-python.spec.in
index 774464951..a41a413e6 100755
--- a/ipa-python/ipa-python.spec.in
+++ b/ipa-python/ipa-python.spec.in
@@ -1,6 +1,6 @@
Name: ipa-python
-Version: VERSION
-Release: 1%{?dist}
+Version: __VERSION__
+Release: __RELEASE__%{?dist}
Summary: IPA authentication server
Group: System Environment/Base
diff --git a/ipa-python/setup.py.in b/ipa-python/setup.py.in
index a48b8e690..19940f38f 100644
--- a/ipa-python/setup.py.in
+++ b/ipa-python/setup.py.in
@@ -52,7 +52,7 @@ def setup_package():
try:
setup(
name = "ipa",
- version = "0.6.0",
+ version = "__VERSION__",
license = "GPL",
author = "Karl MacMillan, et.al.",
author_email = "kmacmill@redhat.com",