* Wed Jan 20 2010 Luke Macken <lmacken@redhat.com> - 4.7.0-2
- Merge a bunch of changes from Gareth Armstrong <gareth.armstrong@hp.com>
- Use the source zip from voidspace.org.uk, as the PyPI tarball
is missing docs and tests
- Remove BR on python-setuptools-devel
This commit is contained in:
parent
74daccafb5
commit
6f7f935d5f
@ -1 +1 @@
|
|||||||
configobj-4.7.0.tar.gz
|
configobj-4.7.0.zip
|
||||||
|
|||||||
@ -3,17 +3,17 @@
|
|||||||
|
|
||||||
Name: python-configobj
|
Name: python-configobj
|
||||||
Version: 4.7.0
|
Version: 4.7.0
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Config file reading, writing, and validation
|
Summary: Config file reading, writing, and validation
|
||||||
|
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: http://www.voidspace.org.uk/python/configobj.html
|
URL: http://www.voidspace.org.uk/python/configobj.html
|
||||||
Source0: http://pypi.python.org/packages/source/c/configobj/configobj-%{version}.tar.gz
|
Source0: http://www.voidspace.org.uk/downloads/configobj-%{version}.zip
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
BuildRequires: python-devel python-setuptools-devel
|
BuildRequires: python-devel
|
||||||
|
|
||||||
%description
|
%description
|
||||||
ConfigObj is a simple but powerful config file reader and writer: an ini file
|
ConfigObj is a simple but powerful config file reader and writer: an ini file
|
||||||
@ -47,22 +47,27 @@ It has lots of other features though:
|
|||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
%{__python} setup.py install -O1 --skip-build --root=$RPM_BUILD_ROOT
|
%{__python} setup.py install -O1 --skip-build --root=$RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
%check
|
||||||
|
export PYTHONPATH="%{buildroot}/%{python_sitelib}"
|
||||||
|
%{__python} tests/test_configobj.py
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc
|
%doc docs/*
|
||||||
%{python_sitelib}/*.py
|
%{python_sitelib}/*
|
||||||
%{python_sitelib}/*.pyc
|
|
||||||
%{python_sitelib}/*.pyo
|
|
||||||
%if 0%{?fedora} >= 9
|
|
||||||
%{python_sitelib}/*.egg-info
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jan 20 2010 Luke Macken <lmacken@redhat.com> - 4.7.0-2
|
||||||
|
- Merge a bunch of changes from Gareth Armstrong <gareth.armstrong@hp.com>
|
||||||
|
- The src zip file should come either from http://www.voidspace.org.uk/
|
||||||
|
downloads/ or http://code.google.com/p/configobj/ as the PyPI tarball is
|
||||||
|
not complete. No docs and no test code.
|
||||||
|
- Added docs
|
||||||
|
- Remove BR on python-setuptools-devel
|
||||||
|
|
||||||
* Sun Jan 10 2010 Luke Macken <lmacken@redhat.com> - 4.7.0-1
|
* Sun Jan 10 2010 Luke Macken <lmacken@redhat.com> - 4.7.0-1
|
||||||
- Update to 4.7.0
|
- Update to 4.7.0
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user