From a9ab8207daf6dfea49a59207f7a99824152fe6b6 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 11:23:54 +0100 Subject: [PATCH] rebuilt only for py3 and with distdeps [release 1.8.1-2mamba;Mon Aug 30 2021] --- python-logilab-common.spec | 46 +++++++++++++++++++++++++++++--------- 1 file changed, 36 insertions(+), 10 deletions(-) diff --git a/python-logilab-common.spec b/python-logilab-common.spec index 8817a52..da2bd9d 100644 --- a/python-logilab-common.spec +++ b/python-logilab-common.spec @@ -1,24 +1,29 @@ Name: python-logilab-common -Version: 1.4.4 -Release: 1mamba +Version: 1.8.1 +Release: 2mamba Summary: A collection of low-level Python packages and modules used by Logilab projects Group: System/Libraries/Python Vendor: openmamba Distribution: openmamba -Packager: Stefano Cotta Ramusino -URL: http://www.logilab.org/project/logilab-common +Packager: Silvan Calarco +URL: https://www.logilab.org/project/logilab-common Source: https://pypi.debian.net/logilab-common/logilab-common-%{version}.tar.gz License: GPL ## AUTOBUILDREQ-BEGIN -BuildRequires: libpython-devel +BuildRequires: libpython3-devel +BuildRequires: python3.7dist(mypy-extensions) +BuildRequires: python3.7dist(setuptools) +BuildRequires: python3.7dist(typing-extensions) ## AUTOBUILDREQ-END -Requires: python >= %python_version BuildArch: noarch -BuildRoot: %{_tmppath}/%{name}-%{version}-root %description A collection of low-level Python packages and modules used by Logilab projects. +%if 0%{?with_pyver} +%pyver_package +%endif + %prep %setup -q -n logilab-common-%{version} @@ -31,23 +36,44 @@ A collection of low-level Python packages and modules used by Logilab projects. -O1 --skip-build \ --root="%{buildroot}" \ --install-headers=%{_includedir}/python \ + --install-lib=%{python_sitearch} \ --single-version-externally-managed \ --record=%{name}.filelist +sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist + # Do not package testsuite rm -rf %{buildroot}%{python_sitelib}/logilab/common/test -#sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz,;\,/test/,d" %{name}.filelist +sed -i "/\/test\//d" %{name}.filelist +sed -i "/\/registry.py\//d" %{name}.filelist #echo "%{python_sitelib}/logilab/__init__.py" >> %{name}.filelist %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%files -f %{name}.filelist +%files %{?pyappend} -f %{name}.filelist %defattr(-,root,root) -%doc ChangeLog COPYING README +%dir %{python_sitearch}/logilab_common-%{version}-py*.egg-info +%{python_sitearch}/logilab_common-%{version}-py*.egg-info/* +%doc COPYING %changelog +* Mon Aug 30 2021 Silvan Calarco 1.8.1-2mamba +- rebuilt only for py3 and with distdeps + +* Wed Jan 06 2021 Automatic Build System 1.8.1-1mamba +- automatic version update by autodist + +* Fri Oct 23 2020 Automatic Build System 1.8.0-1mamba +- automatic version update by autodist + +* Fri Sep 04 2020 Automatic Build System 1.7.3-1mamba +- automatic version update by autodist + +* Sun Jul 19 2020 Automatic Build System 1.7.2-1mamba +- automatic version update by autodist + * Fri Nov 15 2019 Automatic Build System 1.4.4-1mamba - automatic version update by autodist