faq
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
faq [2010-10-05 13:38] – there is only one! arekm | faq [2012-10-31 10:55] (current) – avoid smart fromatting for double slashes glen | ||
---|---|---|---|
Line 48: | Line 48: | ||
==== How to check from which .spec file was package X built? ==== | ==== How to check from which .spec file was package X built? ==== | ||
- | First of all, one should check whether there exists a spec file named just like the package. If not, the name of the spec file can be found in the output of one of these commands: | ||
- | |||
- | |||
- | |||
- | < | ||
- | # for already installed packages | ||
- | |||
- | rpm -q --changelog -p package.rpm package2.rpm | grep ' | ||
- | # for packages available as files | ||
- | </ | ||
- | One can also use a more sophisticated command (just like before, adding a "'' | ||
- | |||
- | < | ||
- | </ | ||
+ | '' | ||
+ | source RPM name also with '' | ||
==== How to check which package contains a particular file? ==== | ==== How to check which package contains a particular file? ==== |
faq.1286278722.txt.gz · Last modified: 2012-10-31 09:37 (external edit)