Compare commits

..

No commits in common. 'c9' and 'i10cs' have entirely different histories.
c9 ... i10cs

2
.gitignore vendored

@ -1 +1 @@
SOURCES/jsonpointer-2.0.tar.gz SOURCES/jsonpointer-2.3.tar.gz

@ -1 +1 @@
f0733349a44b0c777ef9b8e0256d628e2530624b SOURCES/jsonpointer-2.0.tar.gz 70868f03024d20716a3235e5e534a8a7e3f39838 SOURCES/jsonpointer-2.3.tar.gz

@ -1,65 +1,98 @@
%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: 4%{?dist} Release: 9%{?dist}
Summary: Resolve JSON Pointers in Python Summary: Resolve JSON Pointers in Python
License: BSD License: BSD-3-Clause
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
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 2.0-4 * Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 2.3-9
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags - Bump release for October 2024 mass rebuild:
Related: rhbz#1991688 Resolves: RHEL-64018
* Fri Oct 25 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 2.3-8
- Rebuilt for MSVSphere 10
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 2.3-8
- Bump release for June 2024 mass rebuild
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.3-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.3-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.3-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Wed Jul 12 2023 Nathan Scott <nathans@redhat.com> - 2.3-4
- Use SPDX license string
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 2.3-3
- Rebuilt for Python 3.12
* Sat Mar 25 2023 Igor Raits <igor@gooddata.com> - 2.3-2
- Remove broken gating tests
* 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
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.0-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 2.0-6
- Rebuilt for Python 3.11
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 2.0-3 * Thu Jun 03 2021 Python Maint <python-maint@redhat.com> - 2.0-3
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 - Rebuilt for Python 3.10
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0-2 * Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild

Loading…
Cancel
Save