Compare commits

...

No commits in common. "c8-stream-3.8" and "c9-beta" have entirely different histories.

3 changed files with 57 additions and 32 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/wcwidth-0.1.7.tar.gz
SOURCES/wcwidth-0.2.5.tar.gz

View File

@ -1 +1 @@
28df2f5e8cd67ec182d822350252fea9bc3a91c8 SOURCES/wcwidth-0.1.7.tar.gz
3822ed26dc70a4055827bc66cdc21126e51efd66 SOURCES/wcwidth-0.2.5.tar.gz

View File

@ -1,37 +1,27 @@
%bcond_without tests
%global pypi_name wcwidth
Name: python-%{pypi_name}
Version: 0.1.7
Release: 16%{?dist}
Version: 0.2.5
Release: 8%{?dist}
Summary: Measures number of Terminal column cells of wide-character codes
License: MIT
URL: https://github.com/jquast/wcwidth
Source0: %pypi_source
BuildArch: noarch
# Exclude i686 arch. Due to a modularity issue it's being added to the
# x86_64 compose of CRB, but we don't want to ship it at all.
# See: https://projects.engineering.redhat.com/browse/RCM-72605
ExcludeArch: i686
%description
This API is mainly for Terminal Emulator implementors, or those writing programs
that expect to interpreted by a terminal emulator and wish to determine the
printable width of a string on a Terminal.
%package -n python%{python3_pkgversion}-%{pypi_name}
%package -n python3-%{pypi_name}
Summary: %{summary}
BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: python%{python3_pkgversion}-setuptools
BuildRequires: python%{python3_pkgversion}-rpm-macros
%if %{with tests}
BuildRequires: python%{python3_pkgversion}-pytest
%endif
%{?python_provide:%python_provide python%{python3_pkgversion}-%{pypi_name}}
BuildRequires: python3-devel
BuildRequires: python3-setuptools
%{?python_provide:%python_provide python3-%{pypi_name}}
%description -n python%{python3_pkgversion}-%{pypi_name}
%description -n python3-%{pypi_name}
This API is mainly for Terminal Emulator implementors, or those writing programs
that expect to interpreted by a terminal emulator and wish to determine the
printable width of a string on a Terminal.
@ -45,27 +35,62 @@ printable width of a string on a Terminal.
%install
%py3_install
%if %{with tests}
%check
%{__python3} -m pytest -v
%endif # with tests
%files -n python%{python3_pkgversion}-%{pypi_name}
%files -n python3-%{pypi_name}
%doc README.rst
%license LICENSE.txt
%license LICENSE
%{python3_sitelib}/%{pypi_name}
%{python3_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info
%changelog
* Fri Dec 13 2019 Tomas Orsava <torsava@redhat.com> - 0.1.7-16
- Exclude unsupported i686 arch
* Fri Jun 03 2022 Bryan Gurney <bgurney@redhat.com> - 0.2.5-8
- Rebuild after move into AppStream
- Related: rhbz#2066456
* Tue Nov 19 2019 Lumír Balhar <lbalhar@redhat.com> - 0.1.7-15
- Adjusted for Python 3.8 module in RHEL 8
* Tue Feb 08 2022 Tomáš Hrnčiar <thrnciar@redhat.com> - 0.2.5-7
- Add automatically generated Obsoletes tag with the python39- prefix
for smoother upgrade from RHEL8
- Related: rhbz#1990421
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 0.2.5-6
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Mon Aug 01 2021 Bryan Gurney <bgurney@redhat.com> - 0.2.5-5
- Remove check test
- Resolves: rhbz#1988144
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.2.5-4
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.5-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Wed Jul 01 2020 Charalampos Stratakis <cstratak@redhat.com> - 0.2.5-1
- Update to 0.2.5 (#1850238)
* Fri Jun 19 2020 Avram Lubkin <aviso@rockhopper.net> - 0.2.4-1
- Update to 0.2.4
* Tue Jun 02 2020 Avram Lubkin <aviso@rockhopper.net> - 0.2.3-1
- Update to 0.2.3
* Sun May 24 2020 Miro Hrončok <mhroncok@redhat.com> - 0.1.9-3
- Rebuilt for Python 3.9
* Fri May 22 2020 Miro Hrončok <mhroncok@redhat.com> - 0.1.9-2
- Bootstrap for Python 3.9
* Sat Mar 28 2020 Avram Lubkin <aviso@rockhopper.net> - 0.1.9-1
- Update to 0.1.9
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.7-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.1.7-14
- Rebuilt for Python 3.8.0rc1 (#1748018)
- Resolves: rhbz#1772819
* Sun Aug 18 2019 Miro Hrončok <mhroncok@redhat.com> - 0.1.7-13
- Rebuilt for Python 3.8