forked from brianjmurrell/iml-agent
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Package all neccissary sources in package build with setup.py sdist, to build rpm. Allow rpmbuild -ta iml-agent-$VERSION.tar.gz Add Makefile to allow "make rpms" to work Signed-off-by: Nathaniel Clark <[email protected]>
- Loading branch information
1 parent
ad7de14
commit 1b55141
Showing
4 changed files
with
30 additions
and
11 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 |
---|---|---|
|
@@ -8,3 +8,4 @@ chroma_agent.egg-info/ | |
_topdir/ | ||
tags | ||
settings.json | ||
*.rpm |
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
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
rpms:: | ||
rm -rf _topdir *.rpm | ||
mkdir -p _topdir/SOURCES/ | ||
python setup.py sdist -d _topdir/SOURCES/ | ||
rpmbuild -ba -D "%_topdir ${PWD}/_topdir" python-iml-agent.spec | ||
cp -l _topdir/RPMS/*/*.rpm ./ | ||
|
||
repo:: rpms | ||
(cd _topdir/RPMS; createrepo .) | ||
|
||
clean:: | ||
python setup.py clean | ||
rm -f *~ | ||
|
||
extraclean:: clean | ||
python setup.py clean --all | ||
rm -rf _topdir/ dist/ | ||
rm -f *.rpm |
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