Rodrigo Moya wrote:
- Stanislav had a tool to analyze pkg-config checks for automatically update BuildRequires
It's still unfinished and might be broken... I made my proof of concept public: http://pack.suse.cz/sbrabec/pkg-buildrequires/ Technical background and problems: - It's not easy to get package dependency data from configure.in. m4 expansion may occur and shell expansion may occur as well. Finally it's not easy to guess, which branch of code is actully active => The simplest way is modifying or wrapping of pkg-config itself. Solved. - RPM offers no way how to get data collected by %build back to the spec file preamble. We need a simple but enforcing way to perform this step manually. Still needs proper solution. Proposed usage: BuildRequires: pkg-buildrequires and replace %configure by %pkg_buildrequires_configure -- Best Regards / S pozdravem, Stanislav Brabec software developer --------------------------------------------------------------------- SUSE LINUX, s. r. o. e-mail: sbrabec@suse.cz Lihovarská 1060/12 tel: +420 284 028 966 190 00 Praha 9 fax: +420 284 028 951 Czech Republic http://www.suse.cz/ --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org