Added py3_test macro

This commit is contained in:
Denis Silakov 2016-11-15 18:01:43 +03:00
parent b7026d01a0
commit 6cf3a8212b
2 changed files with 5 additions and 1 deletions

View file

@ -19,3 +19,7 @@ CFLAGS="%{optflags}" %{__python3} %{py_setup} %{?py_setup_args} build --executab
%py3_install() %{expand:\
CFLAGS="%{optflags}" %{__python3} %{py_setup} %{?py_setup_args} install -O1 --skip-build --root %{buildroot} %{?1}\
}
%py3_test() %{expand:\
%{__python3} %{py_setup} %{?py_setup_args} test %{?1}\
}

View file

@ -34,7 +34,7 @@
Summary: An interpreted, interactive object-oriented programming language
Name: python3
Version: 3.5.2
Release: 2
Release: 3
License: Modified CNRI Open Source License
Group: Development/Python