[PLDWWW] page changed: faq
"Elan Ruusamäe (glen)"
glen at pld-linux.org
Wed Oct 31 10:55:36 CET 2012
avoid smart fromatting for double slashes
--- https://www.pld-linux.org/faq?rev=1351672629
+++ https://www.pld-linux.org/faq
@@ -48,9 +48,9 @@
==== How to check from which .spec file was package X built? ====
''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? ====
If the package is installed, you can invoke ''rpm'' as shown below:
Diff URL:
https://www.pld-linux.org/faq?do=diff&r1=1351672629&r2=1351677336
--
This mail was generated by DokuWiki at
https://www.pld-linux.org/
More information about the pld-cvs-commit
mailing list