14
0

- Switch to pyproject macros.

- No more greedy globs in %files.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-gnupg?expand=0&rev=36
This commit is contained in:
2025-02-17 03:29:48 +00:00
committed by Git OBS Bridge
parent 63c5c8c23a
commit 7daecc790f
2 changed files with 12 additions and 5 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Feb 17 03:29:13 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
- No more greedy globs in %files.
-------------------------------------------------------------------
Thu Feb 13 10:37:11 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

View File

@@ -22,9 +22,9 @@ Version: 0.5.4
Release: 0
Summary: A wrapper for the GNU Privacy Guard (GPG or GnuPG)
License: BSD-3-Clause
Group: Development/Languages/Python
URL: https://pythonhosted.org/python-gnupg/index.html
Source: https://files.pythonhosted.org/packages/source/p/python-gnupg/python-gnupg-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
@@ -42,13 +42,12 @@ encryption and signature functionality from Python programs.
%prep
%setup -q -n python-gnupg-%{version}
echo "import setuptools; setuptools.setup()" > setup.py
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -58,6 +57,8 @@ export NO_EXTERNAL_TESTS=true
%files %{python_files}
%license LICENSE.txt
%doc README.rst
%{python_sitelib}/*
%{python_sitelib}/gnupg.py
%pycache_only %{python_sitelib}/__pycache__/gnupg.*.pyc
%{python_sitelib}/python_gnupg-%{version}.dist-info
%changelog