2013-09-12 18:38:31 +00:00
|
|
|
%global pypi_name jsonpointer
|
|
|
|
%global github_name python-json-pointer
|
|
|
|
|
|
|
|
Name: python-%{pypi_name}
|
2020-09-30 18:19:54 +00:00
|
|
|
Version: 2.0
|
2023-01-20 14:12:09 +00:00
|
|
|
Release: 8%{?dist}
|
2013-09-12 18:38:31 +00:00
|
|
|
Summary: Resolve JSON Pointers in Python
|
|
|
|
|
|
|
|
License: BSD
|
|
|
|
URL: https://github.com/stefankoegl/%{github_name}
|
2016-09-05 17:07:18 +00:00
|
|
|
Source0: https://pypi.io/packages/source/j/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
|
2013-09-12 18:38:31 +00:00
|
|
|
|
|
|
|
BuildArch: noarch
|
2016-09-05 17:07:18 +00:00
|
|
|
|
2013-09-12 18:38:31 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
Library to resolve JSON Pointers according to RFC 6901.
|
|
|
|
|
2016-09-05 17:07:18 +00:00
|
|
|
|
2014-02-05 10:54:11 +00:00
|
|
|
%package -n python3-%{pypi_name}
|
2019-09-23 10:07:29 +00:00
|
|
|
Summary: %{summary}
|
2016-09-05 17:07:18 +00:00
|
|
|
BuildRequires: python3-devel
|
|
|
|
BuildRequires: python3-setuptools
|
|
|
|
%{?python_provide:%python_provide python3-%{pypi_name}}
|
|
|
|
|
2014-02-05 10:54:11 +00:00
|
|
|
%description -n python3-%{pypi_name}
|
|
|
|
Library to resolve JSON Pointers according to RFC 6901.
|
|
|
|
|
2013-09-12 18:38:31 +00:00
|
|
|
%prep
|
2015-08-06 16:31:17 +00:00
|
|
|
%setup -q -n %{pypi_name}-%{version}
|
2013-09-12 18:38:31 +00:00
|
|
|
|
|
|
|
%build
|
2019-09-23 10:07:29 +00:00
|
|
|
%py3_build
|
2013-09-12 18:38:31 +00:00
|
|
|
|
|
|
|
%install
|
2019-09-23 10:07:29 +00:00
|
|
|
|
|
|
|
%py3_install
|
2016-09-05 17:07:18 +00:00
|
|
|
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
|
|
|
|
|
2013-09-12 18:38:31 +00:00
|
|
|
|
|
|
|
%check
|
2014-02-05 10:54:11 +00:00
|
|
|
%{__python3} tests.py
|
2013-09-12 18:38:31 +00:00
|
|
|
|
|
|
|
|
2014-02-05 10:54:11 +00:00
|
|
|
%files -n python3-%{pypi_name}
|
2014-07-31 15:17:56 +00:00
|
|
|
%doc README.md AUTHORS
|
2020-09-30 18:19:54 +00:00
|
|
|
%license LICENSE.txt
|
2015-11-15 00:16:18 +00:00
|
|
|
%{_bindir}/jsonpointer
|
2016-09-05 17:07:18 +00:00
|
|
|
%{_bindir}/jsonpointer-3*
|
2014-02-05 10:54:11 +00:00
|
|
|
%{python3_sitelib}/__pycache__/*
|
|
|
|
%{python3_sitelib}/%{pypi_name}.py*
|
2019-09-23 10:07:29 +00:00
|
|
|
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info/
|
2014-02-05 10:54:11 +00:00
|
|
|
|
2013-09-12 18:38:31 +00:00
|
|
|
%changelog
|
2023-01-20 14:12:09 +00:00
|
|
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.0-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
2022-07-22 19:32:56 +00:00
|
|
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.0-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
2022-06-13 13:07:25 +00:00
|
|
|
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 2.0-6
|
|
|
|
- Rebuilt for Python 3.11
|
|
|
|
|
2022-01-21 13:01:02 +00:00
|
|
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.0-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
2021-07-23 07:05:05 +00:00
|
|
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2021-06-03 02:12:35 +00:00
|
|
|
* Thu Jun 03 2021 Python Maint <python-maint@redhat.com> - 2.0-3
|
|
|
|
- Rebuilt for Python 3.10
|
|
|
|
|
2021-01-27 11:20:36 +00:00
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2020-09-30 18:19:54 +00:00
|
|
|
* Wed Sep 30 2020 Andreas Gerstmayr <agerstmayr@redhat.com> - 2.0-1
|
|
|
|
- update to upstream version 2.0
|
|
|
|
|
2020-07-29 01:45:41 +00:00
|
|
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.10-21
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-05-23 00:55:18 +00:00
|
|
|
* Sat May 23 2020 Miro Hrončok <mhroncok@redhat.com> - 1.10-20
|
|
|
|
- Rebuilt for Python 3.9
|
|
|
|
|
2020-01-30 12:57:14 +00:00
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.10-19
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2019-09-23 10:07:29 +00:00
|
|
|
* Mon Sep 23 2019 Miro Hrončok <mhroncok@redhat.com> - 1.10-18
|
|
|
|
- Subpackage python2-jsonpointer has been removed
|
|
|
|
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
|
|
|
|
2019-08-15 22:33:03 +00:00
|
|
|
* Thu Aug 15 2019 Miro Hrončok <mhroncok@redhat.com> - 1.10-17
|
|
|
|
- Rebuilt for Python 3.8
|
|
|
|
|
2019-07-26 14:11:30 +00:00
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.10-16
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-02-02 07:26:05 +00:00
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.10-15
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-11-18 20:54:57 +00:00
|
|
|
* Sun Nov 18 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.10-14
|
|
|
|
- Use C.UTF-8 locale
|
|
|
|
See https://fedoraproject.org/wiki/Changes/Remove_glibc-langpacks-all_from_buildroot
|
|
|
|
|
2018-07-14 00:42:40 +00:00
|
|
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.10-13
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-06-15 17:19:06 +00:00
|
|
|
* Fri Jun 15 2018 Miro Hrončok <mhroncok@redhat.com> - 1.10-12
|
|
|
|
- Rebuilt for Python 3.7
|
|
|
|
|
2018-04-03 15:30:15 +00:00
|
|
|
* Tue Apr 03 2018 Charalampos Stratakis <cstratak@redhat.com> - 1.10-11
|
|
|
|
- Conditionalize the Python 2 subpackage and don't build it on EL > 7
|
|
|
|
|
2018-02-12 02:26:03 +00:00
|
|
|
* Mon Feb 12 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.10-10
|
|
|
|
- Update Python 2 dependency declarations to new packaging standards
|
|
|
|
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
|
|
|
2018-02-09 08:32:04 +00:00
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.10-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-09-29 15:43:46 +00:00
|
|
|
* Fri Sep 29 2017 Troy Dawson <tdawson@redhat.com> - 1.10-8
|
|
|
|
- Cleanup spec file conditionals
|
|
|
|
|
2017-07-27 10:41:55 +00:00
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.10-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-02-11 09:22:36 +00:00
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.10-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-12-11 16:45:10 +00:00
|
|
|
* Fri Dec 09 2016 Charalampos Stratakis <cstratak@redhat.com> - 1.10-5
|
|
|
|
- Rebuild for Python 3.6
|
|
|
|
|
2016-09-05 17:07:18 +00:00
|
|
|
* Mon Sep 5 2016 Haïkel Guémar <hguemar@fedoraproject.org> - 1.10-4
|
|
|
|
- Update to latest python guidelines
|
|
|
|
|
2016-07-19 10:10:40 +00:00
|
|
|
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10-3
|
|
|
|
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
|
|
2016-02-04 19:58:50 +00:00
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.10-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-12-18 23:50:23 +00:00
|
|
|
* Sat Dec 19 2015 Alan Pevec <alan.pevec@redhat.com> 1.10-1
|
|
|
|
- Update to 1.10
|
|
|
|
|
|
|
|
* Sat Nov 14 2015 Tonet Jallo <tonet666p@gmail.com> - 1.9-4
|
2015-11-15 00:16:18 +00:00
|
|
|
- Moved a line from files section to python3 files section
|
|
|
|
|
2015-11-10 16:12:30 +00:00
|
|
|
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
|
|
|
|
|
2015-08-07 08:42:01 +00:00
|
|
|
* Fri Aug 07 2015 Alan Pevec <apevec@gmail.com> - 1.9-2
|
|
|
|
- Update to 1.9
|
|
|
|
|
2015-06-18 19:43:10 +00:00
|
|
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2014-07-31 15:17:56 +00:00
|
|
|
* Thu Jul 31 2014 Tom Callaway <spot@fedoraproject.org> - 1.0-6
|
|
|
|
- fix license handling
|
|
|
|
|
2014-06-07 21:00:25 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-05-27 22:20:16 +00:00
|
|
|
* Wed May 28 2014 Kalev Lember <kalevlember@gmail.com> - 1.0-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
|
|
|
|
|
2014-02-05 10:54:11 +00:00
|
|
|
* Wed Feb 5 2014 Thomas Spura <tomspur@fedoraproject.org> - 1.0-3
|
|
|
|
- add python3 subpackage (#1061622)
|
|
|
|
|
2013-09-12 18:38:31 +00:00
|
|
|
* Thu Sep 05 2013 Alan Pevec <apevec@gmail.com> - 1.0-2
|
|
|
|
- add AUTHORS to docs
|
|
|
|
|
|
|
|
* Mon Jul 01 2013 Alan Pevec <apevec@gmail.com> - 1.0-1
|
|
|
|
- Initial package.
|