rebuilt with python 3.10 [release 0.15-2mamba;Tue Aug 01 2023]

This commit is contained in:
Silvan Calarco 2024-01-05 23:42:37 +01:00
parent 810d80b2ee
commit e69f570fd5

View File

@ -1,6 +1,6 @@
Name: hotdoc
Version: 0.15
Release: 1mamba
Release: 2mamba
Summary: A documentation micro-framework
Group: Applications/Development
Vendor: openmamba
@ -13,20 +13,20 @@ License: LGPL
BuildRequires: glibc-devel
BuildRequires: libglib-devel
BuildRequires: libjson-glib-devel
BuildRequires: libpython3-devel
BuildRequires: libpython310-devel
BuildRequires: libxml2-devel
BuildRequires: python3.7dist(appdirs)
BuildRequires: python3.7dist(dbus-deviation)
BuildRequires: python3.7dist(faust-cchardet)
BuildRequires: python3.7dist(feedgen)
BuildRequires: python3.7dist(lxml)
BuildRequires: python3.7dist(networkx)
BuildRequires: python3.7dist(pkgconfig)
BuildRequires: python3.7dist(pyyaml)
BuildRequires: python3.7dist(schema)
BuildRequires: python3.7dist(setuptools)
BuildRequires: python3.7dist(toposort)
BuildRequires: python3.7dist(wheezy.template)
BuildRequires: python3.10dist(appdirs)
BuildRequires: python3.10dist(dbus-deviation)
BuildRequires: python3.10dist(faust-cchardet)
BuildRequires: python3.10dist(feedgen)
BuildRequires: python3.10dist(lxml)
BuildRequires: python3.10dist(networkx)
BuildRequires: python3.10dist(pkgconfig)
BuildRequires: python3.10dist(pyyaml)
BuildRequires: python3.10dist(schema)
BuildRequires: python3.10dist(setuptools)
BuildRequires: python3.10dist(toposort)
BuildRequires: python3.10dist(wheezy.template)
## AUTOBUILDREQ-END
%description
@ -38,26 +38,28 @@ Hotdoc is a documentation micro-framework. It provides an interface for extensio
%setup -q
%build
CFLAGS="%{optflags}" %{__python3} setup.py build
#|| %{__python3} setup.py build
CFLAGS="%{optflags}" %{__python310} setup.py build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python3} setup.py install \
%{__python310} setup.py install \
-O1 --skip-build \
--root="%{buildroot}" \
--install-headers=%{python3_inc} \
--install-lib=%{python3_sitearch} \
--install-headers=%{python310_inc} \
--install-lib=%{python310_sitearch} \
--record=%{name}.filelist
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
%files -f %{name}.filelist
%defattr(-,root,root)
%dir %{python3_sitearch}/hotdoc-%{version}-py*.egg-info
%{python3_sitearch}/hotdoc-%{version}-py*.egg-info/*
%dir %{python310_sitearch}/hotdoc-%{version}-py*.egg-info
%{python310_sitearch}/hotdoc-%{version}-py*.egg-info/*
%changelog
* Tue Aug 01 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 0.15-2mamba
- rebuilt with python 3.10
* Thu Apr 27 2023 Automatic Build System <autodist@mambasoft.it> 0.15-1mamba
- automatic version update by autodist