From fbed822fb0780631f5c8441ae32404309bc427e5 Mon Sep 17 00:00:00 2001 From: Lillian Angel Date: Fri, 23 Nov 2007 15:49:08 +0000 Subject: [PATCH] Fixed install --- xmlgraphics-commons.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xmlgraphics-commons.spec b/xmlgraphics-commons.spec index 877fdca..4ae61a2 100644 --- a/xmlgraphics-commons.spec +++ b/xmlgraphics-commons.spec @@ -47,8 +47,8 @@ ant package javadocs %install rm -rf $RPM_BUILD_ROOT -install -d -m 644 build/%{name}-%{version}.jar \ - $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar +cp -p build/%{name}-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar +chmod 0644 $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}