Created
November 18, 2013 13:34
-
-
Save jhrcz/7527760 to your computer and use it in GitHub Desktop.
my hacky way for patching symlink to be a file with changed content with diff from git, applying in rpm spec
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
# hacky way to apply patch from git generated with format-patch -D | |
echo 1 > src/datastore_mad/remotes/lvm/stat.fake | |
ln -sf src/datastore_mad/remotes/lvm/stat.fake src/datastore_mad/remotes/lvm/stat | |
%patch4 -p1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment