%global module_name fastimport
Name: python-%{module_name}
Version: 0.9.2
Release: 3%{?dist}
Summary: Python parser for fastimport (VCS interchange format)
Group: Development/Languages
License: GPLv2+
URL: https://launchpad.net/python-fastimport
Source0: http://launchpad.net/%{name}/trunk/%{version}/+download/%{name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python-setuptools-devel
BuildRequires: python-testtools
BuildRequires: python-nose
%description
This is the Python parser that was originally developed for bzr-fastimport, but
extracted so it can be used by other projects.
%prep
%setup -q
%build
%{__python} setup.py build
%install
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
%check
PYTHONPATH=$RPM_BUILD_ROOT%{python_sitelib} nosetests %{module_name}
%files
%doc AUTHORS COPYING.txt
%{python_sitelib}/%{module_name}*
%changelog
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Fri Jan 18 2013 Dan Callaghan <dcallagh@redhat.com> - 0.9.2-1
- upstream bug fix release 0.9.2
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Wed Feb 29 2012 Dan Callaghan <dcallagh@redhat.com> - 0.9.1-1
- upstream release 0.9.1
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Thu Oct 06 2011 Dan Callaghan <dcallagh@redhat.com> - 0.9.0-2
- cleaned up spec
- patch for outdated FSF address
* Thu Jun 16 2011 Dan Callaghan <dcallagh@redhat.com> - 0.9.0-1
- initial version