Accepting request 1064155 from Java:packages

cleanup

OBS-URL: https://build.opensuse.org/request/show/1064155
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apache-sshd?expand=0&rev=5
This commit is contained in:
Dominique Leuenberger 2023-02-10 13:35:27 +00:00 committed by Git OBS Bridge
commit 7c35460508
2 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Feb 10 07:26:34 UTC 2023 - Fridrich Strba <fstrba@suse.com>
- Clean-up the spec a bit
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Nov 16 11:36:21 UTC 2022 - Fridrich Strba <fstrba@suse.com> Wed Nov 16 11:36:21 UTC 2022 - Fridrich Strba <fstrba@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package apache-sshd # spec file for package apache-sshd
# #
# Copyright (c) 2022 SUSE LLC # Copyright (c) 2023 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -66,21 +66,24 @@ This package provides %{name}.
%patch1 -p1 %patch1 -p1
rm -rf sshd-core/src/main/java/org/apache/sshd/agent/unix rm -rf sshd-core/src/main/java/org/apache/sshd/agent/unix
%pom_remove_dep -r tomcat:tomcat-apr
# Avoid unnecessary dep on spring framework # Avoid unnecessary dep on spring framework
%pom_remove_dep :spring-framework-bom %pom_remove_dep :spring-framework-bom
%pom_remove_dep :testcontainers-bom sshd-sftp sshd-core %pom_remove_dep :testcontainers-bom sshd-sftp sshd-core
# Build the core modules only # Build the core modules only
%pom_disable_module assembly
%pom_disable_module sshd-mina %pom_disable_module sshd-mina
%pom_remove_dep -r org.apache.sshd:sshd-mina
%pom_disable_module sshd-netty %pom_disable_module sshd-netty
%pom_disable_module sshd-ldap %pom_disable_module sshd-ldap
%pom_disable_module sshd-git %pom_disable_module sshd-git
%pom_disable_module sshd-contrib %pom_disable_module sshd-contrib
%pom_disable_module sshd-spring-sftp %pom_disable_module sshd-spring-sftp
%pom_remove_dep -r org.apache.sshd:sshd-spring-sftp
%pom_disable_module sshd-cli %pom_disable_module sshd-cli
%pom_disable_module sshd-openpgp %pom_disable_module sshd-openpgp
%pom_disable_module assembly
# Disable plugins we don't need for RPM builds # Disable plugins we don't need for RPM builds
%pom_remove_plugin :apache-rat-plugin %pom_remove_plugin :apache-rat-plugin