actions: - replace: - target: "spec" find: "BuildRequires: efivar-devel >= %{efivar_version}" replace: "BuildRequires: efivar-devel < 37" count: 1 - target: "spec" find: "%pesign -s -i efi/fwup%{efiarch}.unsigned.efi -o efi/fwup%{efiarch}.efi -a %{SOURCE2} -n redhatsecureboot301 -c %{SOURCE3}" replace: "%pesign -s -i efi/fwup%{efiarch}.unsigned.efi -o efi/fwup%{efiarch}.efi -a %{SOURCE2} -n clsecureboot001 -c %{SOURCE3}" count: 1 - target: "spec" find: "%pesign -s -i efi/fwup%{efialtarch}.unsigned.efi -o efi/fwup%{efialtarch}.efi -a %{SOURCE2} -n redhatsecureboot301 -c %{SOURCE3}" replace: "%pesign -s -i efi/fwup%{efialtarch}.unsigned.efi -o efi/fwup%{efialtarch}.efi -a %{SOURCE2} -n clsecureboot001 -c %{SOURCE3}" count: 1 - modify_release: - suffix: ".alma.1" enabled: true - changelog_entry: - name: "Andrei Lukoshko" email: "alukoshko@almalinux.org" line: - "Debrand for AlmaLinux" - add_files: - type: "source" name: "clsecureboot001.cer" number: 2 - delete_files: - file_name: "secureboot.cer" - file_name: "securebootca.cer"