diff --git a/python-wcwidth.spec b/python-wcwidth.spec index 2686144..e7db222 100644 --- a/python-wcwidth.spec +++ b/python-wcwidth.spec @@ -1,6 +1,6 @@ Name: python-wcwidth Version: 0.2.5 -Release: 1mamba +Release: 2mamba Summary: Python library that measures the width of unicode strings rendered to a terminal Group: System/Libraries Vendor: openmamba @@ -10,11 +10,8 @@ URL: https://github.com/jquast/wcwidth Source: https://pypi.debian.net/wcwidth/wcwidth-%{version}.tar.gz License: MIT ## AUTOBUILDREQ-BEGIN -## note: run 'autospec -u -a6 python-wcwidth' to get the list of build requirements. +BuildRequires: libpython3-devel ## AUTOBUILDREQ-END -BuildRequires: libpython-devel -Requires: python >= %python_version -BuildRoot: %{_tmppath}/%{name}-%{version}-root %description %{summary}. @@ -38,18 +35,17 @@ CFLAGS="%{optflags}" %{__python} setup.py build --install-lib=%{python_sitearch} \ --record=%{name}.filelist -sed -i "s,.*/man/.*,&.gz," %{name}.filelist +sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist %files %{?pyappend} -f %{name}.filelist %defattr(-,root,root) -## note: this list is just an example; modify as required -# %{python_sitearch}/%{name}.py* -# %{python_sitearch}/%{name}.so - -## note: add extra documentation (if any) -# %doc README.rst +%dir %{python_sitearch}/wcwidth-%{version}-py*.egg-info +%{python_sitearch}/wcwidth-%{version}-py*.egg-info/* %changelog +* Sat Feb 26 2022 Silvan Calarco 0.2.5-2mamba +- rebuilt with distdeps + * Wed Jul 01 2020 Automatic Build System 0.2.5-1mamba - automatic version update by autodist