You just missed a thread on a patch to do just what you're asking. I was called "inject local rpm data for buildinfo calculation" if you want to look up the thread/patch in the archive. On Wed, 2009-03-04 at 18:27 +0100, Petr Mladek wrote:
Hi,
are there any plans to take the provides and requires of the preferred packages in account?
I get the following error:
--- cut --- $> osc build --local-package --prefer-pkgs=/tmp/prefer-rpms-5993 SLED_10 i586 OpenOffice_org-ure.spec Building OpenOffice_org-ure.spec for SLED_10/i586 Getting buildinfo from server buildinfo is broken... it says: expansion error: nothing provides OpenOffice_org-bootstrap = 3.0.99.0 --- cut ---
even when the package OpenOffice_org-bootstrap-3.0.99.0 is available in the /tmp/prefer-rpms-5993.
I see that this feature was mentioned at http://lists.opensuse.org/opensuse-buildservice/2007-05/msg00011.html but probably newer implemented ;-)
Heh, I would be happy even for a workaround. It might help when the server mentions the valid dependencies (bdep tags) in the buildinfo together with the error. I could locally hack osc to ignore the expansion errors of OOo packages.
JFYI, here is my workflow:
The OpenOffice.org build is currently split into 19 spec files. I have some helper scripts that allow to rebuild everything on a local machine. I have just updated the scripts to use "osc build" instead of "abuild". It does not work because of the above mentioned problem. Note that I update the package version quite often because of API/ABI changes.
The local building is important for me because I needed to get full rebuilds in a predictable time. It is especially important for factory where the normal build might be blocked several days. Also the local build trees are very useful for debugging and testing of new changes.
Thanks in advance.
-- Best Regards,
Petr Mladek software developer --------------------------------------------------------------------- SUSE LINUX, s. r. o. e-mail: pmladek@suse.cz Lihovarská 1060/12 tel: +420 284 028 952 190 00 Prague 9 fax: +420 284 028 951 Czech Republic http://www.suse.cz/ -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org