Cherry-pick patch for 0.23.0 support
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
This commit is contained in:
		
							parent
							
								
									909a086d5f
								
							
						
					
					
						commit
						682256b811
					
				
							
								
								
									
										1097
									
								
								0001-Update-to-libgit2-v0.23.patch
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1097
									
								
								0001-Update-to-libgit2-v0.23.patch
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							| @ -1,11 +1,12 @@ | |||||||
| %global pkgname pygit2 | %global pkgname pygit2 | ||||||
|  | %global realver 0.22.1 | ||||||
| 
 | 
 | ||||||
| Name:           python-%{pkgname} | Name:           python-%{pkgname} | ||||||
| Version:        0.22.1 | Version:        0.23.0 | ||||||
| Release:        2%{?dist} | Release:        0.1%{?dist} | ||||||
| Summary:        Python 2.x bindings for libgit2 | Summary:        Python 2.x bindings for libgit2 | ||||||
| URL:            http://www.pygit2.org | URL:            http://www.pygit2.org | ||||||
| Source:         http://pypi.python.org/packages/source/p/%{pkgname}/%{pkgname}-%{version}.tar.gz | Source:         http://pypi.python.org/packages/source/p/%{pkgname}/%{pkgname}-%{realver}.tar.gz | ||||||
| License:        GPLv2 with linking exception | License:        GPLv2 with linking exception | ||||||
| BuildRequires:  libgit2-devel | BuildRequires:  libgit2-devel | ||||||
| BuildRequires:  openssl-devel | BuildRequires:  openssl-devel | ||||||
| @ -18,6 +19,9 @@ Requires:       python-cffi | |||||||
| 
 | 
 | ||||||
| Patch1:         0001-Remove-remote-calling-unit-tests.patch | Patch1:         0001-Remove-remote-calling-unit-tests.patch | ||||||
| 
 | 
 | ||||||
|  | # https://github.com/libgit2/pygit2/commit/81520c9c626e092bc45f9fc8ba138eefa4d1beb2 | ||||||
|  | Patch2:         0001-Update-to-libgit2-v0.23.patch | ||||||
|  | 
 | ||||||
| %description | %description | ||||||
| pygit2 is a set of Python bindings to the libgit2 library, which implements  | pygit2 is a set of Python bindings to the libgit2 library, which implements  | ||||||
| the core of Git. Pygit2 works with Python 2.7, 3.1, 3.2, 3.3, 3.4 and pypy. | the core of Git. Pygit2 works with Python 2.7, 3.1, 3.2, 3.3, 3.4 and pypy. | ||||||
| @ -48,7 +52,9 @@ Documentation for %{name}. | |||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| %prep | %prep | ||||||
| %setup -qn %{pkgname}-%{version} | %setup -qn %{pkgname}-%{realver} | ||||||
|  | 
 | ||||||
|  | %patch2 -p1 | ||||||
| 
 | 
 | ||||||
| %patch1 -p1 | %patch1 -p1 | ||||||
| 
 | 
 | ||||||
| @ -85,7 +91,7 @@ popd | |||||||
| %files | %files | ||||||
| %doc README.rst TODO.txt | %doc README.rst TODO.txt | ||||||
| %license COPYING | %license COPYING | ||||||
| %{python2_sitearch}/%{pkgname}-%{version}-py%{python2_version}.egg-info | %{python2_sitearch}/%{pkgname}-%{realver}-py%{python2_version}.egg-info | ||||||
| %{python2_sitearch}/%{pkgname} | %{python2_sitearch}/%{pkgname} | ||||||
| %{python2_sitearch}/_%{pkgname}.so | %{python2_sitearch}/_%{pkgname}.so | ||||||
| %{python2_sitearch}/%{pkgname}_cffi_*.so | %{python2_sitearch}/%{pkgname}_cffi_*.so | ||||||
| @ -93,7 +99,7 @@ popd | |||||||
| %files -n python3-%{pkgname} | %files -n python3-%{pkgname} | ||||||
| %doc README.rst TODO.txt | %doc README.rst TODO.txt | ||||||
| %license COPYING | %license COPYING | ||||||
| %{python3_sitearch}/%{pkgname}-%{version}-py%{python3_version}.egg-info | %{python3_sitearch}/%{pkgname}-%{realver}-py%{python3_version}.egg-info | ||||||
| %{python3_sitearch}/%{pkgname} | %{python3_sitearch}/%{pkgname} | ||||||
| %{python3_sitearch}/_%{pkgname}.*.so | %{python3_sitearch}/_%{pkgname}.*.so | ||||||
| %{python3_sitearch}/%{pkgname}_cffi_*.so | %{python3_sitearch}/%{pkgname}_cffi_*.so | ||||||
| @ -103,6 +109,9 @@ popd | |||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| %changelog | %changelog | ||||||
|  | * Fri Jul 31 2015 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.23.0-0.1 | ||||||
|  | - Cherry-pick patch for 0.23.0 support | ||||||
|  | 
 | ||||||
| * Fri Jul 31 2015 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.22.1-2 | * Fri Jul 31 2015 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.22.1-2 | ||||||
| - Rebuilt for libgit2-0.23.0 and libgit2-glib-0.23 | - Rebuilt for libgit2-0.23.0 and libgit2-glib-0.23 | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user