Compare commits
4 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 6abf11734a | |||
| a542d96358 | |||
| a9a59bd8ee | |||
| 3b63ab895c |
@@ -1,3 +1,17 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 4 02:20:34 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Use pyproject macros from python-rpm-macros to build and install.
|
||||
- Make use of fdupes.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 22 13:48:03 UTC 2024 - Gayane Osipyan <Gayane.Osipyan@suse.com>
|
||||
|
||||
- update to version 0.2.8
|
||||
* Add ---devices option
|
||||
* Fix generating policy for Crio mounts
|
||||
* Improve code readability based on lint and black findings
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 4 15:38:26 UTC 2023 - Gayane Osipyan <Gayane.Osipyan@suse.com>
|
||||
|
||||
|
||||
21
udica.spec
21
udica.spec
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package udica
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,16 +16,20 @@
|
||||
#
|
||||
|
||||
|
||||
%define pythons python3
|
||||
Name: udica
|
||||
Version: 0.2.7
|
||||
Version: 0.2.8
|
||||
Release: 0
|
||||
Summary: A tool for generating SELinux security policies for containers
|
||||
License: GPL-3.0-or-later
|
||||
URL: https://github.com/containers/udica
|
||||
Source0: https://github.com/containers/udica/archive/v%{version}.tar.gz
|
||||
BuildRequires: python3
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-pip
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: python3-wheel
|
||||
# container-selinux provides policy templates
|
||||
Requires: container-selinux >= 2.168.0-2
|
||||
Requires: python3
|
||||
@@ -42,10 +46,15 @@ inspection of container JSON file.
|
||||
%autosetup -p 1
|
||||
|
||||
%build
|
||||
python3 setup.py build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
python3 setup.py install --single-version-externally-managed --root=%{buildroot}
|
||||
%pyproject_install
|
||||
# pip isn't allowed to write outside of sitelib
|
||||
mkdir -p %{buildroot}%{_datadir}/udica
|
||||
mv %{buildroot}%{python3_sitelib}%{_datadir}/udica %{buildroot}%{_datadir}
|
||||
rm -r %{buildroot}%{python3_sitelib}/usr
|
||||
%fdupes %{buildroot}%{python3_sitelib}
|
||||
|
||||
install --directory %{buildroot}%{_mandir}/man8
|
||||
install -m 0644 udica/man/man8/udica.8 %{buildroot}%{_mandir}/man8/udica.8
|
||||
@@ -59,6 +68,6 @@ install -m 0644 udica/man/man8/udica.8 %{buildroot}%{_mandir}/man8/udica.8
|
||||
|
||||
%license LICENSE
|
||||
%{python3_sitelib}/udica/
|
||||
%{python3_sitelib}/udica-*.egg-info
|
||||
%{python3_sitelib}/udica-%{version}.dist-info
|
||||
|
||||
%changelog
|
||||
|
||||
BIN
v0.2.7.tar.gz
LFS
BIN
v0.2.7.tar.gz
LFS
Binary file not shown.
3
v0.2.8.tar.gz
Normal file
3
v0.2.8.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f5453a3cdc8c7f82ad4155be9356339a579ac6cea21c10b64ca8cfe636854931
|
||||
size 122919
|
||||
Reference in New Issue
Block a user