Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Find RPM spec versions in projects below current directory
cd $WORKSPACE/dcable-rpms/
svn up ./*
find . -iname '**.spec' | xargs grep -i '^Version' | sed -e 's_./.*/SPECS/__' -e 's/\.spec//' -e 's/Version://'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.