public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-pamela] rawhide: Fix F45FTBFS + spec cleanup and modernization
@ 2026-07-29 14:13 Filipe Rosset
0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-07-29 14:13 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-pamela
Branch : rawhide
Commit : 3c3cbaaa4300011aadb67d676df7e8f99e425e7b
Author : Filipe Rosset <rosset.filipe@gmail.com>
Date : 2026-07-29T00:06:56-03:00
Stats : +13/-13 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-pamela/c/3c3cbaaa4300011aadb67d676df7e8f99e425e7b?branch=rawhide
Log:
Fix F45FTBFS + spec cleanup and modernization
Resolves: rhbz#2211788
Resolves: rhbz#2366474
Resolves: rhbz#2377970
Resolves: rhbz#2435002
Resolves: rhbz#2504557
---
diff --git a/python-pamela.spec b/python-pamela.spec
index f5ffbfc..d8b7028 100644
--- a/python-pamela.spec
+++ b/python-pamela.spec
@@ -14,35 +14,35 @@ BuildArch: noarch
%description
Yet another Python wrapper for PAM.
-%package -n python%{python3_pkgversion}-%{srcname}
+%package -n python3-%{srcname}
Summary: %{summary}
-BuildRequires: python%{python3_pkgversion}-devel
-BuildRequires: python%{python3_pkgversion}-setuptools
-BuildRequires: python%{python3_pkgversion}-pytest
-%{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}}
+BuildRequires: python3-devel
+BuildRequires: python3-pytest
-%description -n python%{python3_pkgversion}-%{srcname}
+%description -n python3-%{srcname}
Yet another Python wrapper for PAM.
%prep
%setup -q -n %{srcname}-%{version}
+%generate_buildrequires
+%pyproject_buildrequires
+
%build
-%py3_build
+%pyproject_wheel
%install
-%py3_install
+%pyproject_install
+%pyproject_save_files -l %{srcname}
%check
-py.test-%{python3_version} -v
+%pyproject_check_import
+%pytest -k "not test_environment"
-%files -n python%{python3_pkgversion}-%{srcname}
-%license COPYING
+%files -n python3-%{srcname} -f %{pyproject_files}
%doc README.md
-%{python3_sitelib}/%{srcname}*
-%{python3_sitelib}/__pycache__/%{srcname}*
%changelog
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-29 14:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-29 14:13 [rpms/python-pamela] rawhide: Fix F45FTBFS + spec cleanup and modernization Filipe Rosset
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox