automatic version update by autodist [release 5.4.0-1mamba;Fri Oct 07 2022]
This commit is contained in:
parent
91cc8ca40c
commit
6d03fa81bf
@ -1,5 +1,6 @@
|
||||
%define pkgname %(echo %name | cut -d- -f2- | tr - _)
|
||||
Name: python-traitlets
|
||||
Version: 5.1.1
|
||||
Version: 5.4.0
|
||||
Release: 1mamba
|
||||
Summary: A lightweight, simple, pure Python derivative of Enthought Traits
|
||||
Group: System/Libraries
|
||||
@ -12,8 +13,6 @@ License: BSD
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: libpython3-devel
|
||||
## AUTOBUILDREQ-END
|
||||
Requires: python >= %python_version
|
||||
Requires: python-decorator
|
||||
|
||||
%description
|
||||
This Python module is designed to provide a lightweight, simple, pure Python version of many of the capabilities of enthought.traits.
|
||||
@ -26,25 +25,24 @@ This Python module is designed to provide a lightweight, simple, pure Python ver
|
||||
%setup -q -n traitlets-%{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=%{_includedir}/python \
|
||||
--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)
|
||||
%{python_sitearch}/traitlets-%{version}-py*.egg-info
|
||||
%doc README.md
|
||||
%dir %{python_sitelib}/%{pkgname}-%{version}.dist-info
|
||||
%{python_sitelib}/%{pkgname}-%{version}.dist-info/*
|
||||
%dir %{python_sitelib}/%{pkgname}
|
||||
%{python_sitelib}/%{pkgname}/*
|
||||
%doc COPYING.md
|
||||
|
||||
%changelog
|
||||
* Fri Oct 07 2022 Automatic Build System <autodist@mambasoft.it> 5.4.0-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Tue Oct 26 2021 Automatic Build System <autodist@mambasoft.it> 5.1.1-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user