Skip to content

Instantly share code, notes, and snippets.

@ndowens
ndowens / empty_rpm.md
Created January 14, 2024 09:12 — forked from fuzzmz/empty_rpm.md
How to build an empty .rpm file

How to create an empty .rpm file

First create a package_name.spec file with the following content:

Summary: Summary here
Name: package_name
Version: 0
Release: 0

License: Public

SSH_ENV=$HOME/.ssh/environment
function start_agent {
/usr/bin/ssh-agent | sed 's/^echo/#echo/' > "${SSH_ENV}";
chmod 600 "${SSH_ENV}"
. "${SSH_ENV}" > /dev/null
adding_keys
}
function adding_keys {
for possiblekey in ${HOME}/.ssh/*; do