How do I run a shell command in spec file? I want to execute something similar like:
uname -r | sed s/(...stuff...)/(...stuff...)
If you need it in something like a %define
or %global
or a macro, you can use "%(shell_command)
". Note ()
not {}
.