This repository was archived by the owner on Apr 26, 2019. It is now read-only.
forked from lanky/python-rhnapi
-
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.
- new Makefile-based build - changelog generated from git - setup.cfg updated to release 14, new changelog - gitignore mappings now ignore diffs and egg info
- Loading branch information
Stuart Sears
committed
May 28, 2014
1 parent
e730541
commit 1c9e7ea
Showing
4 changed files
with
46 additions
and
1 deletion.
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 |
---|---|---|
|
@@ -6,3 +6,5 @@ dist/ | |
MANIFEST | ||
localtest.py | ||
ChangeLog | ||
diffs/ | ||
python_rhnapi.egg-info/ |
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,3 +1,7 @@ | ||
# exclude README | ||
include README | ||
include README.rst | ||
include ChangeLog | ||
include GPL.txt | ||
recursive-include rhnapi *.py | ||
graft rhnapi/docs |
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,27 @@ | ||
# makefile for spw-api-scripts | ||
# uses distutils files etc | ||
# generates changelog first | ||
# tabs have a special meaning in makefiles | ||
# vim: set noet : | ||
|
||
|
||
# generate source and binary RPMs | ||
rpms: changelog | ||
python setup.py bdist_rpm | ||
|
||
changelog: | ||
git log --format="%ci [%h] - %an <%aE>%n%s%n%b" --date=short --no-merges > ChangeLog | ||
|
||
# generate tarball | ||
tarball: | ||
python setup.py sdist | ||
|
||
# clean up build files | ||
clean: | ||
find -type f -name '*.pyo' -o -name '*.pyc' | xargs rm -vf | ||
rm -rvf build | ||
|
||
# clean up RPMs too | ||
distclean: clean | ||
rm -rvf dist | ||
|
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 |
---|---|---|
|
@@ -2,13 +2,25 @@ | |
formats = gztar,zip | ||
|
||
[bdist_rpm] | ||
release = 11%{?dist} | ||
release = 14%{?dist} | ||
packager = Stuart Sears <[email protected]> | ||
doc_files = rhnapi/docs/ | ||
provides = rhnapi | ||
requires = python | ||
|
||
changelog = | ||
* Wed Oct 16 2013 Stuart Sears <[email protected]> 5.4.1-14 | ||
- updated rhnSession.fail to log error messages rather than whole | ||
exception tracebacks. Most exceptions still dumped to stdout. | ||
|
||
* Wed Jul 03 2013 Stuart Sears <[email protected]> 5.4.1-13 | ||
- bugfix in kickstart.addCryptoKeys. Now correctly returns bool/Exception | ||
|
||
* Fri Apr 26 2013 Stuart Sears <[email protected]> 5.4.1-12 | ||
- New makefile-based build | ||
- README and GPL.txt now included as docs | ||
- ChangeLog generated from git at build time | ||
|
||
* Mon Nov 26 2012 Stuart Sears <[email protected]> 5.4.1-11 | ||
- added new decorators.py module for exception logging | ||
- added missing parameter in user.listDefaultSystemGroups | ||
|