rebuilt by autoport with build requirements: python3-devel>=3.11.5-3mamba [release 2.0.1-2mamba;Fri Sep 29 2023]
This commit is contained in:
parent
2303bb335c
commit
5efbab6b92
@ -1,7 +1,7 @@
|
|||||||
%define pkgname %(echo %name | cut -d- -f2-)
|
%define pkgname %(echo %name | cut -d- -f2-)
|
||||||
Name: python-smartypants
|
Name: python-smartypants
|
||||||
Version: 2.0.1
|
Version: 2.0.1
|
||||||
Release: 1mamba
|
Release: 2mamba
|
||||||
Summary: A Python fork of SmartyPants
|
Summary: A Python fork of SmartyPants
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -12,9 +12,9 @@ Source: https://github.com/leohemsted/smartypants.py.git/v%{version}/smar
|
|||||||
#Source: https://pypi.debian.net/smartypants/smartypants-%{version}.tar.gz
|
#Source: https://pypi.debian.net/smartypants/smartypants-%{version}.tar.gz
|
||||||
License: BSD
|
License: BSD
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: libpython3-devel
|
BuildRequires: libpython311-devel
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
Provides: python%{?with_pyver}dist(smartypants)
|
BuildRequires: python3-devel >= 3.11.5-3mamba
|
||||||
|
|
||||||
%description
|
%description
|
||||||
%{summary}.
|
%{summary}.
|
||||||
@ -27,26 +27,32 @@ Provides: python%{?with_pyver}dist(smartypants)
|
|||||||
%setup -q -n smartypants.py-%{version}
|
%setup -q -n smartypants.py-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
CFLAGS="%{optflags}" %{__python} setup.py build
|
CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
%{__python} setup.py install \
|
%{__python} -m installer --destdir=%{buildroot} dist/*.whl
|
||||||
-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
|
%if "%{?with_pyver}" != "3"
|
||||||
|
# Rename any conflicting file outside of python site packages tree
|
||||||
|
for f in %{_bindir}/smartypants; do
|
||||||
|
mv %{buildroot}${f}{,-%{?pyappend}}
|
||||||
|
done
|
||||||
|
%endif
|
||||||
|
|
||||||
%files %{?pyappend} -f %{name}.filelist
|
%files %{?pyappend}
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
#%dir %{python_sitearch}/%{pkgname}-%{version}-py*.egg-info
|
%{_bindir}/smartypants*
|
||||||
#%{python_sitearch}/%{pkgname}-%{version}-py*.egg-info/*
|
%dir %{python_sitelib}/%{pkgname}-%{version}.dist-info
|
||||||
|
%{python_sitelib}/%{pkgname}-%{version}.dist-info/*
|
||||||
|
%{python_sitelib}/smartypants.py
|
||||||
|
%{python_sitelib}/__pycache__/smartypants.cpython*
|
||||||
%doc COPYING
|
%doc COPYING
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Sep 29 2023 Automatic Build System <autodist@mambasoft.it> 2.0.1-2mamba
|
||||||
|
- rebuilt by autoport with build requirements: python3-devel>=3.11.5-3mamba
|
||||||
|
|
||||||
* Sun Oct 31 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.1-1mamba
|
* Sun Oct 31 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.1-1mamba
|
||||||
- update to 2.0.1
|
- update to 2.0.1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user