automatic version update by autodist [release 3.0.1-1mamba;Fri Oct 07 2022]
This commit is contained in:
parent
c730a5c361
commit
df774dd424
@ -1,5 +1,6 @@
|
|||||||
|
%define pkgname %(echo %name | cut -d- -f2- | tr - _)
|
||||||
Name: python-apipkg
|
Name: python-apipkg
|
||||||
Version: 2.1.1
|
Version: 3.0.1
|
||||||
Release: 1mamba
|
Release: 1mamba
|
||||||
Summary: A namespace control and lazy-import mechanism for Python
|
Summary: A namespace control and lazy-import mechanism for Python
|
||||||
Group: System/Libraries/Python
|
Group: System/Libraries/Python
|
||||||
@ -26,30 +27,24 @@ It is a small pure python module that works on virtually all Python versions.
|
|||||||
%setup -q -n apipkg-%{version}
|
%setup -q -n apipkg-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__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=%{_includedir}/python \
|
|
||||||
--install-lib=%{python_sitearch} \
|
|
||||||
--single-version-externally-managed \
|
|
||||||
--record=%{name}.filelist
|
|
||||||
|
|
||||||
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
%files %{?pyappend}
|
||||||
|
|
||||||
%clean
|
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
||||||
|
|
||||||
%files %{?pyappend} -f %{name}.filelist
|
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%dir %{python_sitearch}/apipkg-%{version}-py*.egg-info
|
%dir %{python_sitelib}/%{pkgname}-%{version}.dist-info
|
||||||
%{python_sitearch}/apipkg-%{version}-py*.egg-info/*
|
%{python_sitelib}/%{pkgname}-%{version}.dist-info/*
|
||||||
%doc CHANGELOG
|
%dir %{python_sitelib}/%{pkgname}
|
||||||
|
%{python_sitelib}/%{pkgname}/*
|
||||||
|
%doc LICENSE
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Oct 07 2022 Automatic Build System <autodist@mambasoft.it> 3.0.1-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
* Mon May 09 2022 Automatic Build System <autodist@mambasoft.it> 2.1.1-1mamba
|
* Mon May 09 2022 Automatic Build System <autodist@mambasoft.it> 2.1.1-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user