- Fixed install section.
This commit is contained in:
parent
fbed822fb0
commit
20a66d1883
@ -47,8 +47,7 @@ ant package javadocs
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
cp -p build/%{name}-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar
|
install -Dpm 0644 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
|
ln -s %{name}-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}.jar
|
||||||
install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
|
install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
|
||||||
cp -pr build/javadocs/* $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
|
%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
|
* Fri Nov 23 2007 Lillian Angel <langel at redhat.com> - 0:1.2-1
|
||||||
- Fixed rpmlint errors.
|
- Fixed rpmlint errors.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user