SHA256
1
0
forked from pool/adaptx

Accepting request 241497 from Java:packages

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/241497
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/adaptx?expand=0&rev=18
This commit is contained in:
Stephan Kulow 2014-07-22 04:58:02 +00:00 committed by Git OBS Bridge
commit 7d84720fb7
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Jul 11 13:49:39 UTC 2014 - tchvatal@suse.com
- Do not version java docdir.
-------------------------------------------------------------------
Mon Jul 7 13:26:36 UTC 2014 - tchvatal@suse.com

View File

@ -84,8 +84,8 @@ install -d -m 755 %{buildroot}%{_javadir}
install -m 644 dist/%{name}_%{version}.jar %{buildroot}%{_javadir}/%{name}-%{version}.jar
(cd %{buildroot}%{_javadir} && for jar in *-%{version}.jar; do ln -sf ${jar} ${jar/-%{version}/}; done)
# javadoc
install -d -m 755 %{buildroot}%{_javadocdir}/%{name}-%{version}
cp -pr build/doc/javadoc/* %{buildroot}%{_javadocdir}/%{name}-%{version}
install -d -m 755 %{buildroot}%{_javadocdir}/%{name}
cp -pr build/doc/javadoc/* %{buildroot}%{_javadocdir}/%{name}
rm -rf build/doc/javadoc
%files
@ -95,7 +95,7 @@ rm -rf build/doc/javadoc
%files javadoc
%defattr(0664,root,root,0755)
%{_javadocdir}/%{name}-%{version}
%{_javadocdir}/%{name}
%files doc
%defattr(0664,root,root,0755)