From 8ccd85ce4f338b19c71282b6b9ccc3660bacbdcd Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 11:22:04 +0100 Subject: [PATCH] automatic version update by autodist [release 23.13.1-1mamba;Mon Mar 06 2023] --- python-keyring.spec | 33 ++++++++++++++++++++------------- 1 file changed, 20 insertions(+), 13 deletions(-) diff --git a/python-keyring.spec b/python-keyring.spec index df804fd..47f4105 100644 --- a/python-keyring.spec +++ b/python-keyring.spec @@ -1,6 +1,6 @@ %define pkgname %(echo %name | cut -d- -f2- | tr - _) Name: python-keyring -Version: 23.5.0 +Version: 23.13.1 Release: 1mamba Summary: Store and access your passwords safely Group: System/Libraries @@ -13,9 +13,10 @@ License: MIT ## AUTOBUILDREQ-BEGIN BuildRequires: libpython3-devel BuildRequires: python3.7dist(importlib-metadata) +BuildRequires: python3.7dist(importlib-resources) +BuildRequires: python3.7dist(jaraco.classes) BuildRequires: python3.7dist(jeepney) BuildRequires: python3.7dist(secretstorage) -BuildRequires: python3.7dist(setuptools) ## AUTOBUILDREQ-END %description @@ -29,25 +30,31 @@ BuildRequires: python3.7dist(setuptools) %setup -q -n keyring-%{version} %build -CFLAGS="%{optflags}" %{__python} setup.py build +CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%{__python} setup.py install \ - -O1 --skip-build \ - --root="%{buildroot}" \ - --install-headers=%{python_inc} \ - --install-lib=%{python_sitearch} \ - --record=%{name}.filelist +%{__python} -m installer --destdir=%{buildroot} dist/*.whl -sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist +%if "%{?with_pyver}" != "3" +# Rename any conflicting file outside of python site packages tree +for f in %{_bindir}/keyring; do + mv %{buildroot}${f}{,-%{?pyappend}} +done +%endif -%files %{?pyappend} -f %{name}.filelist +%files %{?pyappend} %defattr(-,root,root) -%dir %{python_sitearch}/%{pkgname}-%{version}-py*.egg-info -%{python_sitearch}/%{pkgname}-%{version}-py*.egg-info/* +%{_bindir}/keyring* +%dir %{python_sitelib}/%{pkgname}-%{version}.dist-info +%{python_sitelib}/%{pkgname}-%{version}.dist-info/* +%dir %{python_sitelib}/%{pkgname} +%{python_sitelib}/%{pkgname}/* %doc LICENSE %changelog +* Mon Mar 06 2023 Automatic Build System 23.13.1-1mamba +- automatic version update by autodist + * Sun Feb 13 2022 Silvan Calarco 23.5.0-1mamba - package created using the webbuild interface