From 1c76dd3722a739483988b385cc964afbf4d4e23b Mon Sep 17 00:00:00 2001 From: Jesse Keating Date: Mon, 10 Dec 2007 18:04:55 -0500 Subject: [PATCH] Handle egg generation in the spec file. --- pungi | 2 +- pungi.spec | 6 ++++-- setup.py | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/pungi b/pungi index 51691f83..b0d6a8fe 100755 --- a/pungi +++ b/pungi @@ -121,7 +121,7 @@ if __name__ == '__main__': today = time.strftime('%Y%m%d', time.localtime()) def get_arguments(config): - parser = OptionParser(version="%prog 1.2.1") + parser = OptionParser(version="%prog 1.2.2") def set_config(option, opt_str, value, parser, config): config.set('default', option.dest, value) diff --git a/pungi.spec b/pungi.spec index ef534385..c96f134c 100644 --- a/pungi.spec +++ b/pungi.spec @@ -1,7 +1,7 @@ %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} Name: pungi -Version: 1.2.1 +Version: 1.2.2 Release: 1%{?dist} Summary: Distribution compose tool @@ -44,6 +44,7 @@ rm -rf $RPM_BUILD_ROOT %doc Authors Changelog COPYING GPL ToDo doc/README # For noarch packages: sitelib %{python_sitelib}/pypungi +%{python_sitelib}/pypungi-%{version}-py2.5.egg-info %{_bindir}/pungi %{_datadir}/pungi %{_mandir}/man8/pungi.8.gz @@ -51,10 +52,11 @@ rm -rf $RPM_BUILD_ROOT %changelog -* Mon Dec 10 2007 Jesse Keating 1.2.1-1 +* Mon Dec 10 2007 Jesse Keating 1.2.2-1 - Use a repoview cache. - Use a createrepo cache. - Change path to isomd5sum +- Add egg file to spec * Tue Dec 4 2007 Jesse Keating 1.2.0-1 - Make logged output reusable in shell diff --git a/setup.py b/setup.py index d99f3ade..66b25163 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from distutils.core import setup import glob setup(name='pungi', - version='1.2.1', + version='1.2.2', description='Distribution compose tool', author='Jesse Keating', author_email='jkeating@redhat.com',