Compare commits

..

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

3 changed files with 32 additions and 57 deletions

2
.gitignore vendored
View File

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

View File

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

View File

@ -1,27 +1,37 @@
%bcond_without tests
%global pypi_name wcwidth %global pypi_name wcwidth
Name: python-%{pypi_name} Name: python-%{pypi_name}
Version: 0.2.5 Version: 0.1.7
Release: 8%{?dist} Release: 16%{?dist}
Summary: Measures number of Terminal column cells of wide-character codes Summary: Measures number of Terminal column cells of wide-character codes
License: MIT License: MIT
URL: https://github.com/jquast/wcwidth URL: https://github.com/jquast/wcwidth
Source0: %pypi_source Source0: %pypi_source
BuildArch: noarch 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 %description
This API is mainly for Terminal Emulator implementors, or those writing programs 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 that expect to interpreted by a terminal emulator and wish to determine the
printable width of a string on a Terminal. printable width of a string on a Terminal.
%package -n python3-%{pypi_name} %package -n python%{python3_pkgversion}-%{pypi_name}
Summary: %{summary} Summary: %{summary}
BuildRequires: python3-devel BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: python3-setuptools BuildRequires: python%{python3_pkgversion}-setuptools
%{?python_provide:%python_provide python3-%{pypi_name}} BuildRequires: python%{python3_pkgversion}-rpm-macros
%if %{with tests}
BuildRequires: python%{python3_pkgversion}-pytest
%endif
%{?python_provide:%python_provide python%{python3_pkgversion}-%{pypi_name}}
%description -n python3-%{pypi_name} %description -n python%{python3_pkgversion}-%{pypi_name}
This API is mainly for Terminal Emulator implementors, or those writing programs 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 that expect to interpreted by a terminal emulator and wish to determine the
printable width of a string on a Terminal. printable width of a string on a Terminal.
@ -35,62 +45,27 @@ printable width of a string on a Terminal.
%install %install
%py3_install %py3_install
%files -n python3-%{pypi_name} %if %{with tests}
%check
%{__python3} -m pytest -v
%endif # with tests
%files -n python%{python3_pkgversion}-%{pypi_name}
%doc README.rst %doc README.rst
%license LICENSE %license LICENSE.txt
%{python3_sitelib}/%{pypi_name} %{python3_sitelib}/%{pypi_name}
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info %{python3_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info
%changelog %changelog
* Fri Jun 03 2022 Bryan Gurney <bgurney@redhat.com> - 0.2.5-8 * Fri Dec 13 2019 Tomas Orsava <torsava@redhat.com> - 0.1.7-16
- Rebuild after move into AppStream - Exclude unsupported i686 arch
- Related: rhbz#2066456
* Tue Feb 08 2022 Tomáš Hrnčiar <thrnciar@redhat.com> - 0.2.5-7 * Tue Nov 19 2019 Lumír Balhar <lbalhar@redhat.com> - 0.1.7-15
- Add automatically generated Obsoletes tag with the python39- prefix - Adjusted for Python 3.8 module in RHEL 8
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 * Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.1.7-14
- Rebuilt for Python 3.8.0rc1 (#1748018) - Rebuilt for Python 3.8.0rc1 (#1748018)
- Resolves: rhbz#1772819
* Sun Aug 18 2019 Miro Hrončok <mhroncok@redhat.com> - 0.1.7-13 * Sun Aug 18 2019 Miro Hrončok <mhroncok@redhat.com> - 0.1.7-13
- Rebuilt for Python 3.8 - Rebuilt for Python 3.8