summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorChris St. Pierre <chris.a.st.pierre@gmail.com>2013-10-28 07:54:31 -0400
committerChris St. Pierre <chris.a.st.pierre@gmail.com>2013-10-28 08:05:31 -0400
commitc542b5df90c007ac89fa5f0a78a0c6c6c76d0cfa (patch)
treef3ea27b4a46b92d5655fddb4fb05a5e8838c9abd /tools
parent0dc94564d9f7ba5065f3facfc864718b478370e0 (diff)
downloadbcfg2-c542b5df90c007ac89fa5f0a78a0c6c6c76d0cfa.tar.gz
bcfg2-c542b5df90c007ac89fa5f0a78a0c6c6c76d0cfa.tar.bz2
bcfg2-c542b5df90c007ac89fa5f0a78a0c6c6c76d0cfa.zip
removed old redhat build specfile and associated cruft
Diffstat (limited to 'tools')
-rwxr-xr-xtools/export.py17
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,