This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
faq [2012-10-31 09:37] jajcus [How to check from which .spec file was package X built?] outdated information replaced |
faq [2012-10-31 10:55] (current) glen avoid smart fromatting for double slashes |
||
---|---|---|---|
Line 50: | Line 50: | ||
''rpm -qi package'' command will show various information about the package, including the source RPM name. You can check the | ''rpm -qi package'' command will show various information about the package, including the source RPM name. You can check the | ||
- | source RPM name also with ''rpm -q --queryformat '%{sourcerpm}\n' package''. The base name of the source RPM (with version and the '.src.rpm' suffix stipped) is also the name for the GIT repository and the spec file. | + | source RPM name also with ''%%rpm -q --queryformat '%{sourcerpm}\n' package%%''. The base name of the source RPM (with version and the '.src.rpm' suffix stipped) is also the name for the GIT repository and the spec file. |
==== How to check which package contains a particular file? ==== | ==== How to check which package contains a particular file? ==== |