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#fa6f003ec4023f3ffac7eb7d01e1e79fccf51a04
This commit is contained in:
DistroBaker 2020-12-15 11:12:39 +00:00
parent 70ebd824cd
commit 333d5d0bb7

View File

@ -1,13 +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: 1%{?dist} Release: 2%{?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
%if 0%{?fedora} || 0%{?rhel} > 7 %if 0%{?fedora} || 0%{?rhel} > 7
BuildRequires: python3 python3-devel python3-setuptools BuildRequires: python3 python3-devel python3-setuptools python3-pyflakes black
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
@ -40,6 +40,9 @@ 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
@ -60,6 +63,9 @@ install -m 0644 udica/man/man8/udica.8 %{buildroot}%{_mandir}/man8/udica.8
%endif %endif
%changelog %changelog
* Sun Dec 13 2020 Lukas Vrabec <lvrabec@redhat.com> - 0.2.4-2
- Add %check section to run basic tests during rpm build process
* Wed Nov 25 2020 Lukas Vrabec <lvrabec@redhat.com> - 0.2.4-1 * Wed Nov 25 2020 Lukas Vrabec <lvrabec@redhat.com> - 0.2.4-1
- New rebase https://github.com/containers/udica/releases/tag/v0.2.4 - New rebase https://github.com/containers/udica/releases/tag/v0.2.4