revert to the old way of doing versioning as the change in 3.01 did not work

This commit is contained in:
Dennis Gilmore 2013-10-31 20:22:35 -05:00
parent e7d19b70ee
commit 293143d8f1
4 changed files with 6 additions and 6 deletions

View File

@ -1,7 +1,7 @@
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
Name: pungi Name: pungi
Version: 3.02 Version: 3.03
Release: 1%{?dist} Release: 1%{?dist}
Summary: Distribution compose tool Summary: Distribution compose tool
@ -56,6 +56,9 @@ rm -rf $RPM_BUILD_ROOT
/var/cache/pungi /var/cache/pungi
%changelog %changelog
* Thu Oct 31 2013 Dennis Gilmore <dennis@ausil.us> - 3.03-1
- revert to the old way of doing versioning as the change in 3.01 did not work
* Thu Oct 31 2013 Dennis Gilmore <dennis@ausil.us> - 3.02-1 * Thu Oct 31 2013 Dennis Gilmore <dennis@ausil.us> - 3.02-1
- fix typo in call to __version__ (Dennis Gilmore) - fix typo in call to __version__ (Dennis Gilmore)

View File

@ -2,7 +2,7 @@ from distutils.core import setup
import glob import glob
setup(name='pungi', setup(name='pungi',
version='3.02', # make sure it matches pypungi.__version__ version='3.03', # make sure src/bin/pungi.py is updated to match
description='Distribution compose tool', description='Distribution compose tool',
author='Dennis Gilmore', author='Dennis Gilmore',
author_email='dgilmore@fedoraproject.org', author_email='dgilmore@fedoraproject.org',

View File

@ -178,7 +178,7 @@ if __name__ == '__main__':
today = time.strftime('%Y%m%d', time.localtime()) today = time.strftime('%Y%m%d', time.localtime())
def get_arguments(config): def get_arguments(config):
parser = OptionParser("%prog [--help] [options]", version="%prog %s" % pypungi.__version__) parser = OptionParser("%prog [--help] [options]", version="%prog 3.03")
def set_config(option, opt_str, value, parser, config): def set_config(option, opt_str, value, parser, config):
config.set('pungi', option.dest, value) config.set('pungi', option.dest, value)

View File

@ -15,9 +15,6 @@
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
__version__ = "3.02"
import yum import yum
import os import os
import re import re