Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix silly class bug - add version update to makefile tools

  • Loading branch information...
commit 24499d3a8397b8f5fdded9d3b6e297ded42baf61 1 parent 0c5d36c
@imcleod imcleod authored
View
14 Makefile
@@ -1,14 +1,18 @@
+version:
+ git describe > version.txt
+ perl -p -i -e 's/-/_/g' version.txt
+
sdist:
python setup.py sdist
-signed-rpm: sdist
- rpmbuild -ba imagefactory.spec --sign --define "_sourcedir `pwd`/dist"
+signed-rpm: sdist version
+ rpmbuild -ba imagefactory.spec --sign --define "_sourcedir `pwd`/dist"i
-rpm: sdist
+rpm: sdist version
rpmbuild -ba imagefactory.spec --define "_sourcedir `pwd`/dist"
-srpm: sdist
+srpm: sdist version
rpmbuild -bs imagefactory.spec --define "_sourcedir `pwd`/dist"
clean:
- rm -rf MANIFEST build dist imagefactory.spec
+ rm -rf MANIFEST build dist imagefactory.spec version.txt
View
1  imagefactory/builders/RHEL5Builder.py
@@ -1 +1,2 @@
class RHEL5Builder(FedoraBuilder.FedoraBuilder):
+ pass
View
1  imagefactory/builders/RHEL6Builder.py
@@ -1 +1,2 @@
class RHEL6Builder(FedoraBuilder.FedoraBuilder):
+ pass
Please sign in to comment.
Something went wrong with that request. Please try again.