Update package to version 1.0.2
This commit is contained in:
parent
053da1618d
commit
efd17073e2
Binary file not shown.
BIN
PyMySQL-1.0.2.tar.gz
Normal file
BIN
PyMySQL-1.0.2.tar.gz
Normal file
Binary file not shown.
@ -1,45 +1,79 @@
|
|||||||
Name: python-PyMySQL
|
%global _empty_manifest_terminate_build 0
|
||||||
Version: 0.9.3
|
Name: python-PyMySQL
|
||||||
Release: 3
|
Version: 1.0.2
|
||||||
Summary: Pure Python MySQL Client
|
Release: 1
|
||||||
License: MIT
|
Summary: Pure Python MySQL Client
|
||||||
URL: https://pypi.python.org/pypi/PyMySQL/
|
License: MIT
|
||||||
Source0: https://files.pythonhosted.org/packages/source/P/PyMySQL/PyMySQL-%{version}.tar.gz
|
URL: https://pypi.python.org/pypi/PyMySQL/
|
||||||
|
Source0: https://files.pythonhosted.org/packages/60/ea/33b8430115d9b617b713959b21dfd5db1df77425e38efea08d121e83b712/PyMySQL-1.0.2.tar.gz
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
BuildRequires: python3-cryptography python3-devel python3-setuptools
|
BuildRequires: python3-cryptography python3-devel python3-setuptools
|
||||||
|
|
||||||
BuildArch: noarch
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This package contains a pure-Python MySQL client library, based on PEP 249.
|
This package contains a pure-Python MySQL client library, based on PEP 249.
|
||||||
Most public APIs are compatible with mysqlclient and MySQLdb.
|
Most public APIs are compatible with mysqlclient and MySQLdb.
|
||||||
|
|
||||||
%package -n python3-PyMySQL
|
%package -n python3-PyMySQL
|
||||||
Summary: Pure Python3 MySQL client
|
Summary: Pure Python MySQL Client
|
||||||
Requires: python3-cryptography
|
Requires: python3-cryptography
|
||||||
%{?python_provide:%python_provide python3-PyMySQL}
|
Provides: python-PyMySQL = %{version}-%{release}
|
||||||
|
|
||||||
%description -n python3-PyMySQL
|
%description -n python3-PyMySQL
|
||||||
This package contains a pure-Python MySQL client library, based on PEP 249.
|
This package contains a pure-Python MySQL client library, based on PEP 249.
|
||||||
Most public APIs are compatible with mysqlclient and MySQLdb.
|
Most public APIs are compatible with mysqlclient and MySQLdb.
|
||||||
|
|
||||||
|
%package help
|
||||||
|
Summary: Development documents and examples for PyMySQL
|
||||||
|
Provides: python3-PyMySQL-doc
|
||||||
|
%description help
|
||||||
|
This package contains a pure-Python MySQL client library, based on PEP 249.
|
||||||
|
Most public APIs are compatible with mysqlclient and MySQLdb.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n PyMySQL-%{version} -p1
|
%autosetup -n PyMySQL-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py3_build
|
%py3_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%py3_install
|
%py3_install
|
||||||
|
install -d -m755 %{buildroot}/%{_pkgdocdir}
|
||||||
|
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
|
||||||
|
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
|
||||||
|
if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
|
||||||
|
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
|
||||||
|
pushd %{buildroot}
|
||||||
|
if [ -d usr/lib ]; then
|
||||||
|
find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
|
||||||
|
fi
|
||||||
|
if [ -d usr/lib64 ]; then
|
||||||
|
find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
|
||||||
|
fi
|
||||||
|
if [ -d usr/bin ]; then
|
||||||
|
find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
|
||||||
|
fi
|
||||||
|
if [ -d usr/sbin ]; then
|
||||||
|
find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
|
||||||
|
fi
|
||||||
|
touch doclist.lst
|
||||||
|
if [ -d usr/share/man ]; then
|
||||||
|
find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
|
||||||
|
fi
|
||||||
|
popd
|
||||||
|
mv %{buildroot}/filelist.lst .
|
||||||
|
mv %{buildroot}/doclist.lst .
|
||||||
|
|
||||||
%files -n python3-PyMySQL
|
%files -n python3-PyMySQL -f filelist.lst
|
||||||
%doc README.rst
|
%dir %{python3_sitelib}/*
|
||||||
%license LICENSE
|
|
||||||
%{python3_sitelib}/*
|
|
||||||
|
|
||||||
|
%files help -f doclist.lst
|
||||||
|
%{_docdir}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Nov 22 2022 jiangxinyu <jiangxinyu@kylinos.cn> - 1.0.2-1
|
||||||
|
- Update package to version 1.0.2
|
||||||
|
|
||||||
* Wed Aug 25 2021 OpenStack_SIG <openstack@openeuler.org> - 0.9.3-3
|
* Wed Aug 25 2021 OpenStack_SIG <openstack@openeuler.org> - 0.9.3-3
|
||||||
- Revert the version to 0.9.3, because python3-aiomysql depends on the python-PyMySQL vertion ranging form 0.9 to 0.9.3
|
- Revert the version to 0.9.3, because python3-aiomysql depends on the python-PyMySQL vertion ranging form 0.9 to 0.9.3
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user