14
0
forked from pool/python-xattr

- Update to 0.9.6:

* Fix release build by including *.[ch] in Manifest.in
  * Extract inline C code for syntax highlighting and easier maintenance
    https://github.com/xattr/xattr/pull/75
  * Fix Travis build
    https://github.com/xattr/xattr/pull/74
  * Always include sys/types.h (musl compatibility)
    https://github.com/xattr/xattr/pull/73
- Enable tests

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xattr?expand=0&rev=35
This commit is contained in:
Tomáš Chvátal
2019-03-01 09:35:33 +00:00
committed by Git OBS Bridge
parent 1abe7b591f
commit 0889ec9c6d
4 changed files with 27 additions and 11 deletions

View File

@@ -1,3 +1,16 @@
-------------------------------------------------------------------
Fri Mar 1 09:33:42 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 0.9.6:
* Fix release build by including *.[ch] in Manifest.in
* Extract inline C code for syntax highlighting and easier maintenance
https://github.com/xattr/xattr/pull/75
* Fix Travis build
https://github.com/xattr/xattr/pull/74
* Always include sys/types.h (musl compatibility)
https://github.com/xattr/xattr/pull/73
- Enable tests
-------------------------------------------------------------------
Thu Jul 12 15:53:27 UTC 2018 - ecsos@opensuse.org

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-xattr
#
# Copyright (c) 2018 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,32 +12,31 @@
# 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/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-xattr
Version: 0.9.3
Version: 0.9.6
Release: 0
Summary: Python wrapper for extended filesystem attributes
License: MIT
Group: Development/Languages/Python
Url: http://github.com/xattr/xattr
URL: http://github.com/xattr/xattr
Source: https://files.pythonhosted.org/packages/source/x/xattr/xattr-%{version}.tar.gz
BuildRequires: %{python_module cffi}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-cffi >= 1.11
Requires(post): update-alternatives
Requires(postun): update-alternatives
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%ifpython2
Provides: pyxattr = %{version}
Obsoletes: pyxattr < %{version}
%endif
%python_subpackages
%description
@@ -58,8 +57,12 @@ export CFLAGS="%{optflags}"
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%python_clone -a %{buildroot}%{_bindir}/xattr
%check
%python_exec -m unittest discover
%post
%python_install_alternative xattr
@@ -67,8 +70,8 @@ export CFLAGS="%{optflags}"
%python_uninstall_alternative xattr
%files %{python_files}
%defattr(-,root,root)
%doc README.rst LICENSE.txt
%license LICENSE.txt
%doc README.rst
%python_alternative %{_bindir}/xattr
%{python_sitearch}/xattr
%{python_sitearch}/xattr-*egg-info

View File

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

3
xattr-0.9.6.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7cb1b28eeab4fe99cc4350e831434142fce658f7d03f173ff7722144e6a47458
size 13284