diff options
author | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2013-10-28 07:54:31 -0400 |
---|---|---|
committer | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2013-10-28 08:05:31 -0400 |
commit | c542b5df90c007ac89fa5f0a78a0c6c6c76d0cfa (patch) | |
tree | f3ea27b4a46b92d5655fddb4fb05a5e8838c9abd /tools | |
parent | 0dc94564d9f7ba5065f3facfc864718b478370e0 (diff) | |
download | bcfg2-c542b5df90c007ac89fa5f0a78a0c6c6c76d0cfa.tar.gz bcfg2-c542b5df90c007ac89fa5f0a78a0c6c6c76d0cfa.tar.bz2 bcfg2-c542b5df90c007ac89fa5f0a78a0c6c6c76d0cfa.zip |
removed old redhat build specfile and associated cruft
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/export.py | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/tools/export.py b/tools/export.py index 7c3c56db2..0ea6df2af 100755 --- a/tools/export.py +++ b/tools/export.py @@ -177,8 +177,7 @@ E.G. 1.2.0pre1 is a valid version. # write out the new RPM changelog specs = ["misc/bcfg2.spec", - "misc/bcfg2-selinux.spec", - "redhat/bcfg2.spec.in"] + "misc/bcfg2-selinux.spec"] if options.dryrun: print("*** Add the following to the top of the %%changelog section in %s:\n%s\n" % (rpmchangelog, " and ".join(specs))) @@ -201,20 +200,6 @@ E.G. 1.2.0pre1 is a valid version. print(help_message) quit() - # Update redhat directory versions - if options.dryrun: - print("*** Replace redhat/VERSIONS content with '%s'." - % version_release) - print("*** Replace redhat/RELEASE content with '%s'." - % version_info['build']) - else: - with open('redhat/VERSION', 'w') as f: - f.write("%s\n" % version_release) - f.close() - with open('redhat/RELEASE', 'w') as f: - f.write("0.0%s\n" % version_info['build']) - f.close() - # update solaris version find_and_replace('solaris/Makefile', 'VERS=', 'VERS=%s-1\n' % version, |