- Do not version javadoc dir.
OBS-URL: https://build.opensuse.org/package/show/Java:packages/ws-jaxme?expand=0&rev=7
This commit is contained in:
parent
93c9946132
commit
034a67cbaf
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 11 14:06:18 UTC 2014 - tchvatal@suse.com
|
||||
|
||||
- Do not version javadoc dir.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 8 10:34:11 UTC 2014 - tchvatal@suse.com
|
||||
|
||||
|
@ -132,12 +132,11 @@ done
|
||||
(cd %{buildroot}%{_javadir}/%{base_name} && for jar in *-%{version}*; do ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"`; done)
|
||||
(cd %{buildroot}%{_javadir}/%{base_name} && for jar in ws-*.jar; do ln -sf ${jar} `echo $jar| sed "s|ws-||g"`; done)
|
||||
#javadoc
|
||||
install -dm 755 %{buildroot}%{_javadocdir}/%{name}-%{version}
|
||||
cp -pr build/docs/src/documentation/content/apidocs %{buildroot}%{_javadocdir}/%{name}-%{version}
|
||||
ln -s %{name}-%{version} %{buildroot}%{_javadocdir}/%{name} # ghost symlink
|
||||
install -dm 755 %{buildroot}%{_javadocdir}/%{name}
|
||||
cp -pr build/docs/src/documentation/content/apidocs %{buildroot}%{_javadocdir}/%{name}
|
||||
#manual
|
||||
install -dm 755 %{buildroot}%{_docdir}/%{name}-%{version}
|
||||
cp -pr build/docs/src/documentation/content/manual %{buildroot}%{_docdir}/%{name}-%{version}
|
||||
install -dm 755 %{buildroot}%{_docdir}/%{name}
|
||||
cp -pr build/docs/src/documentation/content/manual %{buildroot}%{_docdir}/%{name}
|
||||
|
||||
%files
|
||||
%defattr(0644,root,root,0755)
|
||||
@ -146,11 +145,10 @@ cp -pr build/docs/src/documentation/content/manual %{buildroot}%{_docdir}/%{name
|
||||
|
||||
%files javadoc
|
||||
%defattr(0644,root,root,0755)
|
||||
%{_javadocdir}/%{name}-%{version}
|
||||
%{_javadocdir}/%{name}
|
||||
|
||||
%files manual
|
||||
%defattr(0644,root,root,0755)
|
||||
%doc %{_docdir}/%{name}-%{version}
|
||||
%doc %{_docdir}/%{name}
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user