I do nasty things to RPM packages, but I feel as if I should point out some great examples of things YOU SHOULD NEVER DO.  Such as:

Version: %(echo `awk '{ print $1 }' %{SOURCE1}`)
#Release: %(echo `awk '{ print $2 }' %{SOURCE1}`)%{?dist}
Release: %{expand: %(awk '{ print $2 }' %{SOURCE1})

Previous   Up   Next


comments powered by Disqus