diff --git a/pylibacl-0.5.3.tar.gz b/pylibacl-0.5.3.tar.gz deleted file mode 100644 index 959e541..0000000 --- a/pylibacl-0.5.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:40be9f1fc5de05e4c25505c45ad7cda61b3b8db5dd730e98b6d2c05574e07d30 -size 33253 diff --git a/pylibacl-0.5.4.tar.gz b/pylibacl-0.5.4.tar.gz new file mode 100644 index 0000000..6a6eac1 --- /dev/null +++ b/pylibacl-0.5.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:060f375aeff90a16fbc3a827b7e234694ad636485d8ecd6654e01e1fc4ea3b37 +size 37016 diff --git a/python-pylibacl.changes b/python-pylibacl.changes index 8d937be..97d2695 100644 --- a/python-pylibacl.changes +++ b/python-pylibacl.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Thu Jan 9 14:06:28 UTC 2020 - Tomáš Chvátal + +- Update to 0.5.4: + * Switch to python3 interpreter + * minor documentation improvements +- Switch to singlespec + ------------------------------------------------------------------- Mon Oct 14 14:15:19 UTC 2019 - Matej Cepl diff --git a/python-pylibacl.spec b/python-pylibacl.spec index 2a1bdee..ada3ba8 100644 --- a/python-pylibacl.spec +++ b/python-pylibacl.spec @@ -1,7 +1,7 @@ # # spec file for package python-pylibacl # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,54 +16,44 @@ # +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pylibacl -Version: 0.5.3 +Version: 0.5.4 Release: 0 -Summary: Python POSIX.1e ACL module +Summary: POSIX1e ACLs for python License: LGPL-2.1-or-later URL: https://pylibacl.k1024.org/ -Source: https://github.com/iustin/pylibacl/releases/download/pylibacl-v%{version}/pylibacl-%{version}.tar.gz +Source: https://files.pythonhosted.org/packages/source/p/pylibacl/pylibacl-%{version}.tar.gz +BuildRequires: %{python_module devel} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module setuptools} BuildRequires: fdupes -BuildRequires: libacl-devel -# Documentation requirements: -BuildRequires: python-Sphinx -BuildRequires: python-devel -BuildRequires: python-setuptools +BuildRequires: pkgconfig +BuildRequires: python-rpm-macros +BuildRequires: pkgconfig(libacl) +%python_subpackages %description -This Python 2.4+ extension module allows you to manipulate the POSIX.1e Access -Control Lists present in some OS/file-systems combinations. It is a wrapper on -top of the systems's acl C library - see acl(5). - -%package doc -Summary: Python POSIX.1e ACL module -Requires: %{name} = %{version} - -%description doc -This Python 2.4+ extension module allows you to manipulate the POSIX.1e Access -Control Lists present in some OS/file-systems combinations. It is a wrapper on -top of the systems's acl C library - see acl(5). +This is a C extension module for Python which +implements POSIX ACLs manipulation. It is a wrapper on top +of the systems's acl C library - see acl(5). %prep %setup -q -n pylibacl-%{version} %build -CFLAGS="%{optflags} -fno-strict-aliasing" python setup.py build -python setup.py build_sphinx +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} -%fdupes %{buildroot}/%{_prefix} +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitearch} %check -python setup.py test +%pytest_arch -%files +%files %{python_files} %license COPYING -%doc NEWS README +%doc NEWS README.rst %{python_sitearch}/* -%files doc -%doc build/sphinx/html - %changelog