commit python3-smbc for openSUSE:Factory

2016-12-02 Thread h_root
Hello community,

here is the log from the commit of package python3-smbc for openSUSE:Factory 
checked in at 2016-12-02 16:39:27

Comparing /work/SRC/openSUSE:Factory/python3-smbc (Old)
 and  /work/SRC/openSUSE:Factory/.python3-smbc.new (New)


Package is "python3-smbc"

Changes:

--- /work/SRC/openSUSE:Factory/python3-smbc/python3-smbc.changes
2016-05-17 17:12:46.0 +0200
+++ /work/SRC/openSUSE:Factory/.python3-smbc.new/python3-smbc.changes   
2016-12-02 16:39:28.0 +0100
@@ -1,0 +2,6 @@
+Sat Nov 26 18:08:29 UTC 2016 - a...@gmx.de
+
+- update to version 1.0.15.6:
+  (no changelog available)
+
+---
@@ -6 +11,0 @@
-

Old:

  pysmbc-1.0.15.5.tar.bz2

New:

  pysmbc-1.0.15.6.tar.bz2



Other differences:
--
++ python3-smbc.spec ++
--- /var/tmp/diff_new_pack.lC4WRx/_old  2016-12-02 16:39:29.0 +0100
+++ /var/tmp/diff_new_pack.lC4WRx/_new  2016-12-02 16:39:29.0 +0100
@@ -20,7 +20,7 @@
 BuildRequires:  libsmbclient-devel
 BuildRequires:  pkg-config
 BuildRequires:  python3-devel
-Version:1.0.15.5
+Version:1.0.15.6
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Url:http://cyberelk.net/tim/software/pysmbc/

++ pysmbc-1.0.15.5.tar.bz2 -> pysmbc-1.0.15.6.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pysmbc-1.0.15.5/PKG-INFO new/pysmbc-1.0.15.6/PKG-INFO
--- old/pysmbc-1.0.15.5/PKG-INFO2015-09-25 21:50:57.0 +0200
+++ new/pysmbc-1.0.15.6/PKG-INFO2016-11-22 10:50:18.0 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: pysmbc
-Version: 1.0.15.5
+Version: 1.0.15.6
 Summary: Python bindings for libsmbclient
 Home-page: http://cyberelk.net/tim/software/pysmbc/
 Author: ['Tim Waugh ', 'Tsukasa Hamano 
', 'Roberto Polli ']
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pysmbc-1.0.15.5/setup.py new/pysmbc-1.0.15.6/setup.py
--- old/pysmbc-1.0.15.5/setup.py2015-09-25 21:48:51.0 +0200
+++ new/pysmbc-1.0.15.6/setup.py2016-11-22 10:49:18.0 +0100
@@ -64,7 +64,7 @@
 return dirs
 
 setup (name="pysmbc",
-   version="1.0.15.5",
+   version="1.0.15.6",
description="Python bindings for libsmbclient",
long_description=__doc__,
author=["Tim Waugh ",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pysmbc-1.0.15.5/smbc/context.c 
new/pysmbc-1.0.15.6/smbc/context.c
--- old/pysmbc-1.0.15.5/smbc/context.c  2015-09-25 21:48:51.0 +0200
+++ new/pysmbc-1.0.15.6/smbc/context.c  2016-11-22 10:43:57.0 +0100
@@ -520,28 +520,59 @@
   int ret;
   char *uri = NULL;
   char *name = NULL;
-  char value[1024];
+  char *buffer = NULL;
   static smbc_getxattr_fn fn;
 
-  bzero(value, sizeof (value));
-
   // smbc_getxattr takes two string parameters
   if (!PyArg_ParseTuple (args, "ss", , ))
 {
   return NULL;
 }
 
+  /* The security descriptor string returned by this call will vary depending 
on the requested attribute
+   * A call with system.nt_sec_desc.* will return the longest string which 
would be in the following format:
+   *
+   * REVISION:,OWNER:,GROUP:,ACL:://
+   *
+   * There could be multiple ACL entries up to a reasonable maximum of 1820.
+   *
+   *  : 3 chars
+   *  :  184 chars
+   * :  1 char
+   * : 3 chars
+   * :  10 chars
+   *
+   * The maximum size of the security descriptor string returned can be
+   * derived as follows (includes space for terminating null):
+   * Sec Desc = 13 + 2 x (7 + ) + 1820 * (5 + ) = 375315
+   *
+   * References: https://msdn.microsoft.com/en-us/library/cc246018.aspx
+   * https://technet.microsoft.com/en-us/library/cc961995.aspx
+   * https://technet.microsoft.com/en-us/library/cc961986.aspx
+   */
+
+  size_t size = 375315;
+  buffer = (char *)malloc (size);
+  if(!buffer)
+return PyErr_NoMemory ();
+
+  bzero(buffer, size);
+
   errno = 0;
   fn = smbc_getFunctionGetxattr(self->context);
-  ret = (*fn)(self->context, uri, name, value, sizeof (value));
+  ret = (*fn)(self->context, uri, name, buffer, size);
 
   if (ret < 0)
 {
   pysmbc_SetFromErrno ();
+  free(buffer);
   return NULL;
-  }
+}
+
+  PyObject *value = PyUnicode_FromString(buffer);
+  free(buffer);
 
-  return PyUnicode_FromString (value);
+  return value;
 }
 
 




commit python3-smbc for openSUSE:Factory

2016-05-17 Thread h_root
Hello community,

here is the log from the commit of package python3-smbc for openSUSE:Factory 
checked in at 2016-05-17 17:12:45

Comparing /work/SRC/openSUSE:Factory/python3-smbc (Old)
 and  /work/SRC/openSUSE:Factory/.python3-smbc.new (New)


Package is "python3-smbc"

Changes:

--- /work/SRC/openSUSE:Factory/python3-smbc/python3-smbc.changes
2015-10-06 13:27:36.0 +0200
+++ /work/SRC/openSUSE:Factory/.python3-smbc.new/python3-smbc.changes   
2016-05-17 17:12:46.0 +0200
@@ -1,0 +2,7 @@
+Sun May  8 07:06:25 UTC 2016 - a...@gmx.de
+
+- specfile:
+  * updated source url to files.pythonhosted.org
+
+
+---



Other differences:
--
++ python3-smbc.spec ++
--- /var/tmp/diff_new_pack.CQQdOP/_old  2016-05-17 17:12:47.0 +0200
+++ /var/tmp/diff_new_pack.CQQdOP/_new  2016-05-17 17:12:47.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python3-smbc
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -24,7 +24,7 @@
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Url:http://cyberelk.net/tim/software/pysmbc/
-Source: 
https://pypi.python.org/packages/source/p/pysmbc/pysmbc-%{version}.tar.bz2
+Source: 
https://files.pythonhosted.org/packages/source/p/pysmbc/pysmbc-%{version}.tar.bz2
 Summary:Python bindings for samba clients (libsmbclient)
 License:GPL-2.0+
 Group:  Development/Libraries/Python




commit python3-smbc for openSUSE:Factory

2015-10-06 Thread h_root
Hello community,

here is the log from the commit of package python3-smbc for openSUSE:Factory 
checked in at 2015-10-06 13:27:23

Comparing /work/SRC/openSUSE:Factory/python3-smbc (Old)
 and  /work/SRC/openSUSE:Factory/.python3-smbc.new (New)


Package is "python3-smbc"

Changes:

--- /work/SRC/openSUSE:Factory/python3-smbc/python3-smbc.changes
2015-05-27 12:51:17.0 +0200
+++ /work/SRC/openSUSE:Factory/.python3-smbc.new/python3-smbc.changes   
2015-10-06 13:27:36.0 +0200
@@ -1,0 +2,9 @@
+Sun Oct  4 19:00:12 UTC 2015 - a...@gmx.de
+
+- specfile:
+  * no README file in tar-ball -> removed from %doc section
+
+- update to version 1.0.15.5:
+  * fix NUL-termination bug
+
+---

Old:

  pysmbc-1.0.15.4.tar.bz2

New:

  pysmbc-1.0.15.5.tar.bz2



Other differences:
--
++ python3-smbc.spec ++
--- /var/tmp/diff_new_pack.bbV20s/_old  2015-10-06 13:27:37.0 +0200
+++ /var/tmp/diff_new_pack.bbV20s/_new  2015-10-06 13:27:37.0 +0200
@@ -20,7 +20,7 @@
 BuildRequires:  libsmbclient-devel
 BuildRequires:  pkg-config
 BuildRequires:  python3-devel
-Version:1.0.15.4
+Version:1.0.15.5
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Url:http://cyberelk.net/tim/software/pysmbc/
@@ -44,7 +44,7 @@
 
 %files
 %defattr(-,root,root)
-%doc COPYING NEWS README
+%doc COPYING NEWS
 %{python3_sitearch}/*
 
 %changelog

++ pysmbc-1.0.15.4.tar.bz2 -> pysmbc-1.0.15.5.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pysmbc-1.0.15.4/NEWS new/pysmbc-1.0.15.5/NEWS
--- old/pysmbc-1.0.15.4/NEWS2015-05-11 09:45:14.0 +0200
+++ new/pysmbc-1.0.15.5/NEWS2015-09-25 21:48:51.0 +0200
@@ -1,6 +1,9 @@
 NEWS
 
 
+New in 1.0.15.5:
+* fix NUL-termination bug
+
 New in 1.0.15.4:
 * added some constants
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pysmbc-1.0.15.4/PKG-INFO new/pysmbc-1.0.15.5/PKG-INFO
--- old/pysmbc-1.0.15.4/PKG-INFO2015-05-11 09:46:05.0 +0200
+++ new/pysmbc-1.0.15.5/PKG-INFO2015-09-25 21:50:57.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: pysmbc
-Version: 1.0.15.4
+Version: 1.0.15.5
 Summary: Python bindings for libsmbclient
 Home-page: http://cyberelk.net/tim/software/pysmbc/
 Author: ['Tim Waugh ', 'Tsukasa Hamano 
', 'Roberto Polli ']
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pysmbc-1.0.15.4/README new/pysmbc-1.0.15.5/README
--- old/pysmbc-1.0.15.4/README  2015-05-11 09:40:56.0 +0200
+++ new/pysmbc-1.0.15.5/README  1970-01-01 01:00:00.0 +0100
@@ -1,35 +0,0 @@
-SMB bindings for Python

-
-These Python bindings are intended to wrap the libsmbclient API.
-
-Currently libsmbclient 3.2.x or later is required.
-
-
-To build, simply use
- # make
-
-
-
-
-Test
---
-To run Python tests in tests/ you need python-nose
-See nose documentation http://readthedocs.org/docs/nose
-
-To run all the tests execute
-# nosetests
-
-To run just one test, use
-# nosetests file.py
-
-To selectively run test methods, printing output to console
-# nosetests -vs  test_context.py:test_Workgroup
-
-
-NOTE: to run your tests, you need 
- * a running samba server 
- * one shared folder with 
-   * rw permissions
-   * guest ok = no
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pysmbc-1.0.15.4/setup.py new/pysmbc-1.0.15.5/setup.py
--- old/pysmbc-1.0.15.4/setup.py2015-05-11 09:44:28.0 +0200
+++ new/pysmbc-1.0.15.5/setup.py2015-09-25 21:48:51.0 +0200
@@ -64,7 +64,7 @@
 return dirs
 
 setup (name="pysmbc",
-   version="1.0.15.4",
+   version="1.0.15.5",
description="Python bindings for libsmbclient",
long_description=__doc__,
author=["Tim Waugh ",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pysmbc-1.0.15.4/smbc/context.c 
new/pysmbc-1.0.15.5/smbc/context.c
--- old/pysmbc-1.0.15.4/smbc/context.c  2015-05-11 09:40:56.0 +0200
+++ new/pysmbc-1.0.15.5/smbc/context.c  2015-09-25 21:48:51.0 +0200
@@ -85,9 +85,12 @@
   return;
 }
 
-  strncpy (workgroup, use_workgroup, wgmaxlen);
-  strncpy (username, use_username, unmaxlen);
-  strncpy (password, use_password, pwmaxlen);
+  strncpy (workgroup, use_workgroup, wgmaxlen - 1);
+  workgroup[wgmaxlen - 1] = '\0';
+  strncpy (username, use_username, unmaxlen - 1);
+  

commit python3-smbc for openSUSE:Factory

2015-05-27 Thread h_root
Hello community,

here is the log from the commit of package python3-smbc for openSUSE:Factory 
checked in at 2015-05-27 12:51:16

Comparing /work/SRC/openSUSE:Factory/python3-smbc (Old)
 and  /work/SRC/openSUSE:Factory/.python3-smbc.new (New)


Package is python3-smbc

Changes:

--- /work/SRC/openSUSE:Factory/python3-smbc/python3-smbc.changes
2015-01-20 12:37:32.0 +0100
+++ /work/SRC/openSUSE:Factory/.python3-smbc.new/python3-smbc.changes   
2015-05-27 12:51:17.0 +0200
@@ -1,0 +2,6 @@
+Tue May 26 16:21:16 UTC 2015 - a...@gmx.de
+
+- update to version 1.0.15.4:
+  * added some constants
+
+---

Old:

  pysmbc-1.0.15.3.tar.bz2

New:

  pysmbc-1.0.15.4.tar.bz2



Other differences:
--
++ python3-smbc.spec ++
--- /var/tmp/diff_new_pack.vgwSMD/_old  2015-05-27 12:51:18.0 +0200
+++ /var/tmp/diff_new_pack.vgwSMD/_new  2015-05-27 12:51:18.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python3-smbc
 #
-# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -20,7 +20,7 @@
 BuildRequires:  libsmbclient-devel
 BuildRequires:  pkg-config
 BuildRequires:  python3-devel
-Version:1.0.15.3
+Version:1.0.15.4
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Url:http://cyberelk.net/tim/software/pysmbc/

++ pysmbc-1.0.15.3.tar.bz2 - pysmbc-1.0.15.4.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pysmbc-1.0.15.3/NEWS new/pysmbc-1.0.15.4/NEWS
--- old/pysmbc-1.0.15.3/NEWS2014-08-12 05:57:22.0 +0200
+++ new/pysmbc-1.0.15.4/NEWS2015-05-11 09:45:14.0 +0200
@@ -1,6 +1,9 @@
 NEWS
 
 
+New in 1.0.15.4:
+* added some constants
+
 New in 1.0.15.3:
 * added smbc.ConnectionRefusedError
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pysmbc-1.0.15.3/PKG-INFO new/pysmbc-1.0.15.4/PKG-INFO
--- old/pysmbc-1.0.15.3/PKG-INFO2014-08-12 05:58:16.0 +0200
+++ new/pysmbc-1.0.15.4/PKG-INFO2015-05-11 09:46:05.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: pysmbc
-Version: 1.0.15.3
+Version: 1.0.15.4
 Summary: Python bindings for libsmbclient
 Home-page: http://cyberelk.net/tim/software/pysmbc/
 Author: ['Tim Waugh twa...@redhat.com', 'Tsukasa Hamano 
ham...@osstech.co.jp', 'Roberto Polli rpo...@babel.it']
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pysmbc-1.0.15.3/setup.py new/pysmbc-1.0.15.4/setup.py
--- old/pysmbc-1.0.15.3/setup.py2014-08-12 05:57:31.0 +0200
+++ new/pysmbc-1.0.15.4/setup.py2015-05-11 09:44:28.0 +0200
@@ -64,7 +64,7 @@
 return dirs
 
 setup (name=pysmbc,
-   version=1.0.15.3,
+   version=1.0.15.4,
description=Python bindings for libsmbclient,
long_description=__doc__,
author=[Tim Waugh twa...@redhat.com,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pysmbc-1.0.15.3/smbc/smbcmodule.c 
new/pysmbc-1.0.15.4/smbc/smbcmodule.c
--- old/pysmbc-1.0.15.3/smbc/smbcmodule.c   2014-08-12 05:57:16.0 
+0200
+++ new/pysmbc-1.0.15.4/smbc/smbcmodule.c   2015-05-11 09:40:56.0 
+0200
@@ -115,6 +115,9 @@
   INT_CONSTANT (SMBC_, PRINTER_SHARE);
   INT_CONSTANT (SMBC_, COMMS_SHARE);
   INT_CONSTANT (SMBC_, IPC_SHARE);
+  INT_CONSTANT (SMBC_, DIR);
+  INT_CONSTANT (SMBC_, FILE);
+  INT_CONSTANT (SMBC_, LINK);
   INT_CONSTANT (SMB_CTX_, FLAG_USE_KERBEROS);
   INT_CONSTANT (SMB_CTX_, FLAG_FALLBACK_AFTER_KERBEROS);
   INT_CONSTANT (SMBCCTX_, FLAG_NO_AUTO_ANONYMOUS_LOGON);




commit python3-smbc for openSUSE:Factory

2015-01-20 Thread h_root
Hello community,

here is the log from the commit of package python3-smbc for openSUSE:Factory 
checked in at 2015-01-20 12:35:02

Comparing /work/SRC/openSUSE:Factory/python3-smbc (Old)
 and  /work/SRC/openSUSE:Factory/.python3-smbc.new (New)


Package is python3-smbc

Changes:

--- /work/SRC/openSUSE:Factory/python3-smbc/python3-smbc.changes
2014-07-16 16:22:09.0 +0200
+++ /work/SRC/openSUSE:Factory/.python3-smbc.new/python3-smbc.changes   
2015-01-20 12:37:32.0 +0100
@@ -1,0 +2,17 @@
+Sat Jan 17 18:16:22 UTC 2015 - a...@gmx.de
+
+- specfile: update copyright year
+
+- removed pre_checking.sh: edited python-* files into python3 files,
+  but we only use python3 files to begin with nowadays
+
+- update to version  1.0.15.3:
+  * added smbc.ConnectionRefusedError
+
+- changes from version 1.0.15.1:
+  * Return direntry with unicode string
+
+- changes from version 1.0.15:
+  * Working with Python3
+
+---

Old:

  pre_checkin.sh
  pysmbc-1.0.14.1.tar.bz2

New:

  pysmbc-1.0.15.3.tar.bz2



Other differences:
--
++ python3-smbc.spec ++
--- /var/tmp/diff_new_pack.ilQ4w4/_old  2015-01-20 12:37:34.0 +0100
+++ /var/tmp/diff_new_pack.ilQ4w4/_new  2015-01-20 12:37:34.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python3-smbc
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -15,11 +15,12 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 Name:   python3-smbc
 BuildRequires:  libsmbclient-devel
-BuildRequires:  python3-devel
 BuildRequires:  pkg-config
-Version:1.0.14.1
+BuildRequires:  python3-devel
+Version:1.0.15.3
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Url:http://cyberelk.net/tim/software/pysmbc/

++ pysmbc-1.0.14.1.tar.bz2 - pysmbc-1.0.15.3.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pysmbc-1.0.14.1/NEWS new/pysmbc-1.0.15.3/NEWS
--- old/pysmbc-1.0.14.1/NEWS2014-03-27 20:32:55.0 +0100
+++ new/pysmbc-1.0.15.3/NEWS2014-08-12 05:57:22.0 +0200
@@ -1,6 +1,18 @@
 NEWS
 
 
+New in 1.0.15.3:
+* added smbc.ConnectionRefusedError
+
+New in 1.0.15.1:
+* Return direntry with unicode string
+
+New in 1.0.15:
+* Working with Python3
+
+New in 1.0.14.2:
+* added smbc.NotDirectoryError
+
 New in 1.0.14.1:
 
 * Fix for Python 2.6
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pysmbc-1.0.14.1/PKG-INFO new/pysmbc-1.0.15.3/PKG-INFO
--- old/pysmbc-1.0.14.1/PKG-INFO2014-03-27 20:35:14.0 +0100
+++ new/pysmbc-1.0.15.3/PKG-INFO2014-08-12 05:58:16.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: pysmbc
-Version: 1.0.14.1
+Version: 1.0.15.3
 Summary: Python bindings for libsmbclient
 Home-page: http://cyberelk.net/tim/software/pysmbc/
 Author: ['Tim Waugh twa...@redhat.com', 'Tsukasa Hamano 
ham...@osstech.co.jp', 'Roberto Polli rpo...@babel.it']
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pysmbc-1.0.14.1/setup.py new/pysmbc-1.0.15.3/setup.py
--- old/pysmbc-1.0.14.1/setup.py2014-03-27 20:31:41.0 +0100
+++ new/pysmbc-1.0.15.3/setup.py2014-08-12 05:57:31.0 +0200
@@ -58,13 +58,13 @@
 c = subprocess.Popen ([pkg-config, --cflags, pkg],
   stdout=subprocess.PIPE)
 (stdout, stderr) = c.communicate ()
-for p in stdout.decode (encoding='ascii').split ():
+for p in stdout.decode ('ascii').split ():
 if p.startswith (-I):
 dirs.append (p[2:])
 return dirs
 
 setup (name=pysmbc,
-   version=1.0.14.1,
+   version=1.0.15.3,
description=Python bindings for libsmbclient,
long_description=__doc__,
author=[Tim Waugh twa...@redhat.com,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pysmbc-1.0.14.1/smbc/__init__.py 
new/pysmbc-1.0.15.3/smbc/__init__.py
--- old/pysmbc-1.0.14.1/smbc/__init__.py2014-03-10 05:05:21.0 
+0100
+++ new/pysmbc-1.0.15.3/smbc/__init__.py2014-07-23 17:21:04.0 
+0200
@@ -1,2 +1,3 @@
-import xattr
+from smbc import xattr
 from _smbc import *
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pysmbc-1.0.14.1/smbc/dir.c 
new/pysmbc-1.0.15.3/smbc/dir.c
--- 

commit python3-smbc for openSUSE:Factory

2014-07-16 Thread h_root
Hello community,

here is the log from the commit of package python3-smbc for openSUSE:Factory 
checked in at 2014-07-16 16:19:38

Comparing /work/SRC/openSUSE:Factory/python3-smbc (Old)
 and  /work/SRC/openSUSE:Factory/.python3-smbc.new (New)


Package is python3-smbc

Changes:

--- /work/SRC/openSUSE:Factory/python3-smbc/python3-smbc.changes
2013-09-03 22:06:37.0 +0200
+++ /work/SRC/openSUSE:Factory/.python3-smbc.new/python3-smbc.changes   
2014-07-16 16:22:09.0 +0200
@@ -1,0 +2,14 @@
+Tue Jul 15 10:45:15 UTC 2014 - toddrme2...@gmail.com
+
+- Update to 1.0.14.1
+  * Fix for Python 2.6
+- Update to 1.0.14
+  * Context.set_credentials_with_fallback()
+  * Context.getxattr, Context.setxattr
+  * smbc.XATTR, smbc.XATTR_ACL, smbc.XATTR_ACL_SID, smbc.XATTR_ALL,
+smbc.XATTR_ALL_SID, smbc.XATTR_FLAG_CREATE, smbc.XATTR_FLAG_REPLACE,
+smbc.XATTR_GROUP, smbc.XATTR_GROUP_SID, smbc.XATTR_OWNER,
+smbc.XATTR_OWNER_SID, smbc.XATTR_REVISION
+- Remove upstream-included python3-smbc-pkg-config.patch
+
+---

Old:

  pysmbc-1.0.13.tar.bz2
  python3-smbc-pkg-config.patch

New:

  pysmbc-1.0.14.1.tar.bz2



Other differences:
--
++ python3-smbc.spec ++
--- /var/tmp/diff_new_pack.yo0GwN/_old  2014-07-16 16:22:11.0 +0200
+++ /var/tmp/diff_new_pack.yo0GwN/_new  2014-07-16 16:22:11.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python3-smbc
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -15,19 +15,15 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-
-%define mod_name pysmbc
-
 Name:   python3-smbc
 BuildRequires:  libsmbclient-devel
 BuildRequires:  python3-devel
-Version:1.0.13
+BuildRequires:  pkg-config
+Version:1.0.14.1
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Url:http://cyberelk.net/tim/software/pysmbc/
-Source: 
http://cyberelk.net/tim/data/pysmbc/%{mod_name}-%{version}.tar.bz2
-# PATCH-FIX-UPSTREAM python3-smbc-pkg-config.patch zai...@opensuse.org -- Add 
pkg-config support, fixes build with samba 4. Patch copied from fedora.
-Patch0: python3-smbc-pkg-config.patch
+Source: 
https://pypi.python.org/packages/source/p/pysmbc/pysmbc-%{version}.tar.bz2
 Summary:Python bindings for samba clients (libsmbclient)
 License:GPL-2.0+
 Group:  Development/Libraries/Python
@@ -36,8 +32,7 @@
 A module for using the Samba client API in Python programs.
 
 %prep
-%setup -q -n %{mod_name}-%{version}
-%patch0 -p1
+%setup -q -n pysmbc-%{version}
 
 %build
 CFLAGS=%{optflags} -DVERSION=\\\%version\\\ \

++ pysmbc-1.0.13.tar.bz2 - pysmbc-1.0.14.1.tar.bz2 ++
 5853 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python3-smbc for openSUSE:Factory

2013-09-03 Thread h_root
Hello community,

here is the log from the commit of package python3-smbc for openSUSE:Factory 
checked in at 2013-09-03 22:06:35

Comparing /work/SRC/openSUSE:Factory/python3-smbc (Old)
 and  /work/SRC/openSUSE:Factory/.python3-smbc.new (New)


Package is python3-smbc

Changes:

--- /work/SRC/openSUSE:Factory/python3-smbc/python3-smbc.changes
2013-06-19 15:52:47.0 +0200
+++ /work/SRC/openSUSE:Factory/.python3-smbc.new/python3-smbc.changes   
2013-09-03 22:06:37.0 +0200
@@ -1,0 +2,5 @@
+Mon Sep  2 21:51:50 UTC 2013 - zai...@opensuse.org
+
+- Add python3-smbc-pkg-config.patch, fixes build with samba 4. 
+
+---

New:

  python3-smbc-pkg-config.patch



Other differences:
--
++ python3-smbc.spec ++
--- /var/tmp/diff_new_pack.PlBeyO/_old  2013-09-03 22:06:37.0 +0200
+++ /var/tmp/diff_new_pack.PlBeyO/_new  2013-09-03 22:06:37.0 +0200
@@ -1,5 +1,5 @@
 #
-# spec file for package python-smbc
+# spec file for package python3-smbc
 #
 # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
@@ -15,6 +15,7 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 %define mod_name pysmbc
 
 Name:   python3-smbc
@@ -25,6 +26,8 @@
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Url:http://cyberelk.net/tim/software/pysmbc/
 Source: 
http://cyberelk.net/tim/data/pysmbc/%{mod_name}-%{version}.tar.bz2
+# PATCH-FIX-UPSTREAM python3-smbc-pkg-config.patch zai...@opensuse.org -- Add 
pkg-config support, fixes build with samba 4. Patch copied from fedora.
+Patch0: python3-smbc-pkg-config.patch
 Summary:Python bindings for samba clients (libsmbclient)
 License:GPL-2.0+
 Group:  Development/Libraries/Python
@@ -34,6 +37,7 @@
 
 %prep
 %setup -q -n %{mod_name}-%{version}
+%patch0 -p1
 
 %build
 CFLAGS=%{optflags} -DVERSION=\\\%version\\\ \

++ python3-smbc-pkg-config.patch ++
diff -up pysmbc-1.0.13/Makefile.pkg-config pysmbc-1.0.13/Makefile
--- pysmbc-1.0.13/Makefile.pkg-config   2010-08-22 15:59:36.0 +0100
+++ pysmbc-1.0.13/Makefile  2012-11-21 12:44:29.051173967 +
@@ -4,7 +4,7 @@ SDIST_ARGS=--formats=bztar -d.
 
 smbc.so: force
python setup.py build
-   mv build/lib*/$@ .
+   mv build/lib*/smbc*.so .
 
 doc: smbc.so
rm -rf html
@@ -14,7 +14,7 @@ doczip:   doc
cd html  zip ../smbc-html.zip *
 
 clean:
-   -rm -rf build smbc.so *.pyc tests/*.pyc *~ tests/*~
+   -rm -rf build smbc*.so *.pyc tests/*.pyc *~ tests/*~
 
 dist:
python setup.py sdist $(SDIST_ARGS)
diff -up pysmbc-1.0.13/setup.py.pkg-config pysmbc-1.0.13/setup.py
--- pysmbc-1.0.13/setup.py.pkg-config   2012-02-15 16:12:44.0 +
+++ pysmbc-1.0.13/setup.py  2012-11-21 12:45:05.362285519 +
@@ -1,6 +1,6 @@
 #!/usr/bin/env python
 
-## Copyright (C) 2002, 2005, 2006, 2007, 2008, 2010, 2011  Red Hat, Inc
+## Copyright (C) 2002, 2005, 2006, 2007, 2008, 2010, 2011, 2012  Red Hat, Inc
 ## Copyright (C) 2010  Open Source Solution Technology Corporation
 ## Authors:
 ##  Tim Waugh twa...@redhat.com
@@ -51,6 +51,18 @@ hello
 
 
 from distutils.core import setup, Extension
+import subprocess
+
+def pkgconfig_I (pkg):
+dirs = []
+c = subprocess.Popen ([pkg-config, --cflags, pkg],
+  stdout=subprocess.PIPE)
+(stdout, stderr) = c.communicate ()
+for p in stdout.decode (encoding='ascii').split ():
+if p.startswith (-I):
+dirs.append (p[2:])
+return dirs
+
 setup (name=pysmbc,
version=1.0.13,
description=Python bindings for libsmbclient,
@@ -74,4 +86,5 @@ setup (name=pysmbc,
dir.c,
file.c,
smbcdirent.c],
-  libraries=[smbclient])])
+  libraries=[smbclient],
+  include_dirs=pkgconfig_I(smbclient))])
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python3-smbc for openSUSE:Factory

2013-03-22 Thread h_root
Hello community,

here is the log from the commit of package python3-smbc for openSUSE:Factory 
checked in at 2013-03-22 10:01:44

Comparing /work/SRC/openSUSE:Factory/python3-smbc (Old)
 and  /work/SRC/openSUSE:Factory/.python3-smbc.new (New)


Package is python3-smbc, Maintainer is 

Changes:

New Changes file:

NO CHANGES FILE!!!

New:

  _link



Other differences:
--
++ _link ++
link package=python-smbc cicount=copy /
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org