rebuilt only for py3 and with distdeps [release 1.8.1-2mamba;Mon Aug 30 2021]

This commit is contained in:
Silvan Calarco 2024-01-06 11:23:54 +01:00
parent f8adccab99
commit a9ab8207da

View File

@ -1,24 +1,29 @@
Name: python-logilab-common Name: python-logilab-common
Version: 1.4.4 Version: 1.8.1
Release: 1mamba Release: 2mamba
Summary: A collection of low-level Python packages and modules used by Logilab projects Summary: A collection of low-level Python packages and modules used by Logilab projects
Group: System/Libraries/Python Group: System/Libraries/Python
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.logilab.org/project/logilab-common URL: https://www.logilab.org/project/logilab-common
Source: https://pypi.debian.net/logilab-common/logilab-common-%{version}.tar.gz Source: https://pypi.debian.net/logilab-common/logilab-common-%{version}.tar.gz
License: GPL License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: libpython-devel BuildRequires: libpython3-devel
BuildRequires: python3.7dist(mypy-extensions)
BuildRequires: python3.7dist(setuptools)
BuildRequires: python3.7dist(typing-extensions)
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
Requires: python >= %python_version
BuildArch: noarch BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
A collection of low-level Python packages and modules used by Logilab projects. A collection of low-level Python packages and modules used by Logilab projects.
%if 0%{?with_pyver}
%pyver_package
%endif
%prep %prep
%setup -q -n logilab-common-%{version} %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 \ -O1 --skip-build \
--root="%{buildroot}" \ --root="%{buildroot}" \
--install-headers=%{_includedir}/python \ --install-headers=%{_includedir}/python \
--install-lib=%{python_sitearch} \
--single-version-externally-managed \ --single-version-externally-managed \
--record=%{name}.filelist --record=%{name}.filelist
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
# Do not package testsuite # Do not package testsuite
rm -rf %{buildroot}%{python_sitelib}/logilab/common/test 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 #echo "%{python_sitelib}/logilab/__init__.py" >> %{name}.filelist
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -f %{name}.filelist %files %{?pyappend} -f %{name}.filelist
%defattr(-,root,root) %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 %changelog
* Mon Aug 30 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.8.1-2mamba
- rebuilt only for py3 and with distdeps
* Wed Jan 06 2021 Automatic Build System <autodist@mambasoft.it> 1.8.1-1mamba
- automatic version update by autodist
* Fri Oct 23 2020 Automatic Build System <autodist@mambasoft.it> 1.8.0-1mamba
- automatic version update by autodist
* Fri Sep 04 2020 Automatic Build System <autodist@mambasoft.it> 1.7.3-1mamba
- automatic version update by autodist
* Sun Jul 19 2020 Automatic Build System <autodist@mambasoft.it> 1.7.2-1mamba
- automatic version update by autodist
* Fri Nov 15 2019 Automatic Build System <autodist@mambasoft.it> 1.4.4-1mamba * Fri Nov 15 2019 Automatic Build System <autodist@mambasoft.it> 1.4.4-1mamba
- automatic version update by autodist - automatic version update by autodist