On Monday 01 September 2003 23:31, Abel Cheung wrote: > On 2003-09-01(Mon) 22:29:52 +0200, Stefan van der Eijk wrote: > > >>>I agree, rpm-devel should require pkgconfig. > > >> > > >>Same for me. That's silly to add it to all packages individually. > > > > > >So..., what do you all suggest? > > > > > >File a bugreport or bug the rpm package maintainer? > > > > > >I personally think this solution would benefit the most... > > > > I guess there are 3 options: > > > > - add it as a Requires to rpm-build (not rpm-devel!)
It is no really mandatory to use it for rpm building, only for some packages, so, there is no need to a requires for some packages. > > - add some functionality to the find-requires script > > - hunt down the packages and add it to the spec file > > Michael has already done the 2nd option as a patch to find-requires, > posted in cooker. The patch is not perfect. If applied right now,linphone would requires pkgconfig, which is useless. So, what i propose is to add pkgconfig as a requires if : - a file is dropped in /usr/lib/pkgconfig and if - a file is dropped in /usr/share/aclocal and this file test the presence of pkg-config. It should be engouh to grep AC_PATH_PROG(PKG_CONFIG, pkg-config, no) in the file. -- Michaël Scherer