public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Filipe Rosset <rosset.filipe@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/python-pamela] rawhide: Fix F45FTBFS + spec cleanup and modernization
Date: Wed, 29 Jul 2026 14:13:11 GMT	[thread overview]
Message-ID: <178533439119.1.1279429073143793141.rpms-python-pamela-3c3cbaaa4300@fedoraproject.org> (raw)

            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

                 reply	other threads:[~2026-07-29 14:13 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178533439119.1.1279429073143793141.rpms-python-pamela-3c3cbaaa4300@fedoraproject.org \
    --to=rosset.filipe@gmail.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox