SPECS: jakarta-commons-dbcp.spec - fix build; rel 2
glen
glen at pld-linux.org
Sun Dec 2 23:40:14 CET 2007
Author: glen Date: Sun Dec 2 22:40:14 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- fix build; rel 2
---- Files affected:
SPECS:
jakarta-commons-dbcp.spec (1.20 -> 1.21)
---- Diffs:
================================================================
Index: SPECS/jakarta-commons-dbcp.spec
diff -u SPECS/jakarta-commons-dbcp.spec:1.20 SPECS/jakarta-commons-dbcp.spec:1.21
--- SPECS/jakarta-commons-dbcp.spec:1.20 Sun Dec 2 22:43:16 2007
+++ SPECS/jakarta-commons-dbcp.spec Sun Dec 2 23:40:09 2007
@@ -6,7 +6,7 @@
Summary(pl.UTF-8): Jakarta Commons DBCP - zarządzanie połączeniem z bazą danych
Name: jakarta-commons-dbcp
Version: 1.2.1
-Release: 1.3
+Release: 2
License: Apache
Group: Development/Languages/Java
Source0: http://www.apache.org/dist/jakarta/commons/dbcp/source/commons-dbcp-%{version}-src.tar.gz
@@ -87,13 +87,11 @@
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_javadir}
-for a in dist/*.jar; do
- jar=${a##*/}
- cp -a dist/$jar $RPM_BUILD_ROOT%{_javadir}/${jar%%.jar}-%{version}.jar
- ln -s ${jar%%.jar}-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/$jar
-done
+# jars
+install dist/commons-dbcp.jar $RPM_BUILD_ROOT%{_javadir}/commons-dbcp-%{version}.jar
+ln -sf commons-dbcp-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/commons-dbcp.jar
-install pool-tomcat5/commons-dbcp-tomcat5.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-tomcat5-%{version}.jar
+install dbcp-tomcat5/commons-dbcp-tomcat5.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-tomcat5-%{version}.jar
ln -sf %{name}-tomcat5-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-tomcat5.jar
# javadoc
@@ -129,6 +127,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.21 2007-12-02 22:40:09 glen
+- fix build; rel 2
+
Revision 1.20 2007-12-02 21:43:16 glen
- build -tomcat5 dependency instead of -source for tomcat
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/jakarta-commons-dbcp.spec?r1=1.20&r2=1.21&f=u
More information about the pld-cvs-commit
mailing list