automatic version update by autodist [release 3.1.1-1mamba;Fri Dec 09 2022]
This commit is contained in:
parent
348f1e76f4
commit
2a7cad0014
@ -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 <autodist@mambasoft.it> 3.1.1-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Mon Apr 18 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3-1mamba
|
||||
- package created using the webbuild interface
|
||||
|
Loading…
Reference in New Issue
Block a user