- Install unversioned javadoc.
This commit is contained in:
parent
bf02ada61c
commit
6e0b8a7e5d
@ -30,7 +30,7 @@
|
|||||||
|
|
||||||
Name: jdepend
|
Name: jdepend
|
||||||
Version: 2.9.1
|
Version: 2.9.1
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Epoch: 0
|
Epoch: 0
|
||||||
Summary: Java Design Quality Metrics
|
Summary: Java Design Quality Metrics
|
||||||
License: BSD
|
License: BSD
|
||||||
@ -84,6 +84,7 @@ install -m 644 dist/%{name}-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-%{
|
|||||||
# javadoc
|
# javadoc
|
||||||
install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
|
install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
|
||||||
cp -pr build/docs/api/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
|
cp -pr build/docs/api/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
|
||||||
|
ln -s %{name}-%{version} $RPM_BUILD_ROOT%{_javadocdir}/%{name}
|
||||||
rm -rf build/docs/api
|
rm -rf build/docs/api
|
||||||
# demo
|
# demo
|
||||||
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/%{name}
|
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/%{name}
|
||||||
@ -100,12 +101,16 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%files javadoc
|
%files javadoc
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_javadocdir}/%{name}-%{version}
|
%{_javadocdir}/%{name}-%{version}
|
||||||
|
%{_javadocdir}/%{name}
|
||||||
|
|
||||||
%files demo
|
%files demo
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_datadir}/%{name}
|
%{_datadir}/%{name}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Jan 9 2010 Alexander Kurtakov <akurtako@redhat.com> 0:2.9.1-2
|
||||||
|
- Install unversioned javadoc.
|
||||||
|
|
||||||
* Sat Jan 9 2010 Alexander Kurtakov <akurtako@redhat.com> 0:2.9.1-1
|
* Sat Jan 9 2010 Alexander Kurtakov <akurtako@redhat.com> 0:2.9.1-1
|
||||||
- Update to upstream 2.9.1.
|
- Update to upstream 2.9.1.
|
||||||
- Fix merge review comments rhbz #225942.
|
- Fix merge review comments rhbz #225942.
|
||||||
|
Loading…
Reference in New Issue
Block a user