diff --git a/python-3parclient-4.2.12.tar.gz b/python-3parclient-4.2.12.tar.gz deleted file mode 100644 index 686d23adeeb4581b4bfe0d2b38491661be66dcd6..0000000000000000000000000000000000000000 Binary files a/python-3parclient-4.2.12.tar.gz and /dev/null differ diff --git a/python-3parclient.spec b/python-3parclient.spec index 31bceb17ff1835242970ba92996eb8c89dac25ce..7b44476532af7639314b4ef0f32a54cad49d722f 100644 --- a/python-3parclient.spec +++ b/python-3parclient.spec @@ -1,11 +1,11 @@ %global _empty_manifest_terminate_build 0 Name: python-3parclient -Version: 4.2.12 -Release: 3 +Version: 4.2.13 +Release: 1 Summary: HPE Alletra 9000 and HPE Primera and HPE 3PAR HTTP REST Client License: Apache-2.0 URL: http://packages.python.org/python-3parclient -Source0: https://files.pythonhosted.org/packages/d5/1e/a4c65a91084396828b23890542f6b889ce88f4c3b6262ca2c199ed44fb75/python-3parclient-4.2.12.tar.gz +Source0: https://files.pythonhosted.org/packages/ca/18/5b51a05f3cc615a00d26bfb71252a4237990170a00e57f0d0c92e29dfd91/python_3parclient-4.2.13.tar.gz BuildArch: noarch %description HPE 3PAR REST Client This is a Client library that can talk to the HPE 3PAR @@ -27,10 +27,8 @@ BuildRequires: python3-wheel BuildRequires: python3-paramiko BuildRequires: python3-eventlet BuildRequires: python3-requests +BuildRequires: python3-hatchling # General requires -Requires: python3-paramiko -Requires: python3-eventlet -Requires: python3-requests %description -n python3-3parclient HPE 3PAR REST Client This is a Client library that can talk to the HPE 3PAR Storage array. The 3PAR storage array has a REST web service interface and a @@ -49,49 +47,47 @@ talking with either interface, as needed. The python Requests library is used to communicate with the REST interface. %prep -%autosetup -n python-3parclient-%{version} +%autosetup -n python_3parclient-%{version} %build -%py3_build +%pyproject_build %install -%py3_install - +%pyproject_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 +touch filelist.lst if [ -d usr/lib64 ]; then - find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst + 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 + 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 + 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 + 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-3parclient -f filelist.lst -%dir %{python3_sitelib}/* -%exclude %{python3_sitelib}/test/__pycache__/__init__.cpython-*.opt-1.pyc -%exclude %{python3_sitelib}/test/__pycache__/__init__.cpython-*.pyc +%{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog +* Wed Dec 11 2024 liutao1 - 4.2.13-1 +- update package of version 4.2.13 + * Mon Aug 28 2023 Ge Wang - 4.2.12-3 - Generalize a common format for exclude file diff --git a/python_3parclient-4.2.13.tar.gz b/python_3parclient-4.2.13.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..2cf46566cc3bcf619e4b7b4b41f0d6949f8af2f0 Binary files /dev/null and b/python_3parclient-4.2.13.tar.gz differ