Tomáš Chvátal 2016-09-29 10:49:11 +00:00 committed by Git OBS Bridge
parent f60bd1758c
commit e19b50c753

View File

@ -18,10 +18,10 @@
%define base_name pool
%define short_name commons-%{base_name}
Name: jakarta-commons-pool
Name: apache-commons-pool
Version: 1.3
Release: 0
Summary: Jakarta Commons Pool Package
Summary: Apache Commons Pool
License: Apache-2.0
Group: Development/Libraries/Java
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
#tomcat5 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)
# javadoc
install -d -m 755 %{buildroot}%{_javadocdir}/%{name}