Fix sources

This commit is contained in:
Major Hayden 2021-08-11 10:07:05 -05:00
commit 12b9297bd5
No known key found for this signature in database
GPG key ID: 737051E0C1011FB1
4 changed files with 24 additions and 6 deletions

View file

@ -1,19 +1,16 @@
# The last versioned release of the devtools code is 1.2.1, but upstream
# continues to update it without bumping the version. 😞
%global srcname azure-devtools
%global forgeurl https://github.com/Azure/azure-sdk-for-python/
%global commit a5a4ef4a7adc8c730dd7da2e9e3bdb43c9376586
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global distprefix %{nil}
%global short_version 1.2.1
%forgemeta
Name: python-%{srcname}
Version: %{short_version}~git.3.%{shortcommit}
Release: 1%{?dist}
Summary: Microsoft Azure Development Tools for SDK
License: MIT and ASL 2.0
URL: %forgeurl
URL: https://github.com/Azure/azure-sdk-for-python/
Source0: azure-devtools-%{commit}.tar.gz
# The azure-sdk-for-python repository is huge at > 160MB, but we only need ~
# 100KB of source for this package. Use this script to generate a tarball of the