From 2a7cad0014e635c16d23803186e26804565eb843 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 10:46:46 +0100 Subject: [PATCH] automatic version update by autodist [release 3.1.1-1mamba;Fri Dec 09 2022] --- python-atpublic.spec | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/python-atpublic.spec b/python-atpublic.spec index 0b0b0d6..b7a5575 100644 --- a/python-atpublic.spec +++ b/python-atpublic.spec @@ -1,6 +1,6 @@ %define pkgname %(echo %name | cut -d- -f2- | tr - _) Name: python-atpublic -Version: 2.3 +Version: 3.1.1 Release: 1mamba Summary: This library provides two very simple decorators that document the publicness of the names in your module Group: System/Libraries @@ -12,8 +12,8 @@ Source: https://pypi.debian.net/atpublic/atpublic-%{version}.tar.gz License: Apache License 2.0 ## AUTOBUILDREQ-BEGIN BuildRequires: libpython3-devel -BuildRequires: python3.7dist(typing-extensions) ## AUTOBUILDREQ-END +BuildRequires: python-pdm-pep517-py3 %description %{summary}. @@ -26,25 +26,23 @@ BuildRequires: python3.7dist(typing-extensions) %setup -q -n atpublic-%{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 - -%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/* +%dir %{python_sitearch}/%{pkgname}-%{version}.dist-info +%{python_sitearch}/%{pkgname}-%{version}.dist-info/* +%dir %{python_sitearch}/public +%{python_sitearch}/public/* %doc LICENSE %changelog +* Fri Dec 09 2022 Automatic Build System 3.1.1-1mamba +- automatic version update by autodist + * Mon Apr 18 2022 Silvan Calarco 2.3-1mamba - package created using the webbuild interface