Fridrich Strba 2022-03-18 05:56:00 +00:00 committed by Git OBS Bridge
parent b15d4ece35
commit f5c49d5b03
2 changed files with 11 additions and 5 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Mar 18 05:54:50 UTC 2022 - Fridrich Strba <fstrba@suse.com>
- Install the jar directly to the /usr/share/java as
glassfish-jaxb-api.jar
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Mar 17 06:55:49 UTC 2022 - Fridrich Strba <fstrba@suse.com> Thu Mar 17 06:55:49 UTC 2022 - Fridrich Strba <fstrba@suse.com>

View File

@ -81,13 +81,13 @@ popd
%install %install
# jar # jar
install -d -m 755 %{buildroot}%{_javadir}/%{name} install -d -m 755 %{buildroot}%{_javadir}
install -m 644 %{bundle}/target/%{bundle}-%{version}.jar %{buildroot}%{_javadir}/%{name}/%{bundle}.jar install -m 644 %{bundle}/target/%{bundle}-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar
# pom # pom
install -d -m 755 %{buildroot}%{_mavenpomdir}/%{name} install -d -m 755 %{buildroot}%{_mavenpomdir}
install -pm 644 %{bundle}/pom.xml %{buildroot}%{_mavenpomdir}/%{name}/%{bundle}.pom install -pm 644 %{bundle}/pom.xml %{buildroot}%{_mavenpomdir}/%{name}.pom
%add_maven_depmap %{name}/%{bundle}.pom %{name}/%{bundle}.jar %add_maven_depmap %{name}.pom %{name}.jar
# javadoc # javadoc
install -d -m 755 %{buildroot}%{_javadocdir}/%{name} install -d -m 755 %{buildroot}%{_javadocdir}/%{name}