1
0

Accepting request 988579 from Java:packages

Add symlinks to jaf.jar and activation.jar which were part of the obsoleted gnu-jaf

OBS-URL: https://build.opensuse.org/request/show/988579
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/glassfish-activation?expand=0&rev=3
This commit is contained in:
Dominique Leuenberger 2022-07-13 12:31:50 +00:00 committed by Git OBS Bridge
commit 2ec2ce9ee5
2 changed files with 13 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Jul 12 09:28:43 UTC 2022 - Fridrich Strba <fstrba@suse.com>
- 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 <fstrba@suse.com> Fri Mar 18 16:49:05 UTC 2022 - Fridrich Strba <fstrba@suse.com>

View File

@ -28,7 +28,7 @@ Source1: activation-build.xml
BuildRequires: ant BuildRequires: ant
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: javapackages-local BuildRequires: javapackages-local
Obsoletes: gnu-jaf Obsoletes: gnu-jaf < %{version}
Obsoletes: jaf Obsoletes: jaf
BuildArch: noarch BuildArch: noarch
@ -41,7 +41,8 @@ bean to perform the operation(s).
%package api %package api
Summary: JavaBeans Activation Framework API jar Summary: JavaBeans Activation Framework API jar
Obsoletes: gnu-jaf Provides: gnu-jaf = %{version}
Obsoletes: gnu-jaf < %{version}
Obsoletes: jaf Obsoletes: jaf
%description api %description api
@ -90,6 +91,8 @@ popd
install -d -m 755 %{buildroot}%{_javadir}/ 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-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar
install -m 644 activation/target/javax.activation-api-%{version}.jar %{buildroot}%{_javadir}/%{name}-api.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 # pom
install -d -m 755 %{buildroot}%{_mavenpomdir}/%{name} install -d -m 755 %{buildroot}%{_mavenpomdir}/%{name}
@ -108,6 +111,8 @@ cp -r activation/target/site/apidocs/* %{buildroot}/%{_javadocdir}/%{name}
%doc README.md %doc README.md
%files api -f .mfiles-api %files api -f .mfiles-api
%{_javadir}/activation.jar
%{_javadir}/jaf.jar
%license LICENSE.txt %license LICENSE.txt
%files javadoc %files javadoc