From 6e0b8a7e5d3aabc57de1d433adfca9d1bc6cc34e Mon Sep 17 00:00:00 2001 From: Alexander Kurtakov Date: Sat, 9 Jan 2010 17:31:27 +0000 Subject: [PATCH] - Install unversioned javadoc. --- jdepend.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/jdepend.spec b/jdepend.spec index 8e89bcf..693b21a 100644 --- a/jdepend.spec +++ b/jdepend.spec @@ -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 0:2.9.1-2 +- Install unversioned javadoc. + * Sat Jan 9 2010 Alexander Kurtakov 0:2.9.1-1 - Update to upstream 2.9.1. - Fix merge review comments rhbz #225942.