14
0

- Update to 0.5.4:

* Switch to python3 interpreter
  * minor documentation improvements
- Switch to singlespec

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pylibacl?expand=0&rev=13
This commit is contained in:
Tomáš Chvátal
2020-01-09 14:15:10 +00:00
committed by Git OBS Bridge
parent c5c1e80a4e
commit 9ea33d8ff3
4 changed files with 32 additions and 34 deletions

View File

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

3
pylibacl-0.5.4.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Thu Jan 9 14:06:28 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- 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 <mcepl@suse.com>

View File

@@ -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