public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Filipe Rosset <filiperosset@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/dynaconf] rawhide: spec cleanup and modernization, fixes rhbz#2377248
Date: Sun, 14 Jun 2026 22:10:59 GMT	[thread overview]
Message-ID: <178147505924.1.12443910535576507632.rpms-dynaconf-3c29325481ed@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/dynaconf
            Branch : rawhide
            Commit : 3c29325481edee6e3e62c3209a1e4ec25da0f370
            Author : Filipe Rosset <filiperosset@fedoraproject.org>
            Date   : 2026-06-14T18:54:39-03:00
            Stats  : +16/-11 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/dynaconf/c/3c29325481edee6e3e62c3209a1e4ec25da0f370?branch=rawhide

            Log:
            spec cleanup and modernization, fixes rhbz#2377248

Signed-off-by: Filipe Rosset <filiperosset@fedoraproject.org>

---
diff --git a/dynaconf.spec b/dynaconf.spec
index 9b623da..73d90e0 100644
--- a/dynaconf.spec
+++ b/dynaconf.spec
@@ -5,11 +5,11 @@ support for 12-factor applications and extensions for Flask and Django
 
 Name:           %{srcname}
 Version:        3.1.2
-Release:        21%{?dist}
-Summary:        A dynamic configurator for python projects
+Release:        22%{?dist}
+Summary:        A dynamic configuration system for Python projects
 
 License:        MIT
-URL:            https://github.com/rochacbruno/dynaconf
+URL:            https://github.com/dynaconf/dynaconf
 Source0:        %{pypi_source}
 
 BuildArch:      noarch
@@ -19,10 +19,8 @@ BuildArch:      noarch
 
 %package -n python3-%{srcname}
 Summary:        %{summary}
-BuildRequires:  python3-setuptools
 BuildRequires:  python3-devel
 
-%{?python_provide:%python_provide python3-%{srcname}}
 
 %description -n python3-%{srcname}
 %{common_desc}
@@ -30,23 +28,30 @@ BuildRequires:  python3-devel
 %prep
 %autosetup -n %{srcname}-%{version}
 
+%generate_buildrequires
+%pyproject_buildrequires
+
 %build
-%py3_build
+%pyproject_wheel
 
 %install
-%py3_install
+%pyproject_install
+%pyproject_save_files -l %{srcname}
+
+%check
+%pyproject_check_import -e dynaconf.loaders.vault_loader -e dynaconf.vendor.dotenv.ipython -e dynaconf.vendor.ruamel.yaml.cyaml -e dynaconf.vendor.ruamel.yaml.setup
 
-%files -n python3-%{srcname}
-%license LICENSE
+%files -n python3-%{srcname} -f %{pyproject_files}
 %doc README.md
 # Trailing slash is to ensure setuptools behavior instead of distutils since
 # the project can use either and .egg-info could end up being a file or a
 # directory.
-%{python3_sitelib}/%{srcname}/
-%{python3_sitelib}/%{srcname}-*.egg-info/
 %{_bindir}/%{srcname}
 
 %changelog
+* Sun Jun 14 2026 Filipe Rosset <filiperosset@fedoraproject.org> - 3.1.2-22
+- spec cleanup and modernization, fixes rhbz#2377248
+
 * Wed Jun 03 2026 Python Maint <python-maint@redhat.com> - 3.1.2-21
 - Rebuilt for Python 3.15
 

                 reply	other threads:[~2026-06-14 22:10 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=178147505924.1.12443910535576507632.rpms-dynaconf-3c29325481ed@fedoraproject.org \
    --to=filiperosset@fedoraproject.org \
    --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