10.04.2014 05:25, Sérgio Basto пишет: > On Qui, 2014-04-10 at 01:40 +0200, Tadej Janež wrote: >> Hi! >> >> On Tue, 2014-04-08 at 18:30 +0400, Pavel Alexeev wrote: >>> Packages for rebuild: >>> $ repoquery --repoid=rawhide --whatrequires --alldeps ImageMagick\* | >>> fgrep -v 'ImageMagick-' | sort -u >> As Michael Schwendt already pointed out, your query missed some packages >> that need rebuilding (BTW, I noticed this because my package, techne, >> was not listed on your list). >> >> Comparing: >> repoquery --whatrequires 'libMagick*.so.*' --repoid=rawhide --source >> --qf '%{name}' | sed 's!-[^-]\+-[^-]\+\.src\.rpm$!!g' | sort -u >> >> to: >> repoquery --whatrequires 'ImageMagick*' --repoid=rawhide --source --qf >> '%{name}' | sed 's!-[^-]\+-[^-]\+\.src\.rpm$!!g' | sort -u >> >> revealed that the first command catches some packages that the second >> command doesn't. These are: >> ale >> imageinfo >> php-magickwand >> php-pecl-imagick >> psiconv >> q >> ripright >> techne >> >> But it also goes the other way around. The second command catches a lot >> more packages that the first one. These are: >> a2ps >> anyremote >> caja-extensions >> c-graph >> dblatex >> epix >> fbida >> freewrl >> fvwm >> gallery2 >> ... > > Hi, I had study this recently (find dependencies for mass rebuilds ) and > found your bug, query rawhide when ImageMagick is already rebuilt, > query now rawhide we got : > > repoquery --repoid=rawhide --requires techne | grep libMag > libMagickCore-6.Q16.so.1()(64bit) > libMagickWand-6.Q16.so.1()(64bit) > > repoquery --repoid=rawhide --provides ImageMagick-libs | grep libMag > libMagickCore-6.Q16.so.2 > libMagickWand-6.Q16.so.2 > libMagickCore-6.Q16.so.2()(64bit) > libMagickWand-6.Q16.so.2()(64bit) > > > So repoquery is correct techne requires > libMagickWand-6.Q16.so.1()(64bit) and ImageMagick provides > libMagickCore-6.Q16.so.2()(64bit) :D > > > 2nd - about "your" first command which catches some others packages, the > packages are, the packages that requires only ImageMagick and not > ImageMagick-libs , this packages that just requires ImageMagick binaries > don't need to be rebuild. if a package need to use convert , don't need > to be rebuild. > > Conclusion the correct repoquery should be made on a repo that have all > packages without broken deps, on F20 for example. > > repoquery --whatrequires ImageMagick-libs --source | perl -pe > 's/-\d.*?-\d+(\..*)?\.fc\d+(\..*)?.src.rpm//' | sort -u > > and you got there your package Thanks for comments. Each time I have more and more variants :) > > Best regards, -- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct