Skip to content

Instantly share code, notes, and snippets.

@RangerRick
Created November 3, 2015 14:17
Show Gist options
  • Save RangerRick/7546b11c3b467883bcc7 to your computer and use it in GitHub Desktop.
Save RangerRick/7546b11c3b467883bcc7 to your computer and use it in GitHub Desktop.
.rpmmacros for building RHEL5-compatible RPMs on RHEL6 and up
%_source_filedigest_algorithm 0
%_binary_filedigest_algorithm 0
%_source_payload w0.bzdio
%_binary_payload w0.bzdio
%__gpg_sign_cmd %{__gpg} gpg --batch --no-verbose --force-v3-sigs --no-armor --passphrase-fd 3 --no-secmem-warning -u "%{_gpg_name}" -sbo %{__signature_filename} %{__plaintext_filename}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment