From a9cc86d6073fb6ec4d6bba63c696164fad9785bd Mon Sep 17 00:00:00 2001 From: rdobuilder Date: Jan 16 2025 15:24:34 +0000 Subject: Update to 1.4 Related-to: https://review.rdoproject.org/r/q/Ica00f26fc3059d312dabf3abfb0dcf3efd087841 --- diff --git a/.python-mujson.metadata b/.python-mujson.metadata new file mode 100644 index 0000000..04b1a56 --- /dev/null +++ b/.python-mujson.metadata @@ -0,0 +1 @@ +92da6ae82ee978a2f50706995d68db0ce3635e93 SOURCES/mujson-1.4.tar.gz diff --git a/SOURCES/.gitignore b/SOURCES/.gitignore new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/SOURCES/.gitignore diff --git a/SPECS/python-mujson.spec b/SPECS/python-mujson.spec new file mode 100644 index 0000000..bcbefea --- /dev/null +++ b/SPECS/python-mujson.spec @@ -0,0 +1,97 @@ +%global common_description %{expand: +mujson lets python libraries make use of the most performant JSON functions +available at import time. It is small, and does not itself implement any +encoding or decoding functionality.} + +Name: python-mujson +Version: 1.4 +Release: 14%{?dist} +Summary: Use the fastest JSON functions available at import time +License: MIT +URL: https://github.com/mattgiles/mujson +# PyPI tarball is missing license +# https://github.com/mattgiles/mujson/issues/8 +Source: %{url}/archive/%{version}/mujson-%{version}.tar.gz +BuildArch: noarch + + +%description %{common_description} + + +%package -n python3-mujson +Summary: %{summary} +BuildRequires: python3-devel +BuildRequires: pyproject-rpm-macros + + +%description -n python3-mujson %{common_description} + + +%prep +%autosetup -n mujson-%{version} + + +%generate_buildrequires +%pyproject_buildrequires + + +%build +%pyproject_wheel + + +%install +%pyproject_install +%pyproject_save_files mujson + + +%check +%pyproject_check_import + + +%files -n python3-mujson -f %{pyproject_files} +%doc README.md + + +%changelog +* Fri Jul 19 2024 Fedora Release Engineering - 1.4-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Fri Jun 07 2024 Python Maint - 1.4-13 +- Rebuilt for Python 3.13 + +* Fri Jan 26 2024 Fedora Release Engineering - 1.4-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Mon Jan 22 2024 Fedora Release Engineering - 1.4-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Wed Aug 30 2023 Carl George - 1.4-10 +- Convert to pyproject macros +- Validated license as SPDX identifier + +* Fri Jul 21 2023 Fedora Release Engineering - 1.4-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Tue Jun 13 2023 Python Maint - 1.4-8 +- Rebuilt for Python 3.12 + +* Fri Jan 20 2023 Fedora Release Engineering - 1.4-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Fri Jul 22 2022 Fedora Release Engineering - 1.4-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Mon Jun 13 2022 Python Maint - 1.4-5 +- Rebuilt for Python 3.11 + +* Fri Jan 21 2022 Fedora Release Engineering - 1.4-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jul 23 2021 Fedora Release Engineering - 1.4-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Fri Jun 04 2021 Python Maint - 1.4-2 +- Rebuilt for Python 3.10 + +* Tue Apr 13 2021 Carl George - 1.4-1 +- Initial package rhbz#1948882