Move velocity-2 dependencies to codegenerator

While these missing dependencies become apparent during the build of
stringprep, they are actually for the codegenerator.  Moving the
dependencies to codegenerator, which is not shipped, leaves
stringprep with no dependencies beyond Java itself, which is correct.

Resolves: RHEL-27988
This commit is contained in:
Yaakov Selkowitz 2024-03-04 12:56:51 -05:00
parent 70063cfdf0
commit f7af3e010d

View File

@ -2,7 +2,7 @@
Name: ongres-%upstream_name Name: ongres-%upstream_name
Version: 1.1 Version: 1.1
Release: 10%{?dist} Release: 11%{?dist}
Summary: RFC 3454 Preparation of Internationalized Strings in pure Java Summary: RFC 3454 Preparation of Internationalized Strings in pure Java
License: BSD-2-Clause AND Apache-2.0 License: BSD-2-Clause AND Apache-2.0
URL: https://github.com/ongres/%upstream_name URL: https://github.com/ongres/%upstream_name
@ -34,8 +34,8 @@ This package contains javadoc for %{name}
find \( -name '*.jar' -o -name '*.class' \) -delete find \( -name '*.jar' -o -name '*.class' \) -delete
# velocity-2 dependencies # velocity-2 dependencies
%pom_add_dep org.apache.commons:commons-lang3 stringprep %pom_add_dep org.apache.commons:commons-lang3 codegenerator
%pom_add_dep org.slf4j:slf4j-simple stringprep %pom_add_dep org.slf4j:slf4j-simple codegenerator
%pom_remove_dep :velocity-tools codegenerator %pom_remove_dep :velocity-tools codegenerator
@ -59,6 +59,9 @@ find \( -name '*.jar' -o -name '*.class' \) -delete
%license LICENSE %license LICENSE
%changelog %changelog
* Mon Mar 04 2024 Yaakov Selkowitz <yselkowi@redhat.com> - 1.1-11
- Move velocity-2 dependencies to codegenerator
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-10 * Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild