summaryrefslogtreecommitdiffstats
path: root/tools/export.py
diff options
context:
space:
mode:
authorChris St. Pierre <chris.a.st.pierre@gmail.com>2013-11-06 11:27:21 -0500
committerChris St. Pierre <chris.a.st.pierre@gmail.com>2013-11-06 11:27:21 -0500
commita9c5ef601792aba01769a5263d79fe252da58e11 (patch)
tree4edcdbbc7453b4035be788891be344708bbc1420 /tools/export.py
parent801baeb391dc3711d735b51c4ef8d447592559dc (diff)
downloadbcfg2-a9c5ef601792aba01769a5263d79fe252da58e11.tar.gz
bcfg2-a9c5ef601792aba01769a5263d79fe252da58e11.tar.bz2
bcfg2-a9c5ef601792aba01769a5263d79fe252da58e11.zip
removed unused redhat specfile, export.sh
Diffstat (limited to 'tools/export.py')
-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,