* Sun Dec 13 2020 Lukas Vrabec <lvrabec@redhat.com> - 0.2.4-2

- Add %check section to run basic tests during rpm build process
This commit is contained in:
Lukas Vrabec 2020-12-13 15:23:31 +01:00
parent 651491f476
commit fa6f003ec4
No known key found for this signature in database
GPG Key ID: 47201AC42F29CE06

View File

@ -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 <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
- New rebase https://github.com/containers/udica/releases/tag/v0.2.4