public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/dynaconf] rawhide: spec cleanup and modernization, fixes rhbz#2377248
@ 2026-06-14 22:10 Filipe Rosset
  0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-06-14 22:10 UTC (permalink / raw)
  To: git-commits

            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
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-14 22:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-14 22:10 [rpms/dynaconf] rawhide: spec cleanup and modernization, fixes rhbz#2377248 Filipe Rosset

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox