Blame SPECS/python-mujson.spec

rdobuilder a9cc86
%global common_description %{expand:
rdobuilder a9cc86
mujson lets python libraries make use of the most performant JSON functions
rdobuilder a9cc86
available at import time.  It is small, and does not itself implement any
rdobuilder a9cc86
encoding or decoding functionality.}
rdobuilder a9cc86
rdobuilder a9cc86
Name:           python-mujson
rdobuilder a9cc86
Version:        1.4
rdobuilder a9cc86
Release:        14%{?dist}
rdobuilder a9cc86
Summary:        Use the fastest JSON functions available at import time
rdobuilder a9cc86
License:        MIT
rdobuilder a9cc86
URL:            https://github.com/mattgiles/mujson
rdobuilder a9cc86
# PyPI tarball is missing license
rdobuilder a9cc86
# https://github.com/mattgiles/mujson/issues/8
rdobuilder a9cc86
Source:         %{url}/archive/%{version}/mujson-%{version}.tar.gz
rdobuilder a9cc86
BuildArch:      noarch
rdobuilder a9cc86
rdobuilder a9cc86
rdobuilder a9cc86
%description %{common_description}
rdobuilder a9cc86
rdobuilder a9cc86
rdobuilder a9cc86
%package -n python3-mujson
rdobuilder a9cc86
Summary:        %{summary}
rdobuilder a9cc86
BuildRequires:  python3-devel
rdobuilder a9cc86
BuildRequires:  pyproject-rpm-macros
rdobuilder a9cc86
rdobuilder a9cc86
rdobuilder a9cc86
%description -n python3-mujson %{common_description}
rdobuilder a9cc86
rdobuilder a9cc86
rdobuilder a9cc86
%prep
rdobuilder a9cc86
%autosetup -n mujson-%{version}
rdobuilder a9cc86
rdobuilder a9cc86
rdobuilder a9cc86
%generate_buildrequires
rdobuilder a9cc86
%pyproject_buildrequires
rdobuilder a9cc86
rdobuilder a9cc86
rdobuilder a9cc86
%build
rdobuilder a9cc86
%pyproject_wheel
rdobuilder a9cc86
rdobuilder a9cc86
rdobuilder a9cc86
%install
rdobuilder a9cc86
%pyproject_install
rdobuilder a9cc86
%pyproject_save_files mujson
rdobuilder a9cc86
rdobuilder a9cc86
rdobuilder a9cc86
%check
rdobuilder a9cc86
%pyproject_check_import
rdobuilder a9cc86
rdobuilder a9cc86
rdobuilder a9cc86
%files -n python3-mujson -f %{pyproject_files}
rdobuilder a9cc86
%doc README.md
rdobuilder a9cc86
rdobuilder a9cc86
rdobuilder a9cc86
%changelog
rdobuilder a9cc86
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-14
rdobuilder a9cc86
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
rdobuilder a9cc86
rdobuilder a9cc86
* Fri Jun 07 2024 Python Maint <python-maint@redhat.com> - 1.4-13
rdobuilder a9cc86
- Rebuilt for Python 3.13
rdobuilder a9cc86
rdobuilder a9cc86
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-12
rdobuilder a9cc86
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
rdobuilder a9cc86
rdobuilder a9cc86
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-11
rdobuilder a9cc86
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
rdobuilder a9cc86
rdobuilder a9cc86
* Wed Aug 30 2023 Carl George <carlwgeorge@fedoraproject.org> - 1.4-10
rdobuilder a9cc86
- Convert to pyproject macros
rdobuilder a9cc86
- Validated license as SPDX identifier
rdobuilder a9cc86
rdobuilder a9cc86
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-9
rdobuilder a9cc86
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
rdobuilder a9cc86
rdobuilder a9cc86
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 1.4-8
rdobuilder a9cc86
- Rebuilt for Python 3.12
rdobuilder a9cc86
rdobuilder a9cc86
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-7
rdobuilder a9cc86
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
rdobuilder a9cc86
rdobuilder a9cc86
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-6
rdobuilder a9cc86
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
rdobuilder a9cc86
rdobuilder a9cc86
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1.4-5
rdobuilder a9cc86
- Rebuilt for Python 3.11
rdobuilder a9cc86
rdobuilder a9cc86
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-4
rdobuilder a9cc86
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
rdobuilder a9cc86
rdobuilder a9cc86
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-3
rdobuilder a9cc86
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
rdobuilder a9cc86
rdobuilder a9cc86
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.4-2
rdobuilder a9cc86
- Rebuilt for Python 3.10
rdobuilder a9cc86
rdobuilder a9cc86
* Tue Apr 13 2021 Carl George <carl@george.computer> - 1.4-1
rdobuilder a9cc86
- Initial package rhbz#1948882