From 333d5d0bb7c5496727bf1448dc90bcc608155f01 Mon Sep 17 00:00:00 2001 From: DistroBaker Date: Tue, 15 Dec 2020 11:12:39 +0000 Subject: [PATCH] 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 --- udica.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/udica.spec b/udica.spec index fa0d784..2ea7cd3 100644 --- a/udica.spec +++ b/udica.spec @@ -1,13 +1,13 @@ Summary: A tool for generating SELinux security policies for containers Name: udica Version: 0.2.4 -Release: 1%{?dist} +Release: 2%{?dist} Source0: https://github.com/containers/udica/archive/v%{version}.tar.gz License: GPLv3+ BuildArch: noarch Url: https://github.com/containers/udica %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 %else BuildRequires: python2 python2-devel python2-setuptools @@ -40,6 +40,9 @@ install --directory %%{buildroot}%{_datadir}/udica/templates install --directory %{buildroot}%{_mandir}/man8 install -m 0644 udica/man/man8/udica.8 %{buildroot}%{_mandir}/man8/udica.8 +%check +make test + %files %{_mandir}/man8/udica.8* %{_bindir}/udica @@ -60,6 +63,9 @@ install -m 0644 udica/man/man8/udica.8 %{buildroot}%{_mandir}/man8/udica.8 %endif %changelog +* Sun Dec 13 2020 Lukas Vrabec - 0.2.4-2 +- Add %check section to run basic tests during rpm build process + * Wed Nov 25 2020 Lukas Vrabec - 0.2.4-1 - New rebase https://github.com/containers/udica/releases/tag/v0.2.4