From 29a8136ddab10196d730ac11e6c771b5b45c4fd9 Mon Sep 17 00:00:00 2001 From: rdobuilder Date: Mar 08 2023 17:17:14 +0000 Subject: Update to 1.1.2 Related-to: https://review.rdoproject.org/r/q/I9955a5c02b9af377465dcef3e8be7752fc71c146 --- 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..d49f55c --- /dev/null +++ b/SPECS/python-mbstrdecoder.spec @@ -0,0 +1,62 @@ +%global pypi_name mbstrdecoder + +Name: python-%{pypi_name} +Version: 1.1.2 +Release: 1%{?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 +* 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 +