diff --git a/python-schema.spec b/python-schema.spec index bb65ee4..0bf81fe 100644 --- a/python-schema.spec +++ b/python-schema.spec @@ -1,6 +1,7 @@ +%define pkgname %(echo %name | cut -d- -f2- | tr - _) Name: python-schema Version: 0.7.5 -Release: 1mamba +Release: 3mamba Summary: A library for validating Python data structures Group: System/Libraries Vendor: openmamba @@ -10,9 +11,9 @@ URL: https://pypi.org/project/schema/ Source: https://pypi.debian.net/schema/schema-%{version}.tar.gz License: MIT ## AUTOBUILDREQ-BEGIN +BuildRequires: libpython3-devel +BuildRequires: python3.7dist(contextlib2) ## AUTOBUILDREQ-END -BuildRequires: libpython-devel -Requires: python >= %python_version %description %{summary}. @@ -36,18 +37,20 @@ 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}/%{pkgname}-%{version}-py*.egg-info +%{python_sitearch}/%{pkgname}-%{version}-py*.egg-info/* %changelog +* Mon Jul 31 2023 Silvan Calarco 0.7.5-3mamba +- rebuilt with python 3.10 + +* Mon Feb 14 2022 Silvan Calarco 0.7.5-2mamba +- rebuilt with distdeps + * Thu Dec 02 2021 Automatic Build System 0.7.5-1mamba - automatic version update by autodist