diff --git a/python-mysqlclient.spec b/python-mysqlclient.spec index fd24231..6477ddf 100644 --- a/python-mysqlclient.spec +++ b/python-mysqlclient.spec @@ -1,27 +1,25 @@ +%define pkgname %(echo %name | cut -d- -f2- | tr - _) Name: python-mysqlclient -Version: 1.4.6 -Release: 1mamba +Version: 2.1.0 +Release: 2mamba Summary: Python interface to MySQL Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco -URL: http://sourceforge.net/projects/mysql-python/ +URL: https://sourceforge.net/projects/mysql-python/ Source: https://pypi.debian.net/mysqlclient/mysqlclient-%{version}.tar.gz License: GPL, Python License, Zope Public License ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel -BuildRequires: libmysqlclient-devel -BuildRequires: libopenssl-devel -BuildRequires: libpython-devel -BuildRequires: libz-devel +BuildRequires: libmariadb-devel +BuildRequires: libpython3-devel ## AUTOBUILDREQ-END BuildRequires: libpython3-devel >= 3.7.4 BuildRequires: python-setuptools-devel Provides: python-MySQL Obsoletes: python-MySQL Requires: python >= %python_version -BuildRoot: %{_tmppath}/%{name}-%{version}-root %description mysqlclient is a fork of MySQL-python. It add Python 3.3 support and merges some pull requests. @@ -53,13 +51,30 @@ CFLAGS="%{optflags}" %{__python} setup.py build --single-version-externally-managed \ --record=%{name}.filelist -#sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{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/* %doc doc/* %changelog +* Sat May 07 2022 Silvan Calarco 2.1.0-2mamba +- rebuilt with distdeps + +* Thu Nov 18 2021 Automatic Build System 2.1.0-1mamba +- automatic version update by autodist + +* Mon Feb 01 2021 Automatic Build System 2.0.3-1mamba +- automatic version update by autodist + +* Sun Aug 09 2020 Automatic Build System 2.0.1-1mamba +- automatic version update by autodist + +* Sun Jul 19 2020 Automatic Build System 2.0.0-1mamba +- automatic version update by autodist + * Thu Nov 21 2019 Automatic Build System 1.4.6-1mamba - automatic version update by autodist