Name: enge Version: devel Release: 1.20250829141647719331.devel.4.g6480a88%{?dist} Summary: enge License: MIT BuildArch: noarch URL: https://github.com/danmyway/enge Source0: enge-devel.tar.gz %generate_buildrequires %pyproject_buildrequires %description enge %prep %autosetup -n enge-devel %build %pyproject_wheel %install %pyproject_install %pyproject_save_files enge # Install config directory and example/default configs install -d %{buildroot}%{_sysconfdir}/enge # Bundled example default (guidance only) install -m 0644 src/enge/utils/enge_default_config.toml %{buildroot}%{_sysconfdir}/enge/enge_default_config.toml # Create an empty user config if not present (left for admin to fill in) # Ship as noreplace so upgrades do not clobber local changes if [ ! -f %{buildroot}%{_sysconfdir}/enge/enge.toml ]; then touch %{buildroot}%{_sysconfdir}/enge/enge.toml fi chmod 0644 %{buildroot}%{_sysconfdir}/enge/enge.toml %files -f %{pyproject_files} %{_bindir}/enge %config(noreplace) %{_sysconfdir}/enge/enge.toml %config(noreplace) %{_sysconfdir}/enge/enge_default_config.toml %changelog * Fri Aug 29 2025 Packit - devel-1.20250829141647719331.devel.4.g6480a88 - Refactor to accomodate leapp testing (#8) (Daniel Diblik) - Rerun (#7) (Daniel Diblik) - Fix log downloading for error state requests (Daniel Diblik) - Fix report for overall result error (Daniel Diblik)