package created using the webbuild interface [release 3.0-1mamba;Mon Dec 25 2023]
This commit is contained in:
parent
f924968987
commit
8cd980e3b8
@ -1,2 +1,4 @@
|
||||
# python-lazr-config
|
||||
|
||||
Create configuration schemas, and process and validate configurations.
|
||||
|
||||
|
54
python-lazr-config.spec
Normal file
54
python-lazr-config.spec
Normal file
@ -0,0 +1,54 @@
|
||||
%define pkgname lazr.config
|
||||
Name: python-lazr-config
|
||||
Version: 3.0
|
||||
Release: 1mamba
|
||||
Summary: Create configuration schemas, and process and validate configurations
|
||||
Group: System/Libraries
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: https://launchpad.net/lazr.config
|
||||
Source: https://pypi.debian.net/lazr.config/lazr.config-%{version}.tar.gz
|
||||
License: LGPL
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: libpython311-devel
|
||||
BuildRequires: python3.11dist(lazr.delegates)
|
||||
BuildRequires: python3.11dist(setuptools)
|
||||
BuildRequires: python3.11dist(zope.interface)
|
||||
## AUTOBUILDREQ-END
|
||||
|
||||
%description
|
||||
%{summary}.
|
||||
|
||||
%if 0%{?with_pyver}
|
||||
%pyver_package
|
||||
%endif
|
||||
|
||||
%prep
|
||||
%setup -q -n lazr.config-%{version}
|
||||
|
||||
%build
|
||||
CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%{__python} -m installer --destdir=%{buildroot} dist/*.whl
|
||||
|
||||
#%if "%{?with_pyver}" != "3"
|
||||
## Rename any conflicting file outside of python site packages tree
|
||||
#for f in %{_bindir}/pdm; do
|
||||
# mv %{buildroot}${f}{,-%{?pyappend}}
|
||||
#done
|
||||
#%endif
|
||||
|
||||
%files %{?pyappend}
|
||||
%defattr(-,root,root)
|
||||
%dir %{python_sitelib}/%{pkgname}-%{version}.dist-info
|
||||
%{python_sitelib}/%{pkgname}-%{version}.dist-info/*
|
||||
%{python_sitelib}/lazr.config-%{version}-py*-nspkg.pth
|
||||
%dir %{python_sitelib}/lazr/config
|
||||
%{python_sitelib}/lazr/config/*
|
||||
|
||||
%changelog
|
||||
* Mon Dec 25 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0-1mamba
|
||||
- package created using the webbuild interface
|
Loading…
Reference in New Issue
Block a user