forked from pool/python-zope.schema
Compare commits
17 Commits
bec8b2dc02
...
a455c5ccc5
Author | SHA256 | Date | |
---|---|---|---|
a455c5ccc5 | |||
a9232afea9 | |||
c51b39255d | |||
2c124ffa4d | |||
3a192d0fbc | |||
82fc493b37 | |||
2b2067f8b1 | |||
f1324474ea | |||
bc2e1ee8d5 | |||
6d8c3b7b9d | |||
392f4c17aa | |||
25400883ce | |||
7fc9ec0387 | |||
fce1ec66cd | |||
|
0de277f758 | ||
|
f077a347e0 | ||
|
b6d6437960 |
@@ -1,3 +1,13 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon May 5 11:08:56 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
- Modernize packaging
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 1 20:35:49 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- use python3 module python for sle15
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 6 12:40:52 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file
|
||||
# spec file for package python-zope.schema
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,7 +16,6 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%global flavor @BUILD_FLAVOR@%{nil}
|
||||
%if "%{flavor}" == "test"
|
||||
%define psuffix -test
|
||||
@@ -25,6 +24,7 @@
|
||||
%define psuffix %{nil}
|
||||
%bcond_with test
|
||||
%endif
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-zope.schema%{psuffix}
|
||||
Version: 7.0.1
|
||||
Release: 0
|
||||
@@ -33,6 +33,7 @@ License: ZPL-2.1
|
||||
URL: https://pypi.python.org/pypi/zope.schema
|
||||
Source: https://files.pythonhosted.org/packages/source/z/zope.schema/zope.schema-%{version}.tar.gz
|
||||
BuildRequires: %{python_module base >= 3.7}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
@@ -63,11 +64,11 @@ required.
|
||||
rm -rf zope.schema.egg-info
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%if !%{with test}
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
%endif
|
||||
|
||||
@@ -80,7 +81,10 @@ rm -rf zope.schema.egg-info
|
||||
%files %{python_files}
|
||||
%license LICENSE.txt
|
||||
%doc COPYRIGHT.txt CHANGES.rst README.rst
|
||||
%{python_sitelib}/*
|
||||
%dir %{python_sitelib}/zope
|
||||
%{python_sitelib}/zope/schema
|
||||
%{python_sitelib}/zope[_.]schema-%{version}*info
|
||||
%{python_sitelib}/zope.schema-%{version}*pth
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user