- Fixed install section.

This commit is contained in:
Lillian Angel 2007-11-23 16:15:59 +00:00
parent fbed822fb0
commit 20a66d1883

View File

@ -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 <langel at redhat.com> - 0:1.2-1
- Fixed install section.
* Fri Nov 23 2007 Lillian Angel <langel at redhat.com> - 0:1.2-1
- Fixed rpmlint errors.