diff --git a/.cvsignore b/.cvsignore index 912cb60..425ca67 100644 --- a/.cvsignore +++ b/.cvsignore @@ -180,3 +180,4 @@ pycups-1.9.41.tar.bz2 system-config-printer-1.0.5.tar.bz2 system-config-printer-1.0.6.tar.bz2 pycups-1.9.42.tar.bz2 +pysmbc-1.0.5.tar.bz2 diff --git a/pysmbc-1.0.4.tar.bz2.sig b/pysmbc-1.0.4.tar.bz2.sig deleted file mode 100644 index 0bac594..0000000 Binary files a/pysmbc-1.0.4.tar.bz2.sig and /dev/null differ diff --git a/pysmbc-1.0.5.tar.bz2.sig b/pysmbc-1.0.5.tar.bz2.sig new file mode 100644 index 0000000..7a85576 Binary files /dev/null and b/pysmbc-1.0.5.tar.bz2.sig differ diff --git a/pysmbc-debug.patch b/pysmbc-debug.patch deleted file mode 100644 index 9aaacf4..0000000 --- a/pysmbc-debug.patch +++ /dev/null @@ -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 -+ -+ * 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) diff --git a/sources b/sources index f2586bc..b131f9d 100644 --- a/sources +++ b/sources @@ -1,3 +1,3 @@ -41bc000026ea8d01f684705a99ac01d5 pysmbc-1.0.4.tar.bz2 9508a0c5a110c2c468c6426d7534b4ec system-config-printer-1.0.6.tar.bz2 030379d4accc18c402cd1ec367524a3b pycups-1.9.42.tar.bz2 +fb77befa25ad919f532e24ea8f9cdd36 pysmbc-1.0.5.tar.bz2 diff --git a/system-config-printer.spec b/system-config-printer.spec index 742c4af..2c7d46b 100644 --- a/system-config-printer.spec +++ b/system-config-printer.spec @@ -1,5 +1,5 @@ %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_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]")} @@ -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 Source2: http://cyberelk.net/tim/data/pysmbc/pysmbc-%{pysmbc_version}.tar.bz2 -Patch1: pysmbc-debug.patch - BuildRequires: cups-devel >= 1.2 BuildRequires: python-devel >= 2.4 BuildRequires: libsmbclient-devel >= 3.2 @@ -63,10 +61,6 @@ the configuration tool. %prep %setup -q -a 1 -a 2 -pushd pysmbc-%{pysmbc_version} -%patch1 -p1 -b .debug -popd - %build %configure @@ -155,6 +149,7 @@ exit 0 %changelog * Fri Aug 29 2008 Tim Waugh +- Updated pysmbc to 1.0.5. - Updated pycups to 1.9.42. * Tue Aug 26 2008 Tim Waugh 1.0.6-1