SPECS: java-jdbc-stdext.spec - renamed from jdbc-stdext - do not define new...

pawelz pawelz at pld-linux.org
Mon Apr 13 18:30:10 CEST 2009


Author: pawelz                       Date: Mon Apr 13 16:30:09 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- renamed from jdbc-stdext
- do not define new macro for _javadir

---- Files affected:
SPECS:
   java-jdbc-stdext.spec (1.11 -> 1.12) 

---- Diffs:

================================================================
Index: SPECS/java-jdbc-stdext.spec
diff -u SPECS/java-jdbc-stdext.spec:1.11 SPECS/java-jdbc-stdext.spec:1.12
--- SPECS/java-jdbc-stdext.spec:1.11	Tue Feb 13 09:06:36 2007
+++ SPECS/java-jdbc-stdext.spec	Mon Apr 13 18:30:04 2009
@@ -1,18 +1,18 @@
 # $Revision$, $Date$
+%include	/usr/lib/rpm/macros.java
 Summary:	JDBC Standart Extension
 Summary(pl.UTF-8):	Standardowe rozszerzenie JDBC
-Name:		jdbc-stdext
+Name:		java-jdbc-stdext
 Version:	2.0
 Release:	2
 License:	restricted, non-distributable (Sun Binary Code License - see URL)
-Group:		Development/Languages/Java
+Group:		Libraries/Java
 Source0:	jdbc2_0-stdext.jar
 URL:		http://java.sun.com/products/jdbc/
 NoSource:	0
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-
-%define		_javalibdir	%{_datadir}/java
+Obsoletes:	jdbc-stdext
 
 %description
 JDBC 2.0 Standard Extension.
@@ -24,17 +24,17 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_javalibdir}
+install -d $RPM_BUILD_ROOT%{_javadir}
 
-install %{SOURCE0} $RPM_BUILD_ROOT%{_javalibdir}
-ln -sf jdbc2_0-stdext.jar $RPM_BUILD_ROOT%{_javalibdir}/%{name}.jar
+install %{SOURCE0} $RPM_BUILD_ROOT%{_javadir}
+ln -sf jdbc2_0-stdext.jar $RPM_BUILD_ROOT%{_javadir}/jdbc-stdext.jar
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%{_javalibdir}/*.jar
+%{_javadir}/*.jar
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -42,6 +42,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.12  2009/04/13 16:30:04  pawelz
+- renamed from jdbc-stdext
+- do not define new macro for _javadir
+
 Revision 1.11  2007/02/13 08:06:36  glen
 - tabs in preamble
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/java-jdbc-stdext.spec?r1=1.11&r2=1.12&f=u



More information about the pld-cvs-commit mailing list