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 - _)
|
%define pkgname %(echo %name | cut -d- -f2- | tr - _)
|
||||||
Name: python-atpublic
|
Name: python-atpublic
|
||||||
Version: 2.3
|
Version: 3.1.1
|
||||||
Release: 1mamba
|
Release: 1mamba
|
||||||
Summary: This library provides two very simple decorators that document the publicness of the names in your module
|
Summary: This library provides two very simple decorators that document the publicness of the names in your module
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
@ -12,8 +12,8 @@ Source: https://pypi.debian.net/atpublic/atpublic-%{version}.tar.gz
|
|||||||
License: Apache License 2.0
|
License: Apache License 2.0
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: libpython3-devel
|
BuildRequires: libpython3-devel
|
||||||
BuildRequires: python3.7dist(typing-extensions)
|
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
|
BuildRequires: python-pdm-pep517-py3
|
||||||
|
|
||||||
%description
|
%description
|
||||||
%{summary}.
|
%{summary}.
|
||||||
@ -26,25 +26,23 @@ BuildRequires: python3.7dist(typing-extensions)
|
|||||||
%setup -q -n atpublic-%{version}
|
%setup -q -n atpublic-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
CFLAGS="%{optflags}" %{__python} setup.py build
|
CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
%{__python} setup.py install \
|
%{__python} -m installer --destdir=%{buildroot} dist/*.whl
|
||||||
-O1 --skip-build \
|
|
||||||
--root="%{buildroot}" \
|
|
||||||
--install-headers=%{python_inc} \
|
|
||||||
--install-lib=%{python_sitearch} \
|
|
||||||
--record=%{name}.filelist
|
|
||||||
|
|
||||||
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
%files %{?pyappend}
|
||||||
|
|
||||||
%files %{?pyappend} -f %{name}.filelist
|
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%dir %{python_sitearch}/%{pkgname}-%{version}-py*.egg-info
|
%dir %{python_sitearch}/%{pkgname}-%{version}.dist-info
|
||||||
%{python_sitearch}/%{pkgname}-%{version}-py*.egg-info/*
|
%{python_sitearch}/%{pkgname}-%{version}.dist-info/*
|
||||||
|
%dir %{python_sitearch}/public
|
||||||
|
%{python_sitearch}/public/*
|
||||||
%doc LICENSE
|
%doc LICENSE
|
||||||
|
|
||||||
%changelog
|
%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
|
* Mon Apr 18 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3-1mamba
|
||||||
- package created using the webbuild interface
|
- package created using the webbuild interface
|
||||||
|
Loading…
Reference in New Issue
Block a user