forked from pool/python-zope.security
Accepting request 969273 from home:bnavigator:branches:devel:languages:python
- Update to version 5.2.0 * Add support for Python 3.9 and 3.10. OBS-URL: https://build.opensuse.org/request/show/969273 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.security?expand=0&rev=15
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-zope.security
|
||||
# spec file
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
# Copyright (c) 2013 LISA GmbH, Bingen, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
@@ -27,7 +27,7 @@
|
||||
%bcond_with test
|
||||
%endif
|
||||
Name: python-zope.security%{psuffix}
|
||||
Version: 5.1.1
|
||||
Version: 5.2
|
||||
Release: 0
|
||||
Summary: Zope Security Framework
|
||||
License: ZPL-2.1
|
||||
@@ -67,7 +67,6 @@ policies on Python objects.
|
||||
|
||||
%prep
|
||||
%setup -q -n zope.security-%{version}
|
||||
rm -rf *.egg-info
|
||||
|
||||
%build
|
||||
%python_build
|
||||
@@ -76,18 +75,22 @@ rm -rf *.egg-info
|
||||
%if !%{with test}
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||
%python_expand rm %{buildroot}%{$python_sitearch}/zope/security/*.c
|
||||
%endif
|
||||
|
||||
%if %{with test}
|
||||
%check
|
||||
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} %{_bindir}/zope-testrunner-%{$python_bin_suffix} -vvv --test-path src
|
||||
%python_expand %{_bindir}/zope-testrunner-%{$python_bin_suffix} -vvv --test-path src
|
||||
%endif
|
||||
|
||||
%if !%{with test}
|
||||
%files %{python_files}
|
||||
%license LICENSE.txt
|
||||
%doc README.rst
|
||||
%{python_sitearch}/*
|
||||
%dir %{python_sitearch}/zope
|
||||
%{python_sitearch}/zope/security
|
||||
%{python_sitearch}/zope.security-%{version}*-info
|
||||
%{python_sitearch}/zope.security-%{version}*-nspkg.pth
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user