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:
parent
70ebd824cd
commit
333d5d0bb7
10
udica.spec
10
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 <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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user