Hello community,

here is the log from the commit of package python-smbc for openSUSE:Factory 
checked in at 2013-03-08 13:39:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-smbc (Old)
 and      /work/SRC/openSUSE:Factory/.python-smbc.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-smbc", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-smbc/python-smbc.changes  2012-02-16 
15:02:05.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.python-smbc.new/python-smbc.changes     
2013-03-08 13:39:59.000000000 +0100
@@ -1,0 +2,5 @@
+Tue Jan 15 21:33:03 UTC 2013 - [email protected]
+
+- Initial python3 support
+
+-------------------------------------------------------------------
New Changes file:

--- /dev/null   2013-02-26 18:15:11.936010755 +0100
+++ /work/SRC/openSUSE:Factory/.python-smbc.new/python3-smbc.changes    
2013-03-08 13:39:59.000000000 +0100
@@ -0,0 +1,73 @@
+-------------------------------------------------------------------
+Tue Jan 15 21:33:03 UTC 2013 - [email protected]
+
+- Initial python3 support
+
+-------------------------------------------------------------------
+Wed Feb 15 20:13:29 UTC 2012 - [email protected]
+
+- Update to version 1.0.13:
+  + Call initial libsmbclient functions in right order.
+  + Memory/connection leaks.
+
+-------------------------------------------------------------------
+Tue Dec 20 13:54:30 UTC 2011 - [email protected]
+
+- Update to version 1.0.12:
+  + Add Context.optionUseKerberos
+  + Add Context.optionFallbackAfterKerberos
+
+-------------------------------------------------------------------
+Fri May 27 15:22:24 CEST 2011 - [email protected]
+
+- Update to version 1.0.11:
+  + read/iternext now use Bytes type
+
+-------------------------------------------------------------------
+Wed Nov 10 14:02:41 CET 2010 - [email protected]
+
+- Update to version 1.0.10:
+  + smbc.NoSpaceError
+  + Now buildable against Python 3
+
+-------------------------------------------------------------------
+Mon Sep  6 14:35:08 UTC 2010 - [email protected]
+
+- Fix build with python 2.7, by fixing a filename in the file list.  
+
+-------------------------------------------------------------------
+Mon Aug 23 10:22:33 CEST 2010 - [email protected]
+
+- Update to version 1.0.9:
+  + iteration file read
+  + rewrite tests for python nose
+  + fixed stat portability issue
+  + smbc.NoEntryError
+  + smbc.ExistsError
+  + smbc.NotEmptyError
+  + smbc.TimedOutError
+  + File.seek() and File.lseek()
+
+-------------------------------------------------------------------
+Fri Aug  6 17:21:51 CEST 2010 - [email protected]
+
+- Update to version 1.0.8:
+  + Context.chmod()
+  + Context.rename()
+  + Context.unlink()
+  + Context.creat()
+- Changes from version 1.0.7:
+  + Context.open: omissible flags and mode
+  + File: omissible flags and mode
+  + File.read()
+  + smbc.PermissionError
+  + Context.mkdir()
+  + Context.stat()
+  + File.fstat()
+  + File.write()
+  + File.close()
+
+-------------------------------------------------------------------
+Sat Feb 21 23:57:23 CET 2009 - [email protected]
+
+- Split from system-config-printer.

New:
----
  pre_checkin.sh
  python3-smbc.changes
  python3-smbc.spec

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-smbc.spec ++++++
--- /var/tmp/diff_new_pack.B9KvZY/_old  2013-03-08 13:40:00.000000000 +0100
+++ /var/tmp/diff_new_pack.B9KvZY/_new  2013-03-08 13:40:00.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-smbc
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 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,42 +15,36 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+%define mod_name pysmbc
+
 Name:           python-smbc
-%define _name   pysmbc
 BuildRequires:  libsmbclient-devel
 BuildRequires:  python-devel
-BuildRequires:  python3-devel
 Version:        1.0.13
 Release:        0
-# FIXME: once we have proper macros for python3 packaging, build a 
python3-smbc subpackage
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 Url:            http://cyberelk.net/tim/software/pysmbc/
-Source:         http://cyberelk.net/tim/data/pysmbc/%{_name}-%{version}.tar.bz2
+Source:         
http://cyberelk.net/tim/data/pysmbc/%{mod_name}-%{version}.tar.bz2
 Summary:        Python bindings for samba clients (libsmbclient)
 License:        GPL-2.0+
 Group:          Development/Libraries/Python
-%py_requires
 
 %description
 A module for using the Samba client API in Python programs.
 
 %prep
-%setup -q -n %{_name}-%{version}
+%setup -q -n %{mod_name}-%{version}
 
 %build
 CFLAGS="%{optflags} -DVERSION=\\\"%version\\\"" \
-%{__python} setup.py build
+python setup.py build
 
 %install
-%{__python} setup.py install --prefix=%{_prefix} --root %{buildroot}
-
-%clean
-%{__rm} -rf %{buildroot}
+python setup.py install --prefix=%{_prefix} --root %{buildroot}
 
 %files
 %defattr(-,root,root)
 %doc COPYING NEWS README
-%{py_sitedir}/smbc.so
-%{py_sitedir}/%{_name}-%{version}-py%{python_version}.egg-info
+%{python_sitearch}/*
 
 %changelog

++++++ python3-smbc.spec ++++++
#
# spec file for package python-smbc
#
# Copyright (c) 2013 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# 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
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
Summary:        Python bindings for samba clients (libsmbclient)
License:        GPL-2.0+
Group:          Development/Libraries/Python

%description
A module for using the Samba client API in Python programs.

%prep
%setup -q -n %{mod_name}-%{version}

%build
CFLAGS="%{optflags} -DVERSION=\\\"%version\\\"" \
python3 setup.py build

%install
python3 setup.py install --prefix=%{_prefix} --root %{buildroot}

%files
%defattr(-,root,root)
%doc COPYING NEWS README
%{python3_sitearch}/*

%changelog
++++++ pre_checkin.sh ++++++
#!/bin/sh

sed 's,^\(Name: *\)python-,\1python3-,;s,^\(Requires: 
*\)python-,\1python3-,;s,^\(BuildRequires: *\)python-,\1python3-,;s,python 
setup.py,python3 
setup.py,;s,python_sitelib,python3_sitelib,;s,python_sitearch,python3_sitearch,'
 python-smbc.spec > python3-smbc.spec
cp python-smbc.changes python3-smbc.changes
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to