- Updated pysmbc to 1.0.5.

This commit is contained in:
Tim Waugh 2008-08-29 09:52:28 +00:00
parent c6378a311b
commit da0368cbfe
6 changed files with 4 additions and 39 deletions

View File

@ -180,3 +180,4 @@ pycups-1.9.41.tar.bz2
system-config-printer-1.0.5.tar.bz2 system-config-printer-1.0.5.tar.bz2
system-config-printer-1.0.6.tar.bz2 system-config-printer-1.0.6.tar.bz2
pycups-1.9.42.tar.bz2 pycups-1.9.42.tar.bz2
pysmbc-1.0.5.tar.bz2

Binary file not shown.

BIN
pysmbc-1.0.5.tar.bz2.sig Normal file

Binary file not shown.

View File

@ -1,31 +0,0 @@
diff -U0 pysmbc-1.0.4/ChangeLog.debug pysmbc-1.0.4/ChangeLog
--- pysmbc-1.0.4/ChangeLog.debug 2008-06-20 12:15:30.000000000 +0100
+++ pysmbc-1.0.4/ChangeLog 2008-07-08 15:39:43.000000000 +0100
@@ -0,0 +1,5 @@
+2008-06-24 Tim Waugh <twaugh@redhat.com>
+
+ * context.c (Context_init): Set the debug level during the Context
+ constructor.
+
diff -up pysmbc-1.0.4/context.c.debug pysmbc-1.0.4/context.c
--- pysmbc-1.0.4/context.c.debug 2008-06-20 12:14:17.000000000 +0100
+++ pysmbc-1.0.4/context.c 2008-07-08 15:39:43.000000000 +0100
@@ -100,7 +100,7 @@ static int
Context_init (Context *self, PyObject *args, PyObject *kwds)
{
PyObject *auth = NULL;
- int debug = 0;
+ int debug = -1;
unsigned int flags = 0;
SMBCCTX *ctx;
static char *kwlist[] =
@@ -149,6 +149,9 @@ Context_init (Context *self, PyObject *a
return -1;
}
+ if (debug != -1)
+ smbc_setDebug (ctx, debug);
+
self->context = ctx;
smbc_setOptionUserData (ctx, self);
if (auth)

View File

@ -1,3 +1,3 @@
41bc000026ea8d01f684705a99ac01d5 pysmbc-1.0.4.tar.bz2
9508a0c5a110c2c468c6426d7534b4ec system-config-printer-1.0.6.tar.bz2 9508a0c5a110c2c468c6426d7534b4ec system-config-printer-1.0.6.tar.bz2
030379d4accc18c402cd1ec367524a3b pycups-1.9.42.tar.bz2 030379d4accc18c402cd1ec367524a3b pycups-1.9.42.tar.bz2
fb77befa25ad919f532e24ea8f9cdd36 pysmbc-1.0.5.tar.bz2

View File

@ -1,5 +1,5 @@
%define pycups_version 1.9.42 %define pycups_version 1.9.42
%define pysmbc_version 1.0.4 %define pysmbc_version 1.0.5
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} %{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
%{!?pyver: %define pyver %(%{__python} -c "import sys ; print sys.version[:3]")} %{!?pyver: %define pyver %(%{__python} -c "import sys ; print sys.version[:3]")}
@ -15,8 +15,6 @@ Source0: http://cyberelk.net/tim/data/system-config-printer/1.0.x/system-config-
Source1: http://cyberelk.net/tim/data/pycups/pycups-%{pycups_version}.tar.bz2 Source1: http://cyberelk.net/tim/data/pycups/pycups-%{pycups_version}.tar.bz2
Source2: http://cyberelk.net/tim/data/pysmbc/pysmbc-%{pysmbc_version}.tar.bz2 Source2: http://cyberelk.net/tim/data/pysmbc/pysmbc-%{pysmbc_version}.tar.bz2
Patch1: pysmbc-debug.patch
BuildRequires: cups-devel >= 1.2 BuildRequires: cups-devel >= 1.2
BuildRequires: python-devel >= 2.4 BuildRequires: python-devel >= 2.4
BuildRequires: libsmbclient-devel >= 3.2 BuildRequires: libsmbclient-devel >= 3.2
@ -63,10 +61,6 @@ the configuration tool.
%prep %prep
%setup -q -a 1 -a 2 %setup -q -a 1 -a 2
pushd pysmbc-%{pysmbc_version}
%patch1 -p1 -b .debug
popd
%build %build
%configure %configure
@ -155,6 +149,7 @@ exit 0
%changelog %changelog
* Fri Aug 29 2008 Tim Waugh <twaugh@redhat.com> * Fri Aug 29 2008 Tim Waugh <twaugh@redhat.com>
- Updated pysmbc to 1.0.5.
- Updated pycups to 1.9.42. - Updated pycups to 1.9.42.
* Tue Aug 26 2008 Tim Waugh <twaugh@redhat.com> 1.0.6-1 * Tue Aug 26 2008 Tim Waugh <twaugh@redhat.com> 1.0.6-1