python-lazy-object-proxy/python-lazy-object-proxy.spec

59 lines
1.7 KiB
RPMSpec

Name: python-lazy-object-proxy
Version: 1.7.1
Release: 1mamba
Summary: A fast and thorough lazy object proxy
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://pypi.org/project/lazy-object-proxy/
Source: https://pypi.debian.net/lazy-object-proxy/lazy-object-proxy-%{version}.tar.gz
License: BSD
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libpython3-devel
## AUTOBUILDREQ-END
%description
%{summary}.
%if 0%{?with_pyver}
%pyver_package
%endif
%prep
%setup -q -n lazy-object-proxy-%{version}
%build
CFLAGS="%{optflags}" %{__python} setup.py build
%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
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
%files %{?pyappend} -f %{name}.filelist
%defattr(-,root,root)
%dir %{python_sitearch}/lazy_object_proxy-%{version}-py*.egg-info
%{python_sitearch}/lazy_object_proxy-%{version}-py*.egg-info/*
%doc LICENSE
%changelog
* Thu Dec 16 2021 Automatic Build System <autodist@mambasoft.it> 1.7.1-1mamba
- automatic version update by autodist
* Sat May 08 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.6.0-2mamba
- rebuilt with distdeps
* Wed Mar 24 2021 Automatic Build System <autodist@mambasoft.it> 1.6.0-1mamba
- automatic version update by autodist
* Thu Jan 21 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.5.2-1mamba
- package created using the webbuild interface