File python-dynaconf.changes of Package failed_python-dynaconf
Repair summary for package: failed_python-dynaconf
Root cause:
- The spec file (python-dynaconf.spec) contained small syntax mistakes causing macro expansion and environment variable assignment errors during build/check phases.
1) Incorrect %python_expand usages that included stray '%' or incorrect macro bracing.
2) Environment variable assignment used '==' instead of '='.
Minimal changes applied:
- Modified file: python-dynaconf.spec
* Fixed incorrect %python_expand invocations:
- "%python_expand %fdupes %{buildroot}%{$python_sitelib}" -> "%python_expand fdupes %{buildroot}%{python_sitelib}"
- "%python_expand cp -p %{buildroot}%{_bindir}/dynaconf-%{$python_bin_suffix} ~/bin/dynaconf" -> "%python_expand cp -p %{buildroot}%{_bindir}/dynaconf-%{python_bin_suffix} ~/bin/dynaconf"
* Fixed environment variable assignment:
- "export DYNACONF_TEST_REDIS_URL==http://127.0.0.1:6379" -> "export DYNACONF_TEST_REDIS_URL=http://127.0.0.1:6379"
Notes:
- Only the spec file was modified, with minimal edits to correct the syntax.
- The updated spec file is at: temp_workspace/failed_python-dynaconf/python-dynaconf.spec
End of repair log.