14
0
forked from pool/python-pysmbc

- Update to 1.0.16:

* no changelog

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pysmbc?expand=0&rev=5
This commit is contained in:
Tomáš Chvátal
2019-07-22 14:56:51 +00:00
committed by Git OBS Bridge
parent 7b4697fbed
commit 9e3bb9061e
4 changed files with 17 additions and 12 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0567c1789a911500b83c64becdaa0015c135cce0bcf59ec593df48859bebbf1d
size 24691

3
pysmbc-1.0.16.tar.bz2 Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:62199b5cca02c05d5f3b9edbc9a864fb8a2cbe47a465c0b9461642eb3b6f5aca
size 25523

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Jul 22 14:55:40 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 1.0.16:
* no changelog
-------------------------------------------------------------------
Thu Sep 7 16:38:12 UTC 2017 - toddrme2178@gmail.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pysmbc
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 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
@@ -12,7 +12,7 @@
# 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/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@@ -21,12 +21,12 @@
# Tests don't work in rpmbuild sandbox
%bcond_with test
Name: python-pysmbc
Version: 1.0.15.8
Version: 1.0.16
Release: 0
Summary: Python bindings for samba clients (libsmbclient)
License: GPL-2.0+
License: GPL-2.0-or-later
Group: Development/Languages/Python
Url: http://cyberelk.net/tim/software/pysmbc/
URL: http://cyberelk.net/tim/software/pysmbc/
Source: https://files.pythonhosted.org/packages/source/p/pysmbc/pysmbc-%{version}.tar.bz2
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
@@ -45,7 +45,6 @@ Provides: %{oldpython}-smbc = %{version}
Obsoletes: python3-smbc < %{version}
Provides: python3-smbc = %{version}
%endif
%python_subpackages
%description
@@ -63,7 +62,7 @@ export CFLAGS="%{optflags}"
%python_install
%{python_expand chmod a+x %{buildroot}%{$python_sitearch}/smbc/xattr.py
sed -i "s|^#!/usr/bin/python$|#!%__$python|" %{buildroot}%{$python_sitearch}/smbc/xattr.py
sed -i "s|^#!%{_bindir}/python$|#!%__$python|" %{buildroot}%{$python_sitearch}/smbc/xattr.py
$python -m compileall -d %{$python_sitearch} %{buildroot}%{$python_sitearch}/smbc/
$python -O -m compileall -d %{$python_sitelib} %{buildroot}%{$python_sitearch}/smbc/
%fdupes %{buildroot}%{$python_sitearch}
@@ -78,8 +77,8 @@ $python -B -m nose .
%endif
%files %{python_files}
%defattr(-,root,root,-)
%doc COPYING NEWS
%license COPYING
%doc NEWS
%{python_sitearch}/*
%changelog