Created
February 21, 2015 22:40
-
-
Save t0mmyt/bd454d8258cda54c36d8 to your computer and use it in GitHub Desktop.
Skeleton rpmbuild environment
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
cd || exit 1 # Go home! | |
cat <<EOS >.rpmmacros | |
%_topdir %(echo $HOME)/rpmbuild | |
EOS | |
mkdir -p rpmbuild/{BUILD{,ROOT},{,S}RPMS,SOURCES,SPECS} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment