diff --git a/xmlgraphics-commons.spec b/xmlgraphics-commons.spec index 4ae61a2..8415479 100644 --- a/xmlgraphics-commons.spec +++ b/xmlgraphics-commons.spec @@ -47,8 +47,7 @@ ant package javadocs %install rm -rf $RPM_BUILD_ROOT -cp -p build/%{name}-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar -chmod 0644 $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar +install -Dpm 0644 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} cp -pr build/javadocs/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version} @@ -69,6 +68,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Fri Nov 23 2007 Lillian Angel - 0:1.2-1 +- Fixed install section. + * Fri Nov 23 2007 Lillian Angel - 0:1.2-1 - Fixed rpmlint errors.