From f78acf4532a706591c2359dd313b056428d30fee Mon Sep 17 00:00:00 2001 From: rdobuilder Date: Jan 17 2025 16:50:07 +0000 Subject: Update to 1.1.2 Related-to: https://review.rdoproject.org/r/q/Idd168f1075539cd1202fe1c3468d3c9a089b52ef --- diff --git a/.python-mbstrdecoder.metadata b/.python-mbstrdecoder.metadata new file mode 100644 index 0000000..04e681c --- /dev/null +++ b/.python-mbstrdecoder.metadata @@ -0,0 +1 @@ +7db9a0c2bd95f57d960f2b916255c81c44e9dce7 SOURCES/mbstrdecoder-1.1.2.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-mbstrdecoder.spec b/SPECS/python-mbstrdecoder.spec new file mode 100644 index 0000000..d932f35 --- /dev/null +++ b/SPECS/python-mbstrdecoder.spec @@ -0,0 +1,80 @@ +%global pypi_name mbstrdecoder + +Name: python-%{pypi_name} +Version: 1.1.2 +Release: 7%{?dist} +Summary: multi-byte character string decoder + +License: MIT +URL: https://github.com/thombashi/mbstrdecoder +Source0: https://files.pythonhosted.org/packages/source/m/%{pypi_name}/%{pypi_name}-%{version}.tar.gz +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: pyproject-rpm-macros +BuildRequires: python3-pytest + +%description +multi-byte character string decoder + +%package -n python3-%{pypi_name} +Summary: %{summary} + +Requires: python3-chardet + +%description -n python3-%{pypi_name} + +%prep +%autosetup -p1 -n %{pypi_name}-%{version} +sed -i 's/chardet>=3.0.4,<.*/chardet>=3.0.4/g' requirements/requirements.txt + +%generate_buildrequires +%pyproject_buildrequires + +%build +%pyproject_wheel + +%install +%pyproject_install +%pyproject_save_files %{pypi_name} + +%check +%pytest -v + +%files -n python3-%{pypi_name} -f %{pyproject_files} +%license LICENSE +%doc README.rst + +%changelog +* Fri Jul 19 2024 Fedora Release Engineering - 1.1.2-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Fri Jun 07 2024 Python Maint - 1.1.2-6 +- Rebuilt for Python 3.13 + +* Fri Jan 26 2024 Fedora Release Engineering - 1.1.2-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Mon Jan 22 2024 Fedora Release Engineering - 1.1.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Jul 21 2023 Fedora Release Engineering - 1.1.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Tue Jun 13 2023 Python Maint - 1.1.2-2 +- Rebuilt for Python 3.12 + +* Tue Feb 07 2023 Karolina Kula - 1.1.2-1 +- Update to 1.1.2 + +* Fri Jan 20 2023 Fedora Release Engineering - 1.1.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Thu Aug 04 2022 Karolina Kula - 1.1.0-2 +- Remove chardet <5 requirement +- Remove %python_provide depracated macros +- Add pytest as BR + +* Thu May 19 2022 Karolina Kula - 1.1.0-1 +- initial package build +