14
0
Files
python-pylibacl/python-pylibacl.spec
Hans-Peter Jansen a8a70c588b Accepting request 1297921 from home:glaubitz:branches:devel:languages:python
- Update to 0.7.3
  * This is a test-only changes release, removing some very old
    testing for reference counts, introduced in 2012, but which
    stopped working with Python 3.14 as it changed reference
    counting by introducing optimizations in some cases. No need
    to upgrade unless you want to make sure the test suite passes
    on 3.14, and no real failures are hidden by the broken reference
    testing.
  * Additionally, the release enables CI on Python 3.14, thanks
    Marcin Zajączkowski!

OBS-URL: https://build.opensuse.org/request/show/1297921
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pylibacl?expand=0&rev=28
2025-08-06 11:04:14 +00:00

64 lines
1.9 KiB
RPMSpec

#
# spec file for package python-pylibacl
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2013-2020 LISA GmbH, Bingen, Germany
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?sle15_python_module_pythons}
Name: python-pylibacl
Version: 0.7.3
Release: 0
Summary: POSIX1e ACLs for python
License: LGPL-2.1-or-later
URL: https://pylibacl.k1024.org/
Source: https://files.pythonhosted.org/packages/source/p/pylibacl/pylibacl-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: pkgconfig
BuildRequires: python-rpm-macros
BuildRequires: pkgconfig(libacl)
%python_subpackages
%description
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
%pyproject_wheel
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%check
%pytest_arch
%files %{python_files}
%license COPYING
%doc NEWS.md README.md
%{python_sitearch}/posix1e.*
%{python_sitearch}/pylibacl-%{version}.dist-info
%changelog