b09e115
b09e115
%global module_name fastimport
b09e115
b09e115
Name:           python-%{module_name}
d65bf55
Version:        0.9.8
1a9c1bd
Release:        10%{?dist}
5a5160f
Summary:        Python parser for fastimport (VCS interchange format)
5a5160f
License:        GPLv2+
5a5160f
URL:            https://launchpad.net/python-fastimport
dcb3160
Source0:        https://files.pythonhosted.org/packages/source/f/%{module_name}/%{module_name}-%{version}.tar.gz
5a5160f
BuildArch:      noarch
5a5160f
5a5160f
%description
5a5160f
This is the Python parser that was originally developed for bzr-fastimport, but 
5a5160f
extracted so it can be used by other projects.
5a5160f
80cbf77
%package -n python3-%{module_name}
80cbf77
Summary:        %{summary}
80cbf77
%{?python_provide:%python_provide python3-%{module_name}}
80cbf77
BuildRequires:  python3-devel
80cbf77
BuildRequires:  python3-setuptools
80cbf77
BuildRequires:  python3-testtools
80cbf77
BuildRequires:  python3-nose
80cbf77
80cbf77
%description -n python3-%{module_name}
80cbf77
This is the Python parser that was originally developed for bzr-fastimport, but 
80cbf77
extracted so it can be used by other projects.
80cbf77
5a5160f
%prep
dcb3160
%setup -q -n %{module_name}-%{version}
d65bf55
# Fix shebangs
d65bf55
sed -i -e 's@^#!/usr/bin/python@#!%{__python3}@' bin/*
5a5160f
5a5160f
%build
80cbf77
%{py3_build}
5a5160f
5a5160f
%install
80cbf77
%{py3_install}
5a5160f
5a5160f
%check
Thomas Spura 5a35109
PYTHONPATH=$RPM_BUILD_ROOT%{python3_sitelib} %{_bindir}/nosetests-3.* %{module_name}
80cbf77
80cbf77
%files -n python3-%{module_name}
dcb3160
%license COPYING
dcb3160
%doc AUTHORS NEWS README.md
80cbf77
%{python3_sitelib}/%{module_name}*
d65bf55
%{_bindir}/fast-import-filter
d65bf55
%{_bindir}/fast-import-info
d65bf55
%{_bindir}/fast-import-query
5a5160f
5a5160f
%changelog
1a9c1bd
* Sat May 23 2020 Miro Hrončok <mhroncok@redhat.com> - 0.9.8-10
1a9c1bd
- Rebuilt for Python 3.9
1a9c1bd
44c3452
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.8-9
44c3452
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
44c3452
6cc89c8
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.9.8-8
6cc89c8
- Rebuilt for Python 3.8.0rc1 (#1748018)
6cc89c8
f6a994b
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.9.8-7
f6a994b
- Rebuilt for Python 3.8
f6a994b
f3c3d92
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.8-6
f3c3d92
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
f3c3d92
6ebcfd0
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.8-5
6ebcfd0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
6ebcfd0
40bcc07
* Wed Oct 17 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.9.8-4
40bcc07
- Subpackage python2-fastimport has been removed
40bcc07
  See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
40bcc07
4fd978e
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.8-3
4fd978e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
4fd978e
60c8d7d
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.9.8-2
60c8d7d
- Rebuilt for Python 3.7
60c8d7d
d65bf55
* Mon Apr 30 2018 Dan Callaghan <dcallagh@redhat.com> - 0.9.8-1
d65bf55
- upstream release 0.9.8:
d65bf55
  https://github.com/jelmer/python-fastimport/blob/upstream/0.9.8/NEWS
d65bf55
6fd4ff0
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.6-7
6fd4ff0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
6fd4ff0
b0398d9
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.6-6
b0398d9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
b0398d9
0d80dbe
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.6-5
0d80dbe
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
0d80dbe
Thomas Spura 5a35109
* Thu Dec 29 2016 Thomas Spura <tomspur@fedoraproject.org> - 0.9.6-4
Thomas Spura 5a35109
- Fix calling of nosetests in %%check for Python 3.X
Thomas Spura 5a35109
a00d88a
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.9.6-3
a00d88a
- Rebuild for Python 3.6
a00d88a
80cbf77
* Mon Aug 01 2016 Dan Callaghan <dcallagh@redhat.com> - 0.9.6-2
80cbf77
- added Python 3 subpackage, updated to latest Python guidelines
80cbf77
dcb3160
* Mon Aug 01 2016 Dan Callaghan <dcallagh@redhat.com> - 0.9.6-1
dcb3160
- upstream release 0.9.6 (RHBZ#1361922)
dcb3160
  https://github.com/jelmer/python-fastimport/blob/fastimport-0.9.6/NEWS
dcb3160
c2965e1
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.2-8
c2965e1
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
c2965e1
fbeb2b7
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.2-7
fbeb2b7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
fbeb2b7
ef5d81e
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.2-6
ef5d81e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
ef5d81e
1b95b75
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.2-5
1b95b75
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
1b95b75
63ab04b
* Fri Dec 06 2013 Dan Callaghan <dcallagh@redhat.com> - 0.9.2-4
63ab04b
- s/python-setuptools-devel/python-setuptools/
63ab04b
  https://fedoraproject.org/wiki/Changes/Remove_Python-setuptools-devel
63ab04b
9d9cc79
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.2-3
9d9cc79
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
9d9cc79
5b1aa7f
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.2-2
5b1aa7f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
5b1aa7f
3f62fc3
* Fri Jan 18 2013 Dan Callaghan <dcallagh@redhat.com> - 0.9.2-1
3f62fc3
- upstream bug fix release 0.9.2
3f62fc3
b817acb
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.1-2
b817acb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
b817acb
b09e115
* Wed Feb 29 2012 Dan Callaghan <dcallagh@redhat.com> - 0.9.1-1
b09e115
- upstream release 0.9.1
b09e115
39ed26f
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.0-3
39ed26f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
39ed26f
ca3d81d
* Thu Oct 06 2011 Dan Callaghan <dcallagh@redhat.com> - 0.9.0-2
ca3d81d
- cleaned up spec
ca3d81d
- patch for outdated FSF address
ca3d81d
5a5160f
* Thu Jun 16 2011 Dan Callaghan <dcallagh@redhat.com> - 0.9.0-1
5a5160f
- initial version