Revert "Add %check section to run basic tests during rpm build process"
The check is not necessary since it's part of the CI and brings needless dependencies. This reverts commitsfa6f003ec4
and4dc4b32e96
.
This commit is contained in:
parent
1adfa9bfe1
commit
d4f16fdce9
@ -6,9 +6,8 @@ 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
|
||||||
|
Loading…
Reference in New Issue
Block a user