Created
September 18, 2014 13:07
-
-
Save igilham/2f915358a2b773784112 to your computer and use it in GitHub Desktop.
Find RPM spec versions in projects below current directory
This file contains 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
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