Fridrich Strba 2021-07-27 13:40:16 +00:00 committed by Git OBS Bridge
parent 658c4d5f7a
commit 4df04af0cb
3 changed files with 9 additions and 14 deletions

View File

@ -1,14 +0,0 @@
<services>
<service mode="disabled" name="tar_scm">
<param name="url">https://github.com/fedora-java/javapackages.git</param>
<param name="scm">git</param>
<param name="changesgenerate">enable</param>
<param name="filename">javapackages</param>
<param name="versionformat">5.2.0+git%cd.%h</param>
</service>
<service mode="disabled" name="recompress">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
<service mode="disabled" name="set_version"/>
</services>

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Jul 27 13:39:39 UTC 2021 - Fridrich Strba <fstrba@suse.com>
- Do not run tests on SLE12, since python3-test is not accessible
-------------------------------------------------------------------
Thu Mar 25 16:27:58 UTC 2021 - Ben Greiner <code@bnavigator.de>

View File

@ -61,7 +61,9 @@ Obsoletes: %{name}-doc
Obsoletes: jpackage-utils < %{version}
%if %{with python}
BuildRequires: %{python_module lxml}
%if 0%{?suse_version} > 1320
BuildRequires: %{python_module pytest}
%endif
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six}
BuildRequires: python-rpm-macros
@ -216,6 +218,7 @@ rm -rf %{buildroot}%{_datadir}/fedora-review/
%fdupes %{buildroot}/%{_prefix}
%if 0%{?suse_version} > 1320
%check
# reference: ./check, but we don't want to check coverage and don't need old nose
(
@ -233,6 +236,7 @@ pushd ./test
%pytest
popd
%endif
%endif
%if !%{with python}
%files -f files-tools