diff --git a/python-xattr.changes b/python-xattr.changes index b8facb1..474e2c5 100644 --- a/python-xattr.changes +++ b/python-xattr.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Fri Mar 1 09:33:42 UTC 2019 - Tomáš Chvátal + +- 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 diff --git a/python-xattr.spec b/python-xattr.spec index ca5bd93..e8e7044 100644 --- a/python-xattr.spec +++ b/python-xattr.spec @@ -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 diff --git a/xattr-0.9.3.tar.gz b/xattr-0.9.3.tar.gz deleted file mode 100644 index de737f4..0000000 --- a/xattr-0.9.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:cd010284c816bad19d271f33c14666583669455779d3f7cb0047f4368e49f80b -size 12877 diff --git a/xattr-0.9.6.tar.gz b/xattr-0.9.6.tar.gz new file mode 100644 index 0000000..3bfe567 --- /dev/null +++ b/xattr-0.9.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7cb1b28eeab4fe99cc4350e831434142fce658f7d03f173ff7722144e6a47458 +size 13284