This commit is contained in:
parent
e16cfb80b9
commit
71b1f8db05
@ -30,24 +30,6 @@ Name: javapackages-tools-%{flavor}
|
||||
%else
|
||||
Name: javapackages-tools
|
||||
%endif
|
||||
%if %{with python}
|
||||
%if 0%{?suse_version} >= 1550
|
||||
# TW: generate subpackages for every python3 flavor
|
||||
%define python_subpackage_only 1
|
||||
%else
|
||||
%python_subpackages
|
||||
%define python_sitelib %{python3_sitelib}
|
||||
%define python_files() -n python3-%{**}
|
||||
%endif
|
||||
BuildRequires: %{python_module lxml}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildArch: noarch
|
||||
%else
|
||||
Provides: mvn(com.sun:tools) = SYSTEM
|
||||
Provides: mvn(sun.jdk:jconsole) = SYSTEM
|
||||
%endif
|
||||
Version: 6.1.0
|
||||
Release: 0
|
||||
Summary: Macros and scripts for Java packaging support
|
||||
@ -70,14 +52,32 @@ BuildRequires: fdupes
|
||||
BuildRequires: perl
|
||||
BuildRequires: rpm
|
||||
BuildRequires: xmlto
|
||||
%if %{with python}
|
||||
BuildRequires: javapackages-filesystem
|
||||
%else
|
||||
Requires: javapackages-filesystem = %{version}-%{release}
|
||||
%endif
|
||||
# Used on too many places
|
||||
Provides: jpackage-utils = %{version}
|
||||
Obsoletes: %{name}-doc
|
||||
Obsoletes: jpackage-utils < %{version}
|
||||
%if %{with python}
|
||||
BuildRequires: javapackages-filesystem
|
||||
BuildRequires: %{python_module lxml}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildArch: noarch
|
||||
%if 0%{?suse_version} >= 1550
|
||||
# TW: generate subpackages for every python3 flavor
|
||||
%define python_subpackage_only 1
|
||||
%python_subpackages
|
||||
%else
|
||||
Requires: javapackages-filesystem = %{version}-%{release}
|
||||
%define python_sitelib %python3_sitelib
|
||||
%define python_files() -n python3-%{**}
|
||||
%endif
|
||||
%else
|
||||
Provides: mvn(com.sun:tools) = SYSTEM
|
||||
Provides: mvn(sun.jdk:jconsole) = SYSTEM
|
||||
%endif
|
||||
|
||||
%description
|
||||
@ -107,7 +107,6 @@ allows artifact resolution using XMvn resolver.
|
||||
Summary: Module for handling various files for Java packaging
|
||||
Group: Development/Languages/Java
|
||||
Requires: python-lxml
|
||||
Requires: python-xml
|
||||
|
||||
%description -n python-javapackages
|
||||
Module for handling, querying and manipulating of various files for Java
|
||||
|
Loading…
Reference in New Issue
Block a user