Change source0 for python-msal & python-msrestazure (#5095)

* python-msrestazure: change source0 to %{name}-%{version}
* python-msal: change source0 to %{name}-%{version}

Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com>
This commit is contained in:
Muhammad Falak R Wani 2023-03-15 19:04:39 +05:30 коммит произвёл GitHub
Родитель 70cf720dfd
Коммит 266fa17e3a
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
4 изменённых файлов: 14 добавлений и 10 удалений

Просмотреть файл

@ -1,5 +1,5 @@
{
"Signatures": {
"microsoft-authentication-library-for-python-1.18.0b1.tar.gz": "81456fa8caf5b1f36e3fb46221e8b8e29f1763e18777146259d3bf41e470f9ce"
"python-msal-1.18.0b1.tar.gz": "81456fa8caf5b1f36e3fb46221e8b8e29f1763e18777146259d3bf41e470f9ce"
}
}

Просмотреть файл

@ -2,7 +2,6 @@
%global forgeurl https://github.com/AzureAD/microsoft-authentication-library-for-python/
%global pypi_version 1.18.0b1
%global tag %{pypi_version}
%forgemeta
# Most of the tests require network access, so they are disabled by default.
%bcond_with tests
@ -11,12 +10,12 @@ Vendor: Microsoft Corporation
Distribution: Mariner
Version: 1.18.0~b1
Name: python-%{srcname}
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Microsoft Authentication Library (MSAL) for Python
License: MIT
URL: %forgeurl
Source0: %forgesource
Source0: https://github.com/AzureAD/microsoft-authentication-library-for-python/archive/%{pypi_version}/microsoft-authentication-library-for-python-%{pypi_version}.tar.gz#/%{name}-%{pypi_version}.tar.gz
BuildArch: noarch
@ -49,7 +48,7 @@ Summary: %{summary}
%prep
%forgeautosetup -p1
%autosetup -p1 -n microsoft-authentication-library-for-python-%{pypi_version}
%generate_buildrequires
@ -74,6 +73,9 @@ Summary: %{summary}
%changelog
* Wed Mar 15 2023 Muhammad Falak <mwani@microsoft.com> - 1.18.0~b1-3
- Rename Source0 to `%{name}-%{version}.extension
* Fri Mar 03 2023 Muhammad Falak <mwani@microsoft.com> - 1.18.0~b1-2
- Convert 'Release' tag to '[number].[distribution]' format
- Initial CBL-Mariner import from Fedora 36 (license: MIT).

Просмотреть файл

@ -1,5 +1,5 @@
{
"Signatures": {
"msrestazure-for-python-0.6.4.tar.gz": "7e9ca8fccf8fc24286f8aaef90e69534c92989d3f2eaebc83fd59523f30d7a4a"
"python-msrestazure-0.6.4.tar.gz": "7e9ca8fccf8fc24286f8aaef90e69534c92989d3f2eaebc83fd59523f30d7a4a"
}
}

Просмотреть файл

@ -8,13 +8,12 @@ Vendor: Microsoft Corporation
Distribution: Mariner
Version: 0.6.4
Name: python-%{srcname}
Release: 9%{?dist}
Release: 10%{?dist}
License: MIT
%global tag v%{version}
%forgemeta
URL: %forgeurl
Source0: %forgesource
Source0: https://github.com/Azure/msrestazure-for-python/archive/v%{version}/msrestazure-for-python-%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildArch: noarch
@ -45,7 +44,7 @@ Summary: %{summary}
%prep
%forgeautosetup -p1
%autosetup -p1 -n msrestazure-for-python-%{version}
%generate_buildrequires
@ -71,6 +70,9 @@ Summary: %{summary}
%changelog
* Wed Mar 15 2023 Muhammad Falak <mwani@microsoft.com> - 0.6.4-10
- Rename Source0 to `%{name}-%{version}.extension
* Fri Mar 03 2023 Muhammad Falak <mwani@microsoft.com> - 0.6.4-9
- Convert 'Release' tag to '[number].[distribution]' format
- Initial CBL-Mariner import from Fedora 36 (license: MIT).