Marcos Lois Bermúdez
2012-Mar-27 13:30 UTC
[CentOS] How get a spec preprocesed with all macros expanded.
Hi, I need to get a spec file with all macro exanded, so i can extract info of some tags, that my be consitional based on macros, i know that some rpm utils need to make this to figure out dependencies and so on. I don't know if is posible to get a preprocesed spec file with actual Centos & rpm tools, if this is on librpm, i can make a simple tool to make this. Regards.
Karanbir Singh
2012-Mar-27 14:39 UTC
[CentOS] How get a spec preprocesed with all macros expanded.
On 03/27/2012 02:30 PM, Marcos Lois Berm?dez wrote:> I need to get a spec file with all macro exanded, so i can extract info > of some tags, that my be consitional based on macros, i know that some > rpm utils need to make this to figure out dependencies and so on.That does not make any sense to me, what is it that you want in clear terms ? are you just looking for something like : 'yum install redhat-rpm-config rpm-build && rpm --showrc' - KB -- Karanbir Singh +44-207-0999389 | http://www.karan.org/ | twitter.com/kbsingh ICQ: 2522219 | Yahoo IM: z00dax | Gtalk: z00dax GnuPG Key : http://www.karan.org/publickey.asc
Maybe Matching Threads
- add1 GLM - Warning message, what does it mean?
- Is it possible to dial an automated message when Asterisk receives an email?
- signing RPM packages with SHA256
- can i get .spec file for apache httpd of centos?
- Translation samba 3 how to in german, Übersetzung des Samab 3 How to ins deutsch