Hello community,

here is the log from the commit of package python-pysmb for openSUSE:Factory 
checked in at 2018-11-15 12:39:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pysmb (Old)
 and      /work/SRC/openSUSE:Factory/.python-pysmb.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pysmb"

Thu Nov 15 12:39:22 2018 rev:1 rq:648472 version:1.1.25

Changes:
--------
New Changes file:

--- /dev/null   2018-10-29 14:05:42.522318975 +0100
+++ /work/SRC/openSUSE:Factory/.python-pysmb.new/python-pysmb.changes   
2018-11-15 12:39:27.098316581 +0100
@@ -0,0 +1,18 @@
+-------------------------------------------------------------------
+Thu Nov  8 17:18:11 UTC 2018 - alarr...@suse.com
+
+- Remove unneeded python devel package
+- Add %license tag
+
+-------------------------------------------------------------------
+Wed Sep 12 13:24:02 UTC 2018 - badshah...@gmail.com
+
+- Fix mtime difference between object files and sources by
+  recompiling after source file modification post python_install
+  stage; oddly fdupes needs to be run twice for this to correctly
+  work: once before compilation and once after.
+
+-------------------------------------------------------------------
+Wed Aug 22 16:17:29 UTC 2018 - badshah...@gmail.com
+
+- Initial package.

New:
----
  pysmb-1.1.25.zip
  python-pysmb.changes
  python-pysmb.spec

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

Other differences:
------------------
++++++ python-pysmb.spec ++++++
#
# spec file for package python-pysmb
#
# Copyright (c) 2018 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
# 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/


%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name:           python-pysmb
Version:        1.1.25
Release:        0
License:        Zlib
Summary:        SMB/CIFS library to support file sharing between Windows and 
Linux machines
Url:            https://miketeo.net/projects/pysmb
Group:          Development/Languages/Python
Source:         
https://files.pythonhosted.org/packages/source/p/pysmb/pysmb-%{version}.zip
BuildRequires:  python-rpm-macros
BuildRequires:  %{python_module setuptools}
# SECTION test requirements
BuildRequires:  %{python_module pyasn1}
# /SECTION
BuildRequires:  unzip
BuildRequires:  fdupes
Requires:       python-pyasn1
BuildArch:      noarch

%python_subpackages

%description
pysmb is an experimental SMB/CIFS library written in Python. It implements the 
client-side SMB/CIFS protocol which allows your Python application to access 
and transfer files to/from SMB/CIFS shared folders like your Windows file 
sharing and Samba folders.

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

%build
%python_build

%install
%python_install

%{python_expand # Remove hashbangs from a non-exec file
sed -Ei "1{/^#!\/usr\/bin\/python/d}" 
%{buildroot}%{$python_sitelib}/smb/utils/sha256.py
}

# fdupes needs to be run before and after object file recompilation
# to ensure consistent mtimes with source files.
%python_expand %fdupes %{buildroot}%{$python_sitelib}

%py_compile    %{buildroot}%{python2_sitelib}/smb
%py_compile -O %{buildroot}%{python2_sitelib}/smb
%py3_compile   %{buildroot}%{python3_sitelib}/smb

%python_expand %fdupes %{buildroot}%{$python_sitelib}

%check
%python_exec setup.py test

%files %{python_files}
%doc CHANGELOG README.txt
%license LICENSE
%{python_sitelib}/*

%changelog

Reply via email to