Handle egg generation in the spec file.

This commit is contained in:
Jesse Keating 2007-12-10 18:04:55 -05:00 committed by Jesse Keating
parent 5bfbdb1a47
commit 1c76dd3722
3 changed files with 6 additions and 4 deletions

2
pungi
View File

@ -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)

View File

@ -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 <jkeating@redhat.com> 1.2.1-1
* Mon Dec 10 2007 Jesse Keating <jkeating@redhat.com> 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 <jkeating@redhat.com> 1.2.0-1
- Make logged output reusable in shell

View File

@ -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',