From d29ca48b18a7204e694c28b6316c5a01c2e729b26d163bedbbc84ea86ebdfb0f Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Tue, 12 Jul 2022 09:29:23 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/Java:packages/glassfish-activation?expand=0&rev=9 --- glassfish-activation.changes | 6 ++++++ glassfish-activation.spec | 9 +++++++-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/glassfish-activation.changes b/glassfish-activation.changes index 4e9d4a6..d1a85c0 100644 --- a/glassfish-activation.changes +++ b/glassfish-activation.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Jul 12 09:28:43 UTC 2022 - Fridrich Strba + +- Add symlinks to jaf.jar and activation.jar which were part + of the obsoleted gnu-jaf + ------------------------------------------------------------------- Fri Mar 18 16:49:05 UTC 2022 - Fridrich Strba diff --git a/glassfish-activation.spec b/glassfish-activation.spec index 5ddd92f..cc0e03f 100644 --- a/glassfish-activation.spec +++ b/glassfish-activation.spec @@ -28,7 +28,7 @@ Source1: activation-build.xml BuildRequires: ant BuildRequires: fdupes BuildRequires: javapackages-local -Obsoletes: gnu-jaf +Obsoletes: gnu-jaf < %{version} Obsoletes: jaf BuildArch: noarch @@ -41,7 +41,8 @@ bean to perform the operation(s). %package api Summary: JavaBeans Activation Framework API jar -Obsoletes: gnu-jaf +Provides: gnu-jaf = %{version} +Obsoletes: gnu-jaf < %{version} Obsoletes: jaf %description api @@ -90,6 +91,8 @@ popd install -d -m 755 %{buildroot}%{_javadir}/ install -m 644 activation/target/javax.activation-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar install -m 644 activation/target/javax.activation-api-%{version}.jar %{buildroot}%{_javadir}/%{name}-api.jar +ln -sf %{name}-api.jar %{buildroot}%{_javadir}/activation.jar +ln -sf %{name}-api.jar %{buildroot}%{_javadir}/jaf.jar # pom install -d -m 755 %{buildroot}%{_mavenpomdir}/%{name} @@ -108,6 +111,8 @@ cp -r activation/target/site/apidocs/* %{buildroot}/%{_javadocdir}/%{name} %doc README.md %files api -f .mfiles-api +%{_javadir}/activation.jar +%{_javadir}/jaf.jar %license LICENSE.txt %files javadoc