76 lines
2.2 KiB
RPMSpec
76 lines
2.2 KiB
RPMSpec
|
|
Name: python-pycadf
|
|
Version: 2.10.0
|
|
Release: 1
|
|
Summary: CADF Python module
|
|
License: Apache-2.0
|
|
URL: https://docs.openstack.org/pycadf/latest/
|
|
Source0: https://files.pythonhosted.org/packages/11/37/dbdcb11f68d0d7735fe08c36c7028dd99a60fa03de8657b8f3ca2b546595/pycadf-2.10.0.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
|
|
Requires: python3-oslo-config
|
|
Requires: python3-oslo-serialization
|
|
Requires: python3-pytz
|
|
Requires: python3-six
|
|
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-2.10.0
|
|
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-2.10.0-py%{python3_version}.egg-info
|
|
|
|
%files -n python-pycadf-common
|
|
%doc README.rst
|
|
%license LICENSE
|
|
%dir %{_sysconfdir}/pycadf
|
|
%config(noreplace) %{_sysconfdir}/pycadf/*.conf
|
|
|
|
|
|
%changelog
|
|
* Mon Nov 15 2021 OpenStack_SIG <openstack@openeuler.org> - 2.10.0-1
|
|
- Init package python3-pycadf of version 2.10.0
|
|
|