From c542b5df90c007ac89fa5f0a78a0c6c6c76d0cfa Mon Sep 17 00:00:00 2001 From: "Chris St. Pierre" Date: Mon, 28 Oct 2013 07:54:31 -0400 Subject: removed old redhat build specfile and associated cruft --- tools/export.py | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) (limited to 'tools') 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, -- cgit v1.2.3-1-g7c22