Update to 2.3
This commit is contained in:
		
							parent
							
								
									e00c4611e6
								
							
						
					
					
						commit
						1a2f6fd891
					
				| @ -1,59 +1,53 @@ | |||||||
| %global pypi_name jsonpointer | %global pypi_name jsonpointer | ||||||
| %global github_name python-json-pointer |  | ||||||
| 
 | 
 | ||||||
| Name:           python-%{pypi_name} | Name:           python-%{pypi_name} | ||||||
| Version:        2.0 | Version:        2.3 | ||||||
| Release:        8%{?dist} | Release:        1%{?dist} | ||||||
| Summary:        Resolve JSON Pointers in Python | Summary:        Resolve JSON Pointers in Python | ||||||
| 
 | 
 | ||||||
| License:        BSD | License:        BSD | ||||||
| URL:            https://github.com/stefankoegl/%{github_name} | URL:            https://github.com/stefankoegl/python-json-pointer | ||||||
| Source0:        https://pypi.io/packages/source/j/%{pypi_name}/%{pypi_name}-%{version}.tar.gz | Source0:        %{pypi_source} | ||||||
| 
 | 
 | ||||||
| BuildArch:      noarch | BuildArch:      noarch | ||||||
| 
 | 
 | ||||||
|  | %global _description %{expand: | ||||||
|  | Library to resolve JSON Pointers according to RFC 6901.} | ||||||
| 
 | 
 | ||||||
| %description | %description %{_description} | ||||||
| Library to resolve JSON Pointers according to RFC 6901. |  | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| %package -n python3-%{pypi_name} | %package -n python3-%{pypi_name} | ||||||
| Summary:        %{summary} | Summary:        %{summary} | ||||||
| BuildRequires:  python3-devel | BuildRequires:  python3-devel | ||||||
| BuildRequires:  python3-setuptools |  | ||||||
| %{?python_provide:%python_provide python3-%{pypi_name}} |  | ||||||
| 
 | 
 | ||||||
| %description -n python3-%{pypi_name} | %description -n python3-%{pypi_name} %{_description} | ||||||
| Library to resolve JSON Pointers according to RFC 6901. |  | ||||||
| 
 | 
 | ||||||
| %prep | %prep | ||||||
| %setup -q -n %{pypi_name}-%{version} | %autosetup -n %{pypi_name}-%{version} -p1 | ||||||
|  | 
 | ||||||
|  | %generate_buildrequires | ||||||
|  | %pyproject_buildrequires | ||||||
| 
 | 
 | ||||||
| %build | %build | ||||||
| %py3_build | %pyproject_wheel | ||||||
| 
 | 
 | ||||||
| %install | %install | ||||||
| 
 | %pyproject_install | ||||||
| %py3_install | %pyproject_save_files %{pypi_name} | ||||||
| mv %{buildroot}%{_bindir}/jsonpointer %{buildroot}%{_bindir}/jsonpointer-%{python3_version} |  | ||||||
| ln -s ./jsonpointer-%{python3_version} %{buildroot}%{_bindir}/jsonpointer-3 |  | ||||||
| ln -s ./jsonpointer-%{python3_version} %{buildroot}%{_bindir}/jsonpointer |  | ||||||
| 
 |  | ||||||
| 
 | 
 | ||||||
| %check | %check | ||||||
| %{__python3} tests.py | %python3 tests.py | ||||||
| 
 | 
 | ||||||
| 
 | %files -n python3-%{pypi_name} -f %{pyproject_files} | ||||||
| %files -n python3-%{pypi_name} |  | ||||||
| %doc README.md AUTHORS |  | ||||||
| %license LICENSE.txt | %license LICENSE.txt | ||||||
|  | %doc README.md AUTHORS | ||||||
| %{_bindir}/jsonpointer | %{_bindir}/jsonpointer | ||||||
| %{_bindir}/jsonpointer-3* |  | ||||||
| %{python3_sitelib}/__pycache__/* |  | ||||||
| %{python3_sitelib}/%{pypi_name}.py* |  | ||||||
| %{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info/ |  | ||||||
| 
 | 
 | ||||||
| %changelog | %changelog | ||||||
|  | * Sat Mar 11 2023 Igor Raits <igor@gooddata.com> - 2.3-1 | ||||||
|  | - Update to 2.3 | ||||||
|  | 
 | ||||||
| * Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.0-8 | * Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.0-8 | ||||||
| - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild | - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild | ||||||
| 
 | 
 | ||||||
|  | |||||||
							
								
								
									
										2
									
								
								sources
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								sources
									
									
									
									
									
								
							| @ -1 +1 @@ | |||||||
| SHA512 (jsonpointer-2.0.tar.gz) = e8e2b03c12c3fc5f65816fc71d1c07135ef74a0c912286f5b8bef2d9e21b8ae6e766d1aa2104b3eeb0e53928034321f25b203386ac3f5641b54b0641f6a08137 | SHA512 (jsonpointer-2.3.tar.gz) = e04da474a5ec376d1cd2c764c2d7a11ac296450df199449994cb1dedf02a49df3ae3a4e75b2963370dba1da166464602b849a79609f7a98d8246dab0b342c819 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user