Merged update from upstream sources

This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/udica.git#b0ad976319f4397b2d3deca2605e6226bdf78256
This commit is contained in:
DistroBaker 2021-03-21 21:51:39 +00:00
parent ab5f5dd297
commit bf66365669

View File

@ -1,14 +1,13 @@
Summary: A tool for generating SELinux security policies for containers Summary: A tool for generating SELinux security policies for containers
Name: udica Name: udica
Version: 0.2.4 Version: 0.2.4
Release: 3%{?dist} Release: 4%{?dist}
Source0: https://github.com/containers/udica/archive/v%{version}.tar.gz Source0: https://github.com/containers/udica/archive/v%{version}.tar.gz
License: GPLv3+ License: GPLv3+
BuildArch: noarch BuildArch: noarch
Url: https://github.com/containers/udica Url: https://github.com/containers/udica
BuildRequires: make
%if 0%{?fedora} || 0%{?rhel} > 7 %if 0%{?fedora} || 0%{?rhel} > 7
BuildRequires: python3 python3-devel python3-setuptools python3-pyflakes black BuildRequires: python3 python3-devel python3-setuptools
Requires: python3 python3-libsemanage python3-libselinux Requires: python3 python3-libsemanage python3-libselinux
%else %else
BuildRequires: python2 python2-devel python2-setuptools BuildRequires: python2 python2-devel python2-setuptools
@ -41,9 +40,6 @@ install --directory %%{buildroot}%{_datadir}/udica/templates
install --directory %{buildroot}%{_mandir}/man8 install --directory %{buildroot}%{_mandir}/man8
install -m 0644 udica/man/man8/udica.8 %{buildroot}%{_mandir}/man8/udica.8 install -m 0644 udica/man/man8/udica.8 %{buildroot}%{_mandir}/man8/udica.8
%check
make test
%files %files
%{_mandir}/man8/udica.8* %{_mandir}/man8/udica.8*
%{_bindir}/udica %{_bindir}/udica
@ -64,6 +60,9 @@ make test
%endif %endif
%changelog %changelog
* Tue Mar 16 2021 Vit Mojzis <vmojzis@redhat.com> - 0.2.4-4
- Remove %check section
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.4-3 * Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.4-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild