update to 1.0.4 [release 1.0.4-1mamba;Mon Mar 06 2023]
This commit is contained in:
parent
aef334d181
commit
18dbea598c
@ -1,19 +1,19 @@
|
||||
%define pkgname %(echo %name | cut -d- -f2- | tr - _)
|
||||
Name: python-sphinxcontrib-applehelp
|
||||
Version: 1.0.2
|
||||
Release: 3mamba
|
||||
Version: 1.0.4
|
||||
Release: 1mamba
|
||||
Summary: A sphinx extension which outputs Apple help books
|
||||
Group: System/Libraries
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: https://sphinx.pocoo.org/
|
||||
URL: https://www.sphinx-doc.org/en/master/
|
||||
Source: https://pypi.debian.net/sphinxcontrib-applehelp/sphinxcontrib-applehelp-%{version}.tar.gz
|
||||
License: BSD
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: libpython3-devel
|
||||
## AUTOBUILDREQ-END
|
||||
|
||||
|
||||
%description
|
||||
%{summary}.
|
||||
|
||||
@ -25,26 +25,31 @@ BuildRequires: libpython3-devel
|
||||
%setup -q -n sphinxcontrib-applehelp-%{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=%{python_inc} \
|
||||
--install-lib=%{python_sitearch} \
|
||||
--record=%{name}.filelist
|
||||
%{__python} -m installer --destdir=%{buildroot} dist/*.whl
|
||||
|
||||
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
||||
#%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} -f %{name}.filelist
|
||||
%files %{?pyappend}
|
||||
%defattr(-,root,root)
|
||||
%dir %{python_sitearch}/sphinxcontrib_applehelp-%{version}-py*.egg-info
|
||||
%{python_sitearch}/sphinxcontrib_applehelp-%{version}-py*.egg-info/*
|
||||
%dir %{python_sitelib}/%{pkgname}-%{version}.dist-info
|
||||
%{python_sitelib}/%{pkgname}-%{version}.dist-info/*
|
||||
%dir %{python_sitelib}/sphinxcontrib/applehelp
|
||||
%{python_sitelib}/sphinxcontrib/applehelp/*
|
||||
%doc LICENSE
|
||||
|
||||
%changelog
|
||||
* Mon Mar 06 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.4-1mamba
|
||||
- update to 1.0.4
|
||||
|
||||
* Sat Apr 17 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.2-3mamba
|
||||
- rebuilt with distdeps
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user