a73a96b
%global modname git
a73a96b
%global srcname GitPython
a73a96b
a73a96b
Name:           %{srcname}
6973938
Version:        2.1.10
0776a40
Release:        2%{?dist}
8f52b8e
Summary:        Python Git Library
8f52b8e
8f52b8e
License:        BSD
a73a96b
URL:            https://github.com/gitpython-developers/GitPython
a73a96b
Source0:        %{url}/archive/%{version}/%{srcname}-%{version}.tar.gz
8f52b8e
8f52b8e
BuildArch:      noarch
8f52b8e
a73a96b
%global _description \
a73a96b
GitPython is a python library used to interact with git repositories,\
a73a96b
high-level like git-porcelain, or low-level like git-plumbing.\
a73a96b
\
a73a96b
It provides abstractions of git objects for easy access of repository data,\
a73a96b
and additionally allows you to access the git repository more directly using\
a73a96b
either a pure python implementation, or the faster, but more resource\
a73a96b
intensive git command implementation.\
a73a96b
\
a73a96b
The object database implementation is optimized for handling large quantities\
a73a96b
of objects and large datasets, which is achieved by using\
a73a96b
low-level structures and data streaming.
a73a96b
a73a96b
%description %{_description}
a73a96b
a73a96b
%package -n python2-%{srcname}
a73a96b
Summary:        %{summary}
a73a96b
%{?python_provide:%python_provide python3-%{srcname}}
a73a96b
BuildRequires:  python2-devel
a73a96b
BuildRequires:  python2-setuptools
a73a96b
Requires:       git-core
a73a96b
Requires:       python2-gitdb >= 2.0.0
8f52b8e
12723df
# Old name
12723df
Provides:       %{srcname} = %{?epoch:%{epoch}:}%{version}-%{release}
12723df
Obsoletes:      %{srcname} < %{?epoch:%{epoch}:}%{version}-%{release}
12723df
a73a96b
%description -n python2-%{srcname} %{_description}
8f52b8e
a73a96b
Python 2 version.
8f52b8e
a73a96b
%package -n python3-%{srcname}
a73a96b
Summary:        %{summary}
a73a96b
%{?python_provide:%python_provide python3-%{srcname}}
a73a96b
BuildRequires:  python3-devel
a73a96b
BuildRequires:  python3-setuptools
7d664ab
Requires:       git-core
a73a96b
Requires:       python3-gitdb >= 2.0.0
8f52b8e
a73a96b
%description -n python3-%{srcname} %{_description}
8f52b8e
a73a96b
Python 3 version.
8f52b8e
a73a96b
%prep
0bcfe3f
%autosetup -n %{srcname}-%{version} -p1
4298b7e
43a4069
%build
a73a96b
%py2_build
a73a96b
%py3_build
8f52b8e
43a4069
%install
a73a96b
%py2_install
a73a96b
%py3_install
a73a96b
a73a96b
%files -n python2-%{srcname}
43a4069
%license LICENSE
43a4069
%doc CHANGES AUTHORS
a73a96b
%{python2_sitelib}/%{srcname}-*.egg-info/
a73a96b
%{python2_sitelib}/%{modname}/
43a4069
a73a96b
%files -n python3-%{srcname}
43a4069
%license LICENSE
43a4069
%doc CHANGES AUTHORS
a73a96b
%{python3_sitelib}/%{srcname}-*.egg-info/
a73a96b
%{python3_sitelib}/%{modname}/
8f52b8e
8f52b8e
%changelog
0776a40
* Sun Jun 17 2018 Miro Hrončok <mhroncok@redhat.com> - 2.1.10-2
0776a40
- Rebuilt for Python 3.7
0776a40
6973938
* Sat May 19 2018 Kevin Fenzi <kevin@scrye.com> - 2.1.10-1
6973938
- Update to 2.9.10. Fixes bug #1580033
6973938
be82dc5
* Sun Mar 25 2018 Kevin Fenzi <kevin@scrye.com> - 2.1.9-1
be82dc5
- Update to 2.9.1. Fixes bug #1560214
be82dc5
f397fed
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.8-2
f397fed
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
f397fed
3df7d3e
* Wed Dec 13 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.1.8-1
3df7d3e
- Update to 2.1.8
3df7d3e
0bcfe3f
* Wed Nov 01 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.1.7-2
0bcfe3f
- Fix interaction with git 2.15
0bcfe3f
93c9da2
* Sat Sep 30 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.1.7-1
93c9da2
- Update to 2.1.7
93c9da2
904f2b6
* Tue Aug 08 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.1.5-1
904f2b6
- Update to 2.1.5
904f2b6
723381a
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.3-2
723381a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
723381a
Igor Gnatenko 7258929
* Sat Mar 11 2017 Igor Gnatenko <ignatenko@redhat.com> - 2.1.3-1
Igor Gnatenko 7258929
- Update to 2.1.3
Igor Gnatenko 7258929
c79f24f
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-3
c79f24f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
c79f24f
12723df
* Wed Dec 28 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 2.1.1-2
12723df
- Provide/Obsolete old name
12723df
a73a96b
* Wed Dec 28 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 2.1.1-1
a73a96b
- Update to 2.1.1
a73a96b
- Modernize spec
a73a96b
0f9ec29
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 2.1.0-2
0f9ec29
- Rebuild for Python 3.6
0f9ec29
6ae4e58
* Tue Nov 29 2016 Lubomír Sedlář <lsedlar@redhat.com> - 2.1.0-1
6ae4e58
- New upstream release
6ae4e58
60e57c7
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-6
60e57c7
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
60e57c7
ca42600
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-5
ca42600
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
ca42600
7d664ab
* Sun Dec 27 2015 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.1-4
7d664ab
- Require git-core
7d664ab
a7510a0
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-3
a7510a0
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
a7510a0
6f3dd99
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-2
6f3dd99
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
6f3dd99
43a4069
* Sun May 31 2015 Dennis Gilmore <dennis@ausil.us> - 1.0.1-1
43a4069
- Update to 1.0.1
43a4069
- Add python3 build
43a4069
0874573
* Fri Jun 06 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.2-0.7.RC1
0874573
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
0874573
024f57d
* Sat Dec 07 2013 Dennis Gilmore <dennis@ausil.us> - 0.3.2-0.6-RC1
024f57d
- apply patch from Igor Gnatenko for bz#1010706
024f57d
01c9104
* Fri Aug 02 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.2-0.5.RC1
01c9104
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
01c9104
256cf5d
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.2-0.4.RC1
256cf5d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
256cf5d
69fb198
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.2-0.3.RC1
69fb198
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
69fb198
71f07be
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.2-0.2.RC1
71f07be
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
71f07be
Jesse Keating 20f6827
* Fri Sep 23 2011 Jesse Keating <jkeating@redhat.com> - 0.3.2-0.1.RC1
Jesse Keating 20f6827
- Update to 0.3.2 RC1
Jesse Keating 20f6827
Jesse Keating 871014a
* Fri May 27 2011 Jesse Keating <jkeating@redhat.com> - 0.2.0-0.6.beta1
Jesse Keating 871014a
- Patches for indented parts of git config files
Jesse Keating 871014a
Jesse Keating 427308c
* Mon Feb 14 2011 Jesse Keating <jkeating@redhat.com> - 0.2.0-0.5.beta1
Jesse Keating 427308c
- Fix parsing of config files
Jesse Keating 427308c
e223310
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.0-0.4.beta1
e223310
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
e223310
d530c45
* Fri Jul 30 2010 Dennis Gilmore <dennis@ausil.us> - 0.2.0-0.3.beta1
d530c45
- Require /usr/bin/git
d530c45
0fe060e
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 0.2.0-0.2.beta1
0fe060e
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
0fe060e
59dca31
* Mon May 24 2010 Devan Goodwin <dgoodwin@rm-rf.ca> - 0.2.0-0.1-beta1
59dca31
- Updating for 0.2.0-beta1.
59dca31
be82dc5
* Fri Jan 08 2010 Terje Rosten <terje.rosten@ntnu.no> - 0.1.6-2
8f52b8e
- Add python-setuptools to buildreq
8f52b8e
- Explicit file list
8f52b8e
- Use version macro in source url
8f52b8e
8f52b8e
* Wed Jan 06 2010 Jesse Keating <jkeating@redhat.com> - 0.1.6-1
8f52b8e
- Initial Fedora package
8f52b8e