-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdnf-plugin-azure-auth.spec
41 lines (34 loc) · 1.26 KB
/
dnf-plugin-azure-auth.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Copyright (c) Microsoft Corporation. All rights reserved.
# Highly Confidential Material
Summary: DNF plugin for accessing repos in Azure Blob Storage via Azure AD
Name: dnf-plugin-azure-auth
Version: %%version%%
Release: 1%{?dist}
License: GPLv2
Vendor: Microsoft Corporation
Distribution: Mariner
Group: Applications/Tools
URL: https://github.com/microsoft/dnf-plugin-azure-auth/
Source0: %{name}-%{version}.tar.gz
%global debug_package %{nil}
Requires: python3-dnf
BuildRequires: python3-devel
%description
DNF plugin for accessing repos in Azure Blob Storage via Azure AD
%prep
%setup -q
%install
mkdir -p %{buildroot}%{python3_sitelib}/dnf-plugins/
mkdir -p %{buildroot}%{_sysconfdir}/dnf/plugins/
cp azure_auth.py %{buildroot}%{python3_sitelib}/dnf-plugins/
cp azure_auth.conf %{buildroot}%{_sysconfdir}/dnf/plugins/azure_auth.conf
%files
%defattr(-,root,root)
%config(noreplace) %{_sysconfdir}/dnf/plugins/azure_auth.conf
%{python3_sitelib}/dnf-plugins/azure_auth.py
%{python3_sitelib}/dnf-plugins/__pycache__/azure_auth.*
%changelog
* Fri Oct 04 2024 Tom Fay <[email protected]> - 0.1.0-2
- Build for RHEL 8 and 9
* Thu Sep 19 2024 Tom Fay <[email protected]> - 0.1.0-1
- Original version