14
0

Accepting request 762227 from devel:languages:python

- Update to 0.5.4:
  * Switch to python3 interpreter
  * minor documentation improvements
- Switch to singlespec

OBS-URL: https://build.opensuse.org/request/show/762227
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pylibacl?expand=0&rev=3
This commit is contained in:
2020-01-09 21:52:48 +00:00
committed by Git OBS Bridge
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> 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 # 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 # 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
@@ -16,54 +16,44 @@
# #
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pylibacl Name: python-pylibacl
Version: 0.5.3 Version: 0.5.4
Release: 0 Release: 0
Summary: Python POSIX.1e ACL module Summary: POSIX1e ACLs for python
License: LGPL-2.1-or-later License: LGPL-2.1-or-later
URL: https://pylibacl.k1024.org/ 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: fdupes
BuildRequires: libacl-devel BuildRequires: pkgconfig
# Documentation requirements: BuildRequires: python-rpm-macros
BuildRequires: python-Sphinx BuildRequires: pkgconfig(libacl)
BuildRequires: python-devel %python_subpackages
BuildRequires: python-setuptools
%description %description
This Python 2.4+ extension module allows you to manipulate the POSIX.1e Access This is a C extension module for Python which
Control Lists present in some OS/file-systems combinations. It is a wrapper on implements POSIX ACLs manipulation. It is a wrapper on top
top of the systems's acl C library - see acl(5). 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).
%prep %prep
%setup -q -n pylibacl-%{version} %setup -q -n pylibacl-%{version}
%build %build
CFLAGS="%{optflags} -fno-strict-aliasing" python setup.py build %python_build
python setup.py build_sphinx
%install %install
python setup.py install --prefix=%{_prefix} --root=%{buildroot} %python_install
%fdupes %{buildroot}/%{_prefix} %python_expand %fdupes %{buildroot}%{$python_sitearch}
%check %check
python setup.py test %pytest_arch
%files %files %{python_files}
%license COPYING %license COPYING
%doc NEWS README %doc NEWS README.rst
%{python_sitearch}/* %{python_sitearch}/*
%files doc
%doc build/sphinx/html
%changelog %changelog