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 # Usa la macro 'tar' para desempaquetar el Source0 tar -xf %{SOURCE0} # Mueve los archivos a la raíz del área de trabajo de Mock (BUILD) # Esto asume que el tarball crea el subdirectorio boot-repair-0.1.2.1 mv boot-repair-%{version}/* . # ELIMINA la carpeta de versión vacía si es necesario rmdir boot-repair-%{version} %install # Ahora que los archivos están en la raíz de BUILD, la instalación es simple: 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 y %changelog (limpios) %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.