diff --git a/python-intervaltree.spec b/python-intervaltree.spec index c2bb281..f125d9c 100644 --- a/python-intervaltree.spec +++ b/python-intervaltree.spec @@ -1,6 +1,6 @@ Name: python-intervaltree Version: 3.1.0 -Release: 1mamba +Release: 2mamba Summary: A mutable, self-balancing interval tree for Python 2 and 3. Queries may be by point, by range overlap, or by range envelopment Group: System/Libraries Vendor: openmamba @@ -10,11 +10,9 @@ URL: https://pypi.org/project/intervaltree/ Source: https://pypi.debian.net/intervaltree/intervaltree-%{version}.tar.gz License: Apache License 2.0 ## AUTOBUILDREQ-BEGIN -BuildRequires: python3 +BuildRequires: libpython3-devel +BuildRequires: python3.7dist(sortedcontainers) ## AUTOBUILDREQ-END -BuildRequires: libpython-devel -Requires: python >= %python_version -BuildRoot: %{_tmppath}/%{name}-%{version}-root %description %{summary}. @@ -40,17 +38,16 @@ 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.md +%dir %{python_sitearch}/intervaltree-%{version}-py*.egg-info +%{python_sitearch}/intervaltree-%{version}-py*.egg-info/* %changelog +* Sun Apr 11 2021 Silvan Calarco 3.1.0-2mamba +- rebuilt with distdeps + * Wed Jan 20 2021 Silvan Calarco 3.1.0-1mamba - package created using the webbuild interface