I have a .src.rpm and I discovered running rpm -qp --requires package.src.rpm returns a list of build requires, but not the requires field.
I couldn't see anything relevant on the rpm man page.
Can someone help me out figure it out? Thanks!
Re: Need to extract "requires"info from a .src.rpm
Quote:
Originally Posted by td123
I have a .src.rpm and I discovered running rpm -qp --requires package.src.rpm returns a list of build requires, but not the requires field.
I couldn't see anything relevant on the rpm man page.
Can someone help me out figure it out? Thanks!
You don't specify requires in fedora unless auto-detection fails (normally it's just python based packages that need requires).