update to v2025.4.15

This commit is contained in:
David Kaufmann 2025-05-21 00:00:27 +02:00
commit c7224efcec
3 changed files with 16 additions and 11 deletions

View file

@ -6,13 +6,12 @@ also happens to be valid Markdown (a text-to-HTML format).
Name: python-%{upname}
Version: 2024.2.26
Release: 5%{?dist}
Version: 2025.4.15
Release: 1%{?dist}
Summary: %{common_sum}
# Automatically converted from old format: GPLv3 - review is highly recommended.
License: GPL-3.0-only
URL: http://alir3z4.github.io/%{upname}
URL: https://github.com/Alir3z4/%{upname}/
Source0: https://files.pythonhosted.org/packages/source/h/%{upname}/%{upname}-%{version}.tar.gz
BuildArch: noarch
@ -38,17 +37,22 @@ Obsoletes: python2-%{upname} <= %{version}-%{release}
%prep
%autosetup -n %{upname}-%{version}
%{__rm} -fr *.egg-info
#%{__rm} -fr *.egg-info
%generate_buildrequires
%pyproject_buildrequires
%build
%py3_build
%pyproject_wheel
%install
%pyproject_install
%pyproject_save_files html2text
%{__mkdir} -p %{buildroot}%{_mandir}/man1
%py3_install
%{__mv} -f %{buildroot}%{_bindir}/%{upname} %{buildroot}%{_bindir}/python3-%{upname}
export PYTHONPATH="%{buildroot}%{python3_sitelib}"
help2man --no-discard-stderr -s 1 -N -o %{buildroot}%{_mandir}/man1/python3-%{upname}.1 %{buildroot}%{_bindir}/python3-%{upname}
@ -63,10 +67,12 @@ popd
%check
%pyproject_check_import
%{__python3} -m pytest
%pytest %{_builddir}
%files -n python3-%{upname}
%files -n python3-%{upname} -f %{pyproject_files}
%license AUTHORS.* COPYING
%doc README.* ChangeLog.* PKG-INFO
%{_bindir}/python3-%{upname}
@ -75,8 +81,6 @@ popd
%{_mandir}/man1/python3-%{upname}.1*
%{_mandir}/man1/%{upname}.1*
%{_mandir}/man1/%{name}.1*
%{python3_sitelib}/%{upname}
%{python3_sitelib}/%{upname}-%{version}-py%{python3_version}.egg-info
%changelog