Compare commits

...
Sign in to create a new pull request.

16 commits

Author SHA1 Message Date
Python Maint
4733705da3 Rebuilt for Python 3.14.0rc3 bytecode 2025-09-19 12:49:31 +02:00
Python Maint
56fa9c217f Rebuilt for Python 3.14.0rc2 bytecode 2025-08-15 13:18:33 +02:00
Fedora Release Engineering
f5e4ebda20 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-25 06:50:38 +00:00
Python Maint
2306b8ed01 Rebuilt for Python 3.14 2025-06-04 01:20:47 +02:00
Fedora Release Engineering
6b6e85033b Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-18 12:13:08 +00:00
Fedora Release Engineering
af915c3dba Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-19 09:46:19 +00:00
Python Maint
8aabaa44f1 Rebuilt for Python 3.13 2024-06-08 10:29:19 +02:00
Fedora Release Engineering
7bac94a680 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-26 01:41:15 +00:00
Fedora Release Engineering
e8bb5774da Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-21 23:35:25 +00:00
Fedora Release Engineering
4e8681fbe4 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-21 07:39:03 +00:00
Python Maint
03a4db1935 Rebuilt for Python 3.12 2023-06-29 12:56:37 +02:00
Major Hayden
7c9ae47794
-S
Migrated to SPDX license

Signed-off-by: Major Hayden <major@redhat.com>
2023-05-08 13:56:22 -05:00
Fedora Release Engineering
fbfd5f422b Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-20 11:30:09 +00:00
Fedora Release Engineering
bf2a2794a8 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-22 16:37:45 +00:00
Major Hayden
f25fde65f2
Add import test 2022-06-28 13:22:43 -05:00
Python Maint
39fe260e0e Rebuilt for Python 3.11 2022-06-15 15:33:50 +02:00
4 changed files with 31 additions and 5 deletions

1
.gitignore vendored
View file

@ -1,2 +1,3 @@
/azure-mgmt-cdn-11.0.0.zip
/azure-mgmt-cdn-12.0.0.zip
/azure-mgmt-cdn-12.0.0.tgz

21
generate-source.sh Executable file
View file

@ -0,0 +1,21 @@
#!/bin/bash
set -euxo pipefail
export VERSION=12.0.0
export PACKAGE_NAME=azure-mgmt-cdn
WORKING_DIR=$(pwd)
# Download the release and unpack it.
curl -LO https://github.com/Azure/azure-sdk-for-python/archive/refs/tags/${PACKAGE_NAME}_${VERSION}.tar.gz
tar xzf ${PACKAGE_NAME}_${VERSION}.tar.gz
# Find the package directory in the SDK release and the parent directory.
PACKAGE_DIR=$(find azure-sdk-for-python-${PACKAGE_NAME}_${VERSION} -type d -name $PACKAGE_NAME)
PARENT_DIR=$(dirname $PACKAGE_DIR)
# Build a tarball with a prefix directory that contains the package name and
# version. Store that in the directory where the script is running.
pushd $PARENT_DIR
tar --transform "s/^${PACKAGE_NAME}/${PACKAGE_NAME}-${VERSION}/" -cz \
-f ${WORKING_DIR}/${PACKAGE_NAME}-${VERSION}.tgz $PACKAGE_NAME
popd

View file

@ -9,17 +9,19 @@ Release: %autorelease
Summary: Microsoft Azure CDN Client Library for Python
License: MIT
URL: https://pypi.org/project/%{srcname}/
Source0: %{pypi_source %{srcname} %{version} zip}
# This source comes from making a git archive of the main azure-sdk-for-python
# repository. To reproduce the source code, run the generate-source.sh script.
Source0: %{srcname}-%{version}.tgz
BuildArch: noarch
BuildRequires: python3-devel
%if %{with tests}
BuildRequires: python3-azure-sdk-tools
BuildRequires: python3dist(azure-devtools)
BuildRequires: python3dist(azure-mgmt-keyvault)
BuildRequires: python3dist(azure-mgmt-resource)
BuildRequires: python3dist(azure-sdk-tools)
BuildRequires: python3dist(pytest)
BuildRequires: python3dist(python-dotenv)
%endif
@ -40,15 +42,17 @@ Summary: %{summary}
%generate_buildrequires
%pyproject_buildrequires -r
%pyproject_buildrequires
%build
%pyproject_wheel
%if %{with tests}
%check
%pyproject_check_import
%if %{with tests}
%pytest
%endif

View file

@ -1 +1 @@
SHA512 (azure-mgmt-cdn-12.0.0.zip) = 820a97f94bdff877b81a7825b5f85b7114fd1063a02cd6c9718850c35b9f0432029961a0d934c3e18985f6815aad65332f249db7c86b09ed35ad8a08eb5ad856
SHA512 (azure-mgmt-cdn-12.0.0.tgz) = 5554c39ecc8ed2fc097c9b597b67cf6088e81e088ea579773da1cfacc0da41f71286b7dada0459fdaa1be3d52fbfd9a8fc903bec56e11635c6c71eee9efc7fb9