diff --git a/python-regex.spec b/python-regex.spec index c3470de..f964cd9 100644 --- a/python-regex.spec +++ b/python-regex.spec @@ -1,6 +1,8 @@ +%define pkgname %(echo %name | cut -d- -f2- | tr - _) + Name: python-regex Version: 2022.4.24 -Release: 1mamba +Release: 2mamba Summary: regex is an alternative to the re package in the Python standard library Group: System/Libraries Vendor: openmamba @@ -13,7 +15,6 @@ License: Python Software Foundation License BuildRequires: glibc-devel BuildRequires: libpython3-devel ## AUTOBUILDREQ-END -Requires: python >= %python_version %description %{summary}. @@ -37,10 +38,17 @@ CFLAGS="%{optflags}" %{__python} setup.py build --install-lib=%{python_sitearch} \ --record=%{name}.filelist +sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist + %files %{?pyappend} -f %{name}.filelist %defattr(-,root,root) +%dir %{python_sitearch}/%{pkgname}-%{version}-py*.egg-info +%{python_sitearch}/%{pkgname}-%{version}-py*.egg-info/* %changelog +* Thu Jun 02 2022 Silvan Calarco 2022.4.24-2mamba +- rebuilt with python 3.10 and distdeps + * Mon Apr 25 2022 Automatic Build System 2022.4.24-1mamba - automatic version update by autodist