- Install unversioned javadoc.

This commit is contained in:
Alexander Kurtakov 2010-01-09 17:31:27 +00:00
parent bf02ada61c
commit 6e0b8a7e5d

View File

@ -30,7 +30,7 @@
Name: jdepend
Version: 2.9.1
Release: 1%{?dist}
Release: 2%{?dist}
Epoch: 0
Summary: Java Design Quality Metrics
License: BSD
@ -84,6 +84,7 @@ install -m 644 dist/%{name}-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-%{
# javadoc
install -d -m 755 $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
# demo
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/%{name}
@ -100,12 +101,16 @@ rm -rf $RPM_BUILD_ROOT
%files javadoc
%defattr(-,root,root)
%{_javadocdir}/%{name}-%{version}
%{_javadocdir}/%{name}
%files demo
%defattr(-,root,root)
%{_datadir}/%{name}
%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
- Update to upstream 2.9.1.
- Fix merge review comments rhbz #225942.