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:
committed by
Git OBS Bridge
parent
1abe7b591f
commit
0889ec9c6d
@@ -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
|
Thu Jul 12 15:53:27 UTC 2018 - ecsos@opensuse.org
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-xattr
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# 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)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# 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-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-xattr
|
Name: python-xattr
|
||||||
Version: 0.9.3
|
Version: 0.9.6
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python wrapper for extended filesystem attributes
|
Summary: Python wrapper for extended filesystem attributes
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/Python
|
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
|
Source: https://files.pythonhosted.org/packages/source/x/xattr/xattr-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module cffi}
|
BuildRequires: %{python_module cffi}
|
||||||
BuildRequires: %{python_module devel}
|
BuildRequires: %{python_module devel}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-cffi >= 1.11
|
Requires: python-cffi >= 1.11
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(postun): update-alternatives
|
Requires(postun): update-alternatives
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
%ifpython2
|
%ifpython2
|
||||||
Provides: pyxattr = %{version}
|
Provides: pyxattr = %{version}
|
||||||
Obsoletes: pyxattr < %{version}
|
Obsoletes: pyxattr < %{version}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -58,8 +57,12 @@ export CFLAGS="%{optflags}"
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%python_install
|
||||||
|
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||||
%python_clone -a %{buildroot}%{_bindir}/xattr
|
%python_clone -a %{buildroot}%{_bindir}/xattr
|
||||||
|
|
||||||
|
%check
|
||||||
|
%python_exec -m unittest discover
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%python_install_alternative xattr
|
%python_install_alternative xattr
|
||||||
|
|
||||||
@@ -67,8 +70,8 @@ export CFLAGS="%{optflags}"
|
|||||||
%python_uninstall_alternative xattr
|
%python_uninstall_alternative xattr
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%defattr(-,root,root)
|
%license LICENSE.txt
|
||||||
%doc README.rst LICENSE.txt
|
%doc README.rst
|
||||||
%python_alternative %{_bindir}/xattr
|
%python_alternative %{_bindir}/xattr
|
||||||
%{python_sitearch}/xattr
|
%{python_sitearch}/xattr
|
||||||
%{python_sitearch}/xattr-*egg-info
|
%{python_sitearch}/xattr-*egg-info
|
||||||
|
|||||||
@@ -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
3
xattr-0.9.6.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:7cb1b28eeab4fe99cc4350e831434142fce658f7d03f173ff7722144e6a47458
|
||||||
|
size 13284
|
||||||
Reference in New Issue
Block a user