rpms/javasqlite/EL-5 javasqlite-20081006-jnipath.patch, NONE, 1.1 .cvsignore, 1.2, 1.3 javasqlite.spec, 1.2, 1.3 sources, 1.2, 1.3 javasqlite-20080315-jnipath.patch, 1.1, NONE javasqlite-20080420-loadfail.patch, 1.1, NONE javasqlite-20080420-tests.patch, 1.1, NONE
Ville Skyttä
scop at fedoraproject.org
Sun Nov 30 12:26:59 UTC 2008
- Previous message (by thread): rpms/javasqlite/F-10 javasqlite-20081006-jnipath.patch, NONE, 1.1 .cvsignore, 1.3, 1.4 javasqlite.spec, 1.5, 1.6 sources, 1.3, 1.4 javasqlite-20080315-jnipath.patch, 1.1, NONE javasqlite-20080420-loadfail.patch, 1.1, NONE javasqlite-20080420-tests.patch, 1.1, NONE
- Next message (by thread): rpms/python-twisted-conch/devel python-twisted-conch.spec,1.6,1.7
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: scop
Update of /cvs/pkgs/rpms/javasqlite/EL-5
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv13701/EL-5
Modified Files:
.cvsignore javasqlite.spec sources
Added Files:
javasqlite-20081006-jnipath.patch
Removed Files:
javasqlite-20080315-jnipath.patch
javasqlite-20080420-loadfail.patch
javasqlite-20080420-tests.patch
Log Message:
* Sun Nov 30 2008 Ville Skyttä <ville.skytta at iki.fi> - 20081006-2.1
- Own the /usr/lib*/javasqlite dir (#473609).
* Tue Oct 07 2008 Ville Skyttä <ville.skytta at iki.fi> - 20081006-1.1
- 20081006; all upstreamable patches applied upstream.
javasqlite-20081006-jnipath.patch:
--- NEW FILE javasqlite-20081006-jnipath.patch ---
diff -up javasqlite-20081006/Makefile.in.orig javasqlite-20081006/Makefile.in
--- javasqlite-20081006/Makefile.in.orig 2008-10-06 11:05:57.000000000 +0300
+++ javasqlite-20081006/Makefile.in 2008-10-07 19:54:02.000000000 +0300
@@ -150,16 +150,16 @@ configure: configure.in
test:
$(JAVAC) -classpath sqlite.jar:$(PWD) test.java
LD_LIBRARY_PATH="$$LD_LIBRARY_PATH:$(PWD)/.libs" \
- $(JAVA_RUN) -classpath sqlite.jar:$(PWD) test
+ $(JAVA_RUN) -classpath sqlite.jar:$(PWD) -DSQLite.library.path=$(PWD)/.libs test
test2: test
LD_LIBRARY_PATH="$$LD_LIBRARY_PATH:$(PWD)/.libs" \
- $(JAVA_RUN) -classpath sqlite.jar:$(PWD) test db2
+ $(JAVA_RUN) -classpath sqlite.jar:$(PWD) -DSQLite.library.path=$(PWD)/.libs test db2
test3:
$(JAVAC) -classpath sqlite.jar:$(PWD) test3.java
LD_LIBRARY_PATH="$$LD_LIBRARY_PATH:$(PWD)/.libs" \
- $(JAVA_RUN) -classpath sqlite.jar:$(PWD) test3
+ $(JAVA_RUN) -classpath sqlite.jar:$(PWD) -DSQLite.library.path=$(PWD)/.libs test3
clean:
$(RM) SQLite/*.class SQLite/@JDBCVER@/*.class *.lo *.la *.o *~ \
diff -up javasqlite-20081006/SQLite/Database.java.orig javasqlite-20081006/SQLite/Database.java
--- javasqlite-20081006/SQLite/Database.java.orig 2008-10-06 11:03:04.000000000 +0300
+++ javasqlite-20081006/SQLite/Database.java 2008-10-07 19:51:00.000000000 +0300
@@ -783,7 +783,7 @@ public class Database {
try {
String path = System.getProperty("SQLite.library.path");
if (path == null || path.length() == 0) {
- System.loadLibrary("sqlite_jni");
+ System.load("@JNIPATH@/" + System.mapLibraryName("sqlite_jni"));
} else {
try {
java.lang.reflect.Method mapLibraryName;
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/javasqlite/EL-5/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- .cvsignore 17 May 2008 13:16:26 -0000 1.2
+++ .cvsignore 30 Nov 2008 12:26:28 -0000 1.3
@@ -1 +1 @@
-javasqlite-20080420.tar.gz
+javasqlite-20081006.tar.gz
Index: javasqlite.spec
===================================================================
RCS file: /cvs/pkgs/rpms/javasqlite/EL-5/javasqlite.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- javasqlite.spec 11 Sep 2008 19:09:33 -0000 1.2
+++ javasqlite.spec 30 Nov 2008 12:26:28 -0000 1.3
@@ -1,6 +1,6 @@
Name: javasqlite
-Version: 20080420
-Release: 1%{?dist}.1
+Version: 20081006
+Release: 2%{?dist}.1
Summary: SQLite Java Wrapper/JDBC Driver
Group: Development/Libraries
@@ -8,10 +8,7 @@
URL: http://www.ch-werner.de/javasqlite/
Source0: http://www.ch-werner.de/javasqlite/%{name}-%{version}.tar.gz
# jnipath: Fedora specific, no need to send upstream.
-Patch0: %{name}-20080315-jnipath.patch
-# loadfail, tests: Sent upstream 20080830.
-Patch1: %{name}-20080420-loadfail.patch
-Patch2: %{name}-20080420-tests.patch
+Patch0: %{name}-20081006-jnipath.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: sqlite-devel
@@ -37,8 +34,6 @@
%prep
%setup -q
sed -e 's|@JNIPATH@|%{_libdir}/%{name}|' %{PATCH0} | patch -p1
-%patch1 -p1
-%patch2 -p1
sed -i -e 's/\r//g' doc/ajhowto.txt
f=ChangeLog ; iconv -f iso-8859-1 -t utf-8 $f > $f.utf8 ; mv $f.utf8 $f
@@ -79,11 +74,6 @@
%check
-
-# LD_LIBRARY_PATH: prevent falling back to system installed library in case
-# loading the just built one fails, see static initializer in SQLite.Database.
-export LD_LIBRARY_PATH="$PWD/.libs:$LD_LIBRARY_PATH"
-
origpath="$PATH"
for javaver in 1.4.2 1.6.0 ; do
jdir=%{_jvmdir}/java-$javaver/bin
@@ -97,6 +87,7 @@
%files
%defattr(-,root,root,-)
%doc ChangeLog license.terms
+%dir %{_libdir}/%{name}/
%{_libdir}/%{name}/sqlite.jar
%{_libdir}/%{name}/libsqlite_jni.so
@@ -106,6 +97,12 @@
%changelog
+* Sun Nov 30 2008 Ville Skyttä <ville.skytta at iki.fi> - 20081006-2.1
+- Own the /usr/lib*/javasqlite dir (#473609).
+
+* Tue Oct 7 2008 Ville Skyttä <ville.skytta at iki.fi> - 20081006-1.1
+- 20081006; all upstreamable patches applied upstream.
+
* Sat Sep 6 2008 Ville Skyttä <ville.skytta at iki.fi> - 20080420-1.1
- Include JDBC 3 (Java 1.4.x, 1.5.x) drivers.
- Work around build setup issues #460761 and #460783.
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/javasqlite/EL-5/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sources 17 May 2008 13:16:26 -0000 1.2
+++ sources 30 Nov 2008 12:26:28 -0000 1.3
@@ -1 +1 @@
-1ca6eca130049d888a3f8783261bcdf8 javasqlite-20080420.tar.gz
+f8aee5c34cf7248c89d8fa2f3711bca2 javasqlite-20081006.tar.gz
--- javasqlite-20080315-jnipath.patch DELETED ---
--- javasqlite-20080420-loadfail.patch DELETED ---
--- javasqlite-20080420-tests.patch DELETED ---
- Previous message (by thread): rpms/javasqlite/F-10 javasqlite-20081006-jnipath.patch, NONE, 1.1 .cvsignore, 1.3, 1.4 javasqlite.spec, 1.5, 1.6 sources, 1.3, 1.4 javasqlite-20080315-jnipath.patch, 1.1, NONE javasqlite-20080420-loadfail.patch, 1.1, NONE javasqlite-20080420-tests.patch, 1.1, NONE
- Next message (by thread): rpms/python-twisted-conch/devel python-twisted-conch.spec,1.6,1.7
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list