forked from pool/python-pyaes
- Switch to pyproject macros.
- Stop using greedy globs in %files. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyaes?expand=0&rev=13
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Feb 19 05:11:54 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Switch to pyproject macros.
|
||||||
|
- Stop using greedy globs in %files.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jun 28 20:12:42 UTC 2022 - Torsten Gruner <simmphonie@opensuse.org>
|
Tue Jun 28 20:12:42 UTC 2022 - Torsten Gruner <simmphonie@opensuse.org>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-pyaes
|
# spec file for package python-pyaes
|
||||||
#
|
#
|
||||||
# Copyright (c) 2022 SUSE LLC
|
# Copyright (c) 2024 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,16 +16,17 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
||||||
Name: python-pyaes
|
Name: python-pyaes
|
||||||
Version: 1.6.1
|
Version: 1.6.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Pure-Python Implementation of the AES block-cipher
|
Summary: Pure-Python Implementation of the AES block-cipher
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/Python
|
|
||||||
URL: https://github.com/ricmoo/pyaes/
|
URL: https://github.com/ricmoo/pyaes/
|
||||||
Source: https://files.pythonhosted.org/packages/source/p/pyaes/pyaes-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/p/pyaes/pyaes-%{version}.tar.gz
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module pycryptodome}
|
BuildRequires: %{python_module pycryptodome}
|
||||||
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-pycryptodome
|
Requires: python-pycryptodome
|
||||||
@@ -41,10 +42,10 @@ beyond standard Python libraries. See README.md for API reference and details.
|
|||||||
%setup -q -n pyaes-%{version}
|
%setup -q -n pyaes-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@@ -56,6 +57,7 @@ fi
|
|||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.md
|
%doc README.md
|
||||||
%license LICENSE.txt
|
%license LICENSE.txt
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/pyaes
|
||||||
|
%{python_sitelib}/pyaes-%{version}.dist-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user