Name: boot-repair-andres Version: 0.1.2.1 Release: 1%{?dist} Summary: Swiss-army live rescue tool: GRUB repair, display reset, initramfs, kernel, system update, boot freedom, diagnostics. License: MIT URL: https://github.com/AndresDev859674/boot-repair # ELIMINAMOS TODOS LOS ARCHIVOS AUXILIARES (Source1 a Source4) BuildRequires: bash, git Requires: bash, git BuildArch: noarch %description %{summary} %prep # -q: silencioso # -T: No desempaquetar el Source0 automáticamente # -n boot-repair-%{version}: Intentar moverse al directorio con nombre de versión %setup -q -n boot-repair-%{version} %install # Ahora estamos en el directorio de trabajo: ~/builddir/build/boot-repair-0.1.2.1/ # El problema está aquí: RPM no ve 'boot-repair.sh' ni 'art' # Solución: Asumimos que están en la raíz del área de trabajo: install -Dm755 boot-repair.sh %{buildroot}/usr/bin/boot-repair install -d -m755 %{buildroot}/usr/share/boot-repair-andres cp -r art %{buildroot}/usr/share/boot-repair-andres/ %files /usr/bin/boot-repair /usr/share/boot-repair-andres/art # ELIMINAMOS TODAS LAS RUTAS DE LOS ARCHIVOS AUXILIARES DE %FILES %changelog * Tue Oct 07 2025 andres8596 - 0.1.2.1-1 - Initial release for fedora. Simplified package to only include the main script and art folder.