!1 Add python-pycadf package and spec file
From: @joec88 Reviewed-by: @georgecao Signed-off-by:
This commit is contained in:
commit
6bf20d9ef4
@ -1,7 +1,7 @@
|
|||||||
# python-pycadf
|
# python-pycadf
|
||||||
|
|
||||||
#### 介绍
|
#### 介绍
|
||||||
CADF Python module
|
This library provides an auditing data model based on the Cloud Auditing Data Federation specification, primarily for use by OpenStack. The goal is to establish strict expectations about what auditors can expect from audit notifications.
|
||||||
|
|
||||||
#### 软件架构
|
#### 软件架构
|
||||||
软件架构说明
|
软件架构说明
|
||||||
|
|||||||
BIN
pycadf-3.1.1.tar.gz
Normal file
BIN
pycadf-3.1.1.tar.gz
Normal file
Binary file not shown.
76
python-pycadf.spec
Normal file
76
python-pycadf.spec
Normal file
@ -0,0 +1,76 @@
|
|||||||
|
|
||||||
|
Name: python-pycadf
|
||||||
|
Version: 3.1.1
|
||||||
|
Release: 1
|
||||||
|
Summary: CADF Python module
|
||||||
|
License: Apache Software License
|
||||||
|
URL: https://docs.openstack.org/pycadf/latest/
|
||||||
|
Source0: https://files.pythonhosted.org/packages/83/5a/45506b000bf13fee4da64304aec169f9cddd0704add9a0339fd61f76a25c/pycadf-3.1.1.tar.gz
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description
|
||||||
|
This library provides an auditing data model based on \
|
||||||
|
the Cloud Auditing Data Federation specification, primarily \
|
||||||
|
for use by OpenStack. The goal is to establish strict expectations \
|
||||||
|
about what auditors can expect from audit notifications.
|
||||||
|
|
||||||
|
|
||||||
|
%package -n python3-pycadf
|
||||||
|
Summary: CADF Python module
|
||||||
|
BuildRequires: python3-devel
|
||||||
|
BuildRequires: python3-setuptools
|
||||||
|
BuildRequires: python3-pbr
|
||||||
|
|
||||||
|
Requires: python3-debtcollector >= 1.2.0
|
||||||
|
Requires: python3-oslo-config
|
||||||
|
Requires: python3-oslo-serialization >= 2.18.0
|
||||||
|
Requires: python3-pytz
|
||||||
|
Requires: python3-six >= 1.10.0
|
||||||
|
Requires: python-pycadf-common = %{version}-%{release}
|
||||||
|
|
||||||
|
%description -n python3-pycadf
|
||||||
|
This library provides an auditing data model based on \
|
||||||
|
the Cloud Auditing Data Federation specification, primarily \
|
||||||
|
for use by OpenStack. The goal is to establish strict expectations \
|
||||||
|
about what auditors can expect from audit notifications.
|
||||||
|
|
||||||
|
%package -n python-pycadf-common
|
||||||
|
Summary: CADF Python module
|
||||||
|
|
||||||
|
%description -n python-pycadf-common
|
||||||
|
This library provides an auditing data model based on \
|
||||||
|
the Cloud Auditing Data Federation specification, primarily \
|
||||||
|
for use by OpenStack. The goal is to establish strict expectations \
|
||||||
|
about what auditors can expect from audit notifications.
|
||||||
|
|
||||||
|
|
||||||
|
%prep
|
||||||
|
|
||||||
|
%setup -q -n pycadf-3.1.1
|
||||||
|
rm -rf pycadf.egg-info
|
||||||
|
|
||||||
|
%build
|
||||||
|
%{py3_build}
|
||||||
|
|
||||||
|
%install
|
||||||
|
%{py3_install}
|
||||||
|
|
||||||
|
mkdir -p %{buildroot}/%{_sysconfdir}
|
||||||
|
mv %{buildroot}/usr/etc/pycadf %{buildroot}/%{_sysconfdir}/
|
||||||
|
|
||||||
|
%files -n python3-pycadf
|
||||||
|
%{python3_sitelib}/pycadf
|
||||||
|
%{python3_sitelib}/pycadf-3.1.1-py%{python3_version}.egg-info
|
||||||
|
|
||||||
|
%files -n python-pycadf-common
|
||||||
|
%doc README.rst
|
||||||
|
%license LICENSE
|
||||||
|
%dir %{_sysconfdir}/pycadf
|
||||||
|
%config(noreplace) %{_sysconfdir}/pycadf/*.conf
|
||||||
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Wed Dec 30 2020 Python_Bot <Python_Bot@openeuler.org>
|
||||||
|
- Package Spec generated
|
||||||
|
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user