prep for dist.
Use bzip2 (so trac can see it)
This commit is contained in:
parent
e81d4b8e51
commit
6d0d5e5839
2
Makefile
2
Makefile
@ -19,7 +19,7 @@ tag:
|
||||
|
||||
archive:
|
||||
@rm -rf ${PKGNAME}-$(VERSION)/
|
||||
@python setup.py sdist > /dev/null
|
||||
@python setup.py sdist --formats=bztar > /dev/null
|
||||
@echo "The archive is in dist/${PKGNAME}-$(VERSION).tar.gz"
|
||||
|
||||
srpm: archive
|
||||
|
10
pungi.spec
10
pungi.spec
@ -1,14 +1,14 @@
|
||||
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||
|
||||
Name: pungi
|
||||
Version: 1.2.4
|
||||
Version: 1.2.6
|
||||
Release: 1%{?dist}
|
||||
Summary: Distribution compose tool
|
||||
|
||||
Group: Development/Tools
|
||||
License: GPLv2
|
||||
URL: http://hosted.fedoraproject.org/projects/pungi
|
||||
Source0: http://linux.duke.edu/projects/%{name}/release/%{name}-%{version}.tar.gz
|
||||
URL: https://fedorahosted.org/pungi
|
||||
Source0: https://fedorahosted.org/pungi/attachment/wiki/%{version}/%{name}-%{version}.tar.bz2
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
Requires: anaconda-runtime, yum => 3.0.3, repoview
|
||||
BuildRequires: python-devel
|
||||
@ -55,6 +55,10 @@ rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Jan 2 2008 jkeating <jkeating@redhat.com> 1.2.6-1
|
||||
- Update the url field for new hosted urls.
|
||||
- Add k3b to the Fedora manifest.
|
||||
|
||||
* Mon Dec 10 2007 Jesse Keating <jkeating@redhat.com> 1.2.4-1
|
||||
- Remove extra files from tarball
|
||||
|
||||
|
2
setup.py
2
setup.py
@ -2,7 +2,7 @@ from distutils.core import setup
|
||||
import glob
|
||||
|
||||
setup(name='pungi',
|
||||
version='1.2.4',
|
||||
version='1.2.6',
|
||||
description='Distribution compose tool',
|
||||
author='Jesse Keating',
|
||||
author_email='jkeating@redhat.com',
|
||||
|
@ -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.4")
|
||||
parser = OptionParser(version="%prog 1.2.6")
|
||||
|
||||
def set_config(option, opt_str, value, parser, config):
|
||||
config.set('default', option.dest, value)
|
||||
|
Loading…
Reference in New Issue
Block a user