forked from redhat-imaging/imagefactory
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix silly class bug - add version update to makefile tools
- Loading branch information
Showing
3 changed files
with
11 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
class RHEL5Builder(FedoraBuilder.FedoraBuilder): | ||
pass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
class RHEL6Builder(FedoraBuilder.FedoraBuilder): | ||
pass |