diff --git a/xmlgraphics-commons.spec b/xmlgraphics-commons.spec index d9a604c..877fdca 100644 --- a/xmlgraphics-commons.spec +++ b/xmlgraphics-commons.spec @@ -47,7 +47,7 @@ ant package javadocs %install rm -rf $RPM_BUILD_ROOT -install -Dpm 644 build/%{name}-%{version}.jar \ +install -d -m 644 build/%{name}-%{version}.jar \ $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar ln -s %{name}-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}.jar install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}