This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
#
|
||||
|
||||
|
||||
%global flavor @BUILD_FLAVOR@%{nil}
|
||||
%if "%{flavor}" == "extras"
|
||||
%bcond_without extras
|
||||
%else
|
||||
@@ -49,8 +50,7 @@ BuildRequires: mvn(org.slf4j:jcl-over-slf4j)
|
||||
BuildRequires: mvn(org.slf4j:slf4j-api)
|
||||
BuildArch: noarch
|
||||
%if %{with extras}
|
||||
Name: apache-sshd-extras
|
||||
BuildRequires: mvn(io.netty:netty-bom:pom:)
|
||||
Name: apache-sshd-%{flavor}
|
||||
BuildRequires: mvn(io.netty:netty-handler)
|
||||
BuildRequires: mvn(io.netty:netty-transport)
|
||||
BuildRequires: mvn(org.apache.maven.plugins:maven-assembly-plugin)
|
||||
@@ -106,6 +106,7 @@ rm -rf sshd-core/src/main/java/org/apache/sshd/agent/unix
|
||||
%pom_remove_dep -r org.apache.sshd:sshd-openpgp
|
||||
# don't require bom that we don't package
|
||||
%pom_remove_dep org.testcontainers:testcontainers-bom sshd-scp
|
||||
%pom_remove_dep :netty-bom sshd-netty
|
||||
|
||||
%if %{with extras}
|
||||
%pom_disable_module sshd-common
|
||||
|
Reference in New Issue
Block a user