|
|
|
@ -1,31 +1,40 @@
|
|
|
|
|
%global srcname texttable
|
|
|
|
|
%global _description %{expand:
|
|
|
|
|
Python module to generate a formatted text table, using ASCII characters.}
|
|
|
|
|
|
|
|
|
|
Name: python-%{srcname}
|
|
|
|
|
Version: 1.6.4
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Python module for creating simple ASCII tables
|
|
|
|
|
## START: Set by rpmautospec
|
|
|
|
|
## (rpmautospec version 0.6.5)
|
|
|
|
|
## RPMAUTOSPEC: autorelease, autochangelog
|
|
|
|
|
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
|
|
|
|
|
release_number = 5;
|
|
|
|
|
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
|
|
|
|
|
print(release_number + base_release_number - 1);
|
|
|
|
|
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
|
|
|
|
|
## END: Set by rpmautospec
|
|
|
|
|
|
|
|
|
|
Name: python-texttable
|
|
|
|
|
Version: 1.6.7
|
|
|
|
|
Release: %autorelease
|
|
|
|
|
Summary: Python module to create simple ASCII tables
|
|
|
|
|
License: MIT
|
|
|
|
|
URL: https://github.com/foutaise/%{srcname}
|
|
|
|
|
Source: %{pypi_source}
|
|
|
|
|
URL: https://github.com/foutaise/texttable
|
|
|
|
|
Source: %{pypi_source texttable}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%global common_description %{expand:
|
|
|
|
|
Texttable is a module to generate a formatted text table, using ASCII characters.}
|
|
|
|
|
|
|
|
|
|
%description %{_description}
|
|
|
|
|
|
|
|
|
|
%description %{common_description}
|
|
|
|
|
|
|
|
|
|
%package -n python3-%{srcname}
|
|
|
|
|
|
|
|
|
|
%package -n python3-texttable
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
|
BuildRequires: python3-pytest
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description -n python3-%{srcname} %{_description}
|
|
|
|
|
%description -n python3-texttable %{common_description}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{srcname}-%{version}
|
|
|
|
|
%autosetup -n texttable-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
@ -38,20 +47,52 @@ BuildRequires: python3-pytest
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%pyproject_install
|
|
|
|
|
%pyproject_save_files %{srcname}
|
|
|
|
|
%pyproject_save_files texttable
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
%pytest tests.py
|
|
|
|
|
%pytest --verbose tests.py
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n python3-%{srcname} -f %{pyproject_files}
|
|
|
|
|
%files -n python3-texttable -f %{pyproject_files}
|
|
|
|
|
%doc README.md
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sun Jul 28 2024 Sergey Cherevko <s.cherevko@msvsphere-os.ru> - 1.6.4-1
|
|
|
|
|
- Rebuilt for MSVSphere 9.4
|
|
|
|
|
## START: Generated by rpmautospec
|
|
|
|
|
* Fri Jan 10 2025 Eduard Basov <eduard.basov@msvsphere-os.ru> - 1.6.7-5
|
|
|
|
|
- Rebuild for MSVSphere 10
|
|
|
|
|
|
|
|
|
|
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.7-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jun 07 2024 Python Maint <python-maint@redhat.com> - 1.6.7-4
|
|
|
|
|
- Rebuilt for Python 3.13
|
|
|
|
|
|
|
|
|
|
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.7-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.7-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Sep 29 2023 Carl George <carlwgeorge@fedoraproject.org> - 1.6.7-1
|
|
|
|
|
- Update to version 1.6.7, resolves rhbz#2144494
|
|
|
|
|
- Validated license field as SPDX
|
|
|
|
|
|
|
|
|
|
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.4-6
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 1.6.4-5
|
|
|
|
|
- Rebuilt for Python 3.12
|
|
|
|
|
|
|
|
|
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.4-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.4-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1.6.4-2
|
|
|
|
|
- Rebuilt for Python 3.11
|
|
|
|
|
|
|
|
|
|
* Mon May 09 2022 Carl George <carl@george.computer> - 1.6.4-1
|
|
|
|
|
- Latest upstream
|
|
|
|
@ -163,3 +204,5 @@ BuildRequires: python3-pytest
|
|
|
|
|
|
|
|
|
|
* Wed Jul 23 2014 Adam Miller <maxamillion@fedoraproject.org> - 0.8.1-1
|
|
|
|
|
- Initial package for Fedora
|
|
|
|
|
|
|
|
|
|
## END: Generated by rpmautospec
|
|
|
|
|