From b250fb9eac1bb7bb38f65eaac473fe80ff0d6ac1 Mon Sep 17 00:00:00 2001 From: ebasov Date: Fri, 10 Jan 2025 15:53:04 +0300 Subject: [PATCH] Rebuild For MSVSphere 10 --- .gitignore | 2 +- .python-texttable.metadata | 2 +- SPECS/python-texttable.spec | 81 ++++++++++++++++++++++++++++--------- 3 files changed, 64 insertions(+), 21 deletions(-) diff --git a/.gitignore b/.gitignore index 5814c7d..56392b5 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/texttable-1.6.4.tar.gz +SOURCES/texttable-1.6.7.tar.gz diff --git a/.python-texttable.metadata b/.python-texttable.metadata index a8e1c22..8a740d0 100644 --- a/.python-texttable.metadata +++ b/.python-texttable.metadata @@ -1 +1 @@ -f818f1ea121513b54a417ffa6fe8bb26821913d7 SOURCES/texttable-1.6.4.tar.gz +25e1b92e02c8e919dc0da053efbe8c4874418a8d SOURCES/texttable-1.6.7.tar.gz diff --git a/SPECS/python-texttable.spec b/SPECS/python-texttable.spec index d07ecde..e808fa2 100644 --- a/SPECS/python-texttable.spec +++ b/SPECS/python-texttable.spec @@ -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 - 1.6.4-1 -- Rebuilt for MSVSphere 9.4 +## START: Generated by rpmautospec +* Fri Jan 10 2025 Eduard Basov - 1.6.7-5 +- Rebuild for MSVSphere 10 + +* Fri Jul 19 2024 Fedora Release Engineering - 1.6.7-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Fri Jun 07 2024 Python Maint - 1.6.7-4 +- Rebuilt for Python 3.13 + +* Fri Jan 26 2024 Fedora Release Engineering - 1.6.7-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Mon Jan 22 2024 Fedora Release Engineering - 1.6.7-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Sep 29 2023 Carl George - 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 - 1.6.4-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Tue Jun 13 2023 Python Maint - 1.6.4-5 +- Rebuilt for Python 3.12 + +* Fri Jan 20 2023 Fedora Release Engineering - 1.6.4-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Fri Jul 22 2022 Fedora Release Engineering - 1.6.4-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Mon Jun 13 2022 Python Maint - 1.6.4-2 +- Rebuilt for Python 3.11 * Mon May 09 2022 Carl George - 1.6.4-1 - Latest upstream @@ -163,3 +204,5 @@ BuildRequires: python3-pytest * Wed Jul 23 2014 Adam Miller - 0.8.1-1 - Initial package for Fedora + +## END: Generated by rpmautospec