forked from pool/apache-commons-pool
This commit is contained in:
parent
f60bd1758c
commit
e19b50c753
@ -18,10 +18,10 @@
|
|||||||
|
|
||||||
%define base_name pool
|
%define base_name pool
|
||||||
%define short_name commons-%{base_name}
|
%define short_name commons-%{base_name}
|
||||||
Name: jakarta-commons-pool
|
Name: apache-commons-pool
|
||||||
Version: 1.3
|
Version: 1.3
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Jakarta Commons Pool Package
|
Summary: Apache Commons Pool
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
Group: Development/Libraries/Java
|
Group: Development/Libraries/Java
|
||||||
Url: https://commons.apache.org/proper/commons-pool/
|
Url: https://commons.apache.org/proper/commons-pool/
|
||||||
@ -101,7 +101,7 @@ install -d -m 755 %{buildroot}%{_javadir}
|
|||||||
install -m 644 dist/%{short_name}-%{version}.jar %{buildroot}%{_javadir}/%{name}-%{version}.jar
|
install -m 644 dist/%{short_name}-%{version}.jar %{buildroot}%{_javadir}/%{name}-%{version}.jar
|
||||||
#tomcat5 jar
|
#tomcat5 jar
|
||||||
install -m 644 pool-tomcat5/%{short_name}-tomcat5.jar %{buildroot}%{_javadir}/%{name}-tomcat5-%{version}.jar
|
install -m 644 pool-tomcat5/%{short_name}-tomcat5.jar %{buildroot}%{_javadir}/%{name}-tomcat5-%{version}.jar
|
||||||
(cd %{buildroot}%{_javadir} && for jar in *-%{version}*; do ln -sf ${jar} `echo $jar| sed "s|jakarta-||g"`; done)
|
(cd %{buildroot}%{_javadir} && for jar in *-%{version}*; do ln -sf ${jar} `echo $jar| sed "s|apache-||g"`; done)
|
||||||
(cd %{buildroot}%{_javadir} && for jar in *-%{version}*; do ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"`; done)
|
(cd %{buildroot}%{_javadir} && for jar in *-%{version}*; do ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"`; done)
|
||||||
# javadoc
|
# javadoc
|
||||||
install -d -m 755 %{buildroot}%{_javadocdir}/%{name}
|
install -d -m 755 %{buildroot}%{_javadocdir}/%{name}
|
||||||
|
Loading…
Reference in New Issue
Block a user