diff --git a/.cvsignore b/.cvsignore index ba62123..9baabde 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -soprano-1.97.1-beta4.tar.bz2 +soprano-1.98.0-rc1.tar.bz2 diff --git a/soprano-1.97.1-glibc.patch b/soprano-1.97.1-glibc.patch deleted file mode 100644 index e6088d5..0000000 --- a/soprano-1.97.1-glibc.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -up soprano-1.97.1-beta4/server/lockfile.cpp.glibc soprano-1.97.1-beta4/server/lockfile.cpp ---- soprano-1.97.1-beta4/server/lockfile.cpp.glibc 2007-10-10 14:07:21.000000000 -0500 -+++ soprano-1.97.1-beta4/server/lockfile.cpp 2007-11-10 15:11:51.000000000 -0600 -@@ -75,7 +75,7 @@ bool LockFile::aquireLock() - { - releaseLock(); - -- d->fd = open( QFile::encodeName( d->path ).data(), O_WRONLY|O_CREAT ); -+ d->fd = (open)( QFile::encodeName( d->path ).data(), O_WRONLY|O_CREAT, S_IRWXU ); - if ( d->fd == -1 ) { - qDebug() << "(LockFile) could not open" << d->path; - return false; diff --git a/soprano-1.98.0-glibc.patch b/soprano-1.98.0-glibc.patch new file mode 100644 index 0000000..033248c --- /dev/null +++ b/soprano-1.98.0-glibc.patch @@ -0,0 +1,12 @@ +diff -ur soprano-1.98.0-rc1/server/lockfile.cpp soprano-1.98.0-rc1-glibc/server/lockfile.cpp +--- soprano-1.98.0-rc1/server/lockfile.cpp 2007-11-22 11:09:02.000000000 +0100 ++++ soprano-1.98.0-rc1-glibc/server/lockfile.cpp 2007-12-03 00:24:49.000000000 +0100 +@@ -84,7 +84,7 @@ + f.setPermissions( f.permissions() | QFile::WriteOwner ); + } + +- d->fd = open( QFile::encodeName( d->path ).data(), O_WRONLY|O_CREAT ); ++ d->fd = open( QFile::encodeName( d->path ).data(), O_WRONLY|O_CREAT, S_IRUSR|S_IWUSR ); + if ( d->fd == -1 ) { + qDebug() << "(LockFile) could not open" << d->path << QString( "(%1)" ).arg( strerror( errno ) ); + return false; diff --git a/soprano.spec b/soprano.spec index 4b5bccc..e16ac7d 100644 --- a/soprano.spec +++ b/soprano.spec @@ -3,12 +3,12 @@ # TODO: package apidocs (make apidox, BR doxygen and qt4-doc) -%define beta -beta4 +%define beta -rc1 Summary: Qt wrapper API to different RDF storage solutions Name: soprano -Version: 1.97.1 -Release: 2%{?dist} +Version: 1.98.0 +Release: 1%{?dist} Group: System Environment/Libraries License: LGPLv2+ @@ -17,7 +17,7 @@ Source0: http://downloads.sf.net/soprano/soprano-%{version}%{?beta}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) # glibc/open issues -Patch1: soprano-1.97.1-glibc.patch +Patch1: soprano-1.98.0-glibc.patch BuildRequires: cmake BuildRequires: redland-devel >= 1.0.6 @@ -88,6 +88,10 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Sun Dec 2 2007 Kevin Kofler 1.98.0-1 +- soprano-1.98.0 (soprano 2 rc 1) +- update glibc/open patch + * Sat Nov 10 2007 Rex Dieter 1.97.1-2 - glibc/open patch diff --git a/sources b/sources index a1ac241..fa8d09f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -5a307d33c654ce3fbbe42b7ce6dec342 soprano-1.97.1-beta4.tar.bz2 +2166c6d1142a574880f31df885fd4804 soprano-1.98.0-rc1.tar.bz2