upgrade azure-iot-sdk-c, azure-storage-cpp (#2128)

* upgrade azure-iot-sdk-c, azure-storage-cpp

* upgrade azure-storage-cpp

* add change in cgmanifest

Co-authored-by: nicolas guibourge <nicolasg@microsoft.com>
This commit is contained in:
nicolas guibourge 2022-02-08 08:36:21 -08:00 коммит произвёл GitHub
Родитель 2a8154412c
Коммит 2374067509
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
5 изменённых файлов: 29 добавлений и 30 удалений

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

@ -1,5 +1,5 @@
{
"Signatures": {
"azure-iot-sdk-c-2020.02.04.1.tar.bz2": "2f8c5d12587d44cde2e0b5c740b9a3cb1eae2d9e35de6de3383d453c1e4a63d7"
"azure-iot-sdk-c-2022.01.21.tar.bz2": "cad40e1cc1e3d691100384cfdb407043ad48e25a67f025d2ac37fbdfd04b12d4"
}
}

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

@ -6,25 +6,27 @@ Name: azure-iot-sdk-c
# For apt-get packages they fix the version number to 0.2.0 and increase the release number with each release.
# Since we want to control the release number as thr distribution, this scheme is not applicable for us.
# They also used to use a regular versioning scheme like 1.3.7 but they did not tag their latest LTS with a version like that.
Version: 2020.02.04.1
Release: 8%{?dist}
# Source0: https://github.com/Azure/%{name}/archive/LTS_02_2020_Ref01.tar.gz
# The below tarball includes all submodules.
# This tarball is created using the following command:
# git clone --recursive --single-branch --branch LTS_02_2020_Ref01 --depth 1 https://github.com/Azure/azure-iot-sdk-c.git
# tar cjvf azure-iot-sdk-c-2020.02.04.1.tar.bz2 azure-iot-sdk-c/
Source0: %{name}-%{version}.tar.bz2
Version: 2022.01.21
Release: 1%{?dist}
License: MIT
Group: Applications/File
URL: https://github.com/Azure/azure-iot-sdk-c
Vendor: Microsoft Corporation
Distribution: Mariner
# Source0: https://github.com/Azure/%{name}/archive/LTS_01_2022_Ref01.tar.gz
# The below tarball includes all submodules.
# This tarball is created using the following command:
# git clone --recursive --single-branch --branch LTS_01_2022_Ref01 --depth 1 https://github.com/Azure/azure-iot-sdk-c.git
# tar cjvf azure-iot-sdk-c-2022.01.21.tar.bz2 azure-iot-sdk-c/
Source0: %{name}-%{version}.tar.bz2
BuildRequires: cmake
BuildRequires: build-essential
BuildRequires: curl-devel
BuildRequires: openssl-devel
BuildRequires: util-linux-devel
BuildRequires: valgrind
Requires: util-linux
Requires: curl
Requires: openssl
@ -64,6 +66,7 @@ export CFLAGS=" %{build_cflags} \
cmake \
-Duse_prov_client:BOOL=ON \
-DCMAKE_SYSTEM_NAME=Linux \
-DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} ..
make %{?_smp_mflags}
@ -77,21 +80,15 @@ install -p -m 755 provisioning_client/tools/tpm_device_provision/tpm_device_prov
%files
%defattr(-, root, root, -)
%license LICENSE
%dir %{_includedir}/azureiot
%{_includedir}/azureiot/*
%dir %{_includedir}/iothub_service_client
%{_includedir}/iothub_service_client/*
%dir %{_includedir}/umock_c
%{_includedir}/umock_c/*
%dir %{_includedir}/azure_macro_utils
%{_includedir}/azure_macro_utils/*
%dir %{_includedir}/azure_prov_client
%{_includedir}/azure_prov_client/*
%{_includedir}/*
%{_bindir}/tpm_device_provision
%{_lib64dir}/*
%{_libdir}/*
/usr/cmake/*
%changelog
* Mon Jan 24 2022 Nicolas Guibourge <nicolasg@microsoft.com> - 2022.01.21-1
- Upgrade to 2022.01.21.
* Thu Dec 16 2021 Pawel Winogrodzki <pawelwi@microsoft.com> - 2020.02.04.1-8
- Removing the explicit %%clean stage.

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

@ -1,5 +1,5 @@
{
"Signatures": {
"azure-storage-cpp-7.3.0.tar.gz" : "d333757a6065ae2d63f8dfac5bf3033fa1e70bd6e518bf7f97e8d256b9154324"
"azure-storage-cpp-7.5.0.tar.gz" : "446a821d115949f6511b7eb01e6a0e4f014b17bfeba0f3dc33a51750a9d5eca5"
}
}

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

@ -2,14 +2,13 @@
Name: azure-storage-cpp
Summary: Azure Storage Client Library for C++
Version: 7.3.0
Release: 2%{?dist}
Version: 7.5.0
Release: 1%{?dist}
License: ASL 2.0
URL: https://azure.github.io/azure-storage-cpp/
Vendor: Microsoft Corporation
Distribution: Mariner
#Source0: https://github.com/Azure/azure-storage-cpp/archive/v%{version}.tar.gz
Source0: %{name}-%{version}.tar.gz
Source0: https://github.com/Azure/azure-storage-cpp/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: util-linux-devel
BuildRequires: openssl-devel
@ -64,6 +63,9 @@ make %{?_smp_mflags} DESTDIR=%{buildroot} install
%{_libdir}/libazurestorage.so
%changelog
* Mon Jan 24 2022 Nicolas Guibourge <nicolasg@microsoft.com> 7.5.0-1
- Upgrade to 7.5.0.
* Fri Oct 16 2020 Jonathan Slobodzian <joslobo@microsoft.com> 7.3.0-2
- License Verified. Update Source0 Location. Integrated into Mariner Core.

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

@ -955,8 +955,8 @@
"type": "other",
"other": {
"name": "azure-iot-sdk-c",
"version": "2020.02.04.1",
"downloadUrl": "https://github.com/Azure/azure-iot-sdk-c/archive/LTS_02_2020_Ref01.tar.gz"
"version": "2022.01.21",
"downloadUrl": "https://github.com/Azure/azure-iot-sdk-c/archive/LTS_01_2022_Ref01.tar.gz"
}
}
},
@ -975,8 +975,8 @@
"type": "other",
"other": {
"name": "azure-storage-cpp",
"version": "7.3.0",
"downloadUrl": "https://github.com/Azure/azure-storage-cpp/archive/v7.3.0.tar.gz"
"version": "7.5.0",
"downloadUrl": "https://github.com/Azure/azure-storage-cpp/archive/v7.5.0.tar.gz"
}
}
},