diff --git a/azure-core-1.26.1.zip b/azure-core-1.26.1.zip new file mode 100644 index 0000000000000000000000000000000000000000..70932c5907a415765a50d9c97a44d4e1cc802c92 Binary files /dev/null and b/azure-core-1.26.1.zip differ diff --git a/azure-core-1.6.0.zip b/azure-core-1.6.0.zip deleted file mode 100644 index e4657d82f3bcee7190cce0849f8d323654fa1949..0000000000000000000000000000000000000000 Binary files a/azure-core-1.6.0.zip and /dev/null differ diff --git a/python-azure-core.spec b/python-azure-core.spec index 955dbdcb8a89964a860a0fa28d7312eb71302094..5d073b818eeac56b2e80fdfc95830b4d11fb435a 100644 --- a/python-azure-core.spec +++ b/python-azure-core.spec @@ -1,40 +1,42 @@ %global _empty_manifest_terminate_build 0 -Name: python-azure-core -Version: 1.6.0 -Release: 1 -Summary: Microsoft Azure Core Library for Python -License: MIT -URL: https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/core/azure-core -Source0: https://files.pythonhosted.org/packages/94/f3/d633865d2b2dd743116e934371d75907e89966f2e5034d3a220c9d220369/azure-core-1.6.0.zip -BuildArch: noarch +Name: python-azure-core +Version: 1.26.1 +Release: 1 +Summary: Microsoft Azure Core Library for Python +License: MIT +URL: https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/core/azure-core +Source0: https://files.pythonhosted.org/packages/4f/ec/3ba46ff4deebe738b7213997fc856553282e971a767b6291e05aca9d9566/azure-core-1.26.1.zip +BuildArch: noarch + %description - Azure Core shared client library for PythonAzure core provides shared +Azure Core shared client library for PythonAzure core provides shared exceptions and modules for Python SDK client libraries. %package -n python3-azure-core -Summary: Microsoft Azure Core Library for Python -Provides: python-azure-core +Summary: Microsoft Azure Core Library for Python +Provides: python-azure-core = %{version}-%{release} # Base build requires -BuildRequires: python3-devel -BuildRequires: python3-setuptools -BuildRequires: python3-pbr -BuildRequires: python3-pip -BuildRequires: python3-wheel +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pbr +BuildRequires: python3-pip +BuildRequires: python3-wheel # General requires -BuildRequires: python3-six -BuildRequires: python3-requests +BuildRequires: python3-six +BuildRequires: python3-requests # General requires -Requires: python3-six -Requires: python3-requests +Requires: python3-requests +Requires: python3-six +Requires: python3-typing-extensions %description -n python3-azure-core - Azure Core shared client library for PythonAzure core provides shared +Azure Core shared client library for PythonAzure core provides shared exceptions and modules for Python SDK client libraries. %package help -Summary: Microsoft Azure Core Library for Python -Provides: python3-azure-core-doc +Summary: Development documents and examples for azure-core +Provides: python3-azure-core-doc %description help - Azure Core shared client library for PythonAzure core provides shared +Azure Core shared client library for PythonAzure core provides shared exceptions and modules for Python SDK client libraries. %prep @@ -45,28 +47,30 @@ exceptions and modules for Python SDK client libraries. %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 +if [ -f README.rst ]; then cp -af README.rst %{buildroot}/%{_pkgdocdir}; fi +if [ -f README.md ]; then cp -af README.md %{buildroot}/%{_pkgdocdir}; fi +if [ -f README.txt ]; then cp -af README.txt %{buildroot}/%{_pkgdocdir}; fi pushd %{buildroot} if [ -d usr/lib ]; then - find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst + 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 + 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 . @@ -79,6 +83,8 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog +* Fri Dec 02 2022 wangjunqi - 1.26.1-1 +- Update package to version 1.26.1 + * Mon Jul 25 2022 renliang16 - 1.6.0-1 - Init package python3-azure-core of version 1.6.0 -