fifr | piggz[m], rinigus: I have a question. I need some conditional settings in the .spec file to detect if the package is built in the build service. Formerly I used %{?vendor} == "chum", but now vendor seems to be set to "meego". What's the best way to detect whether we're building in the build service? | 11:11 |
---|---|---|
piggz[m] | fifr: im sure it should be chum | 11:38 |
fifr | at some point in the spec file I inserted "%{_builddir}a_%{?_chum}_%{?vendor}_" and the logfile says '[ 576s] CMake Error: The source directory "/home/abuild/rpmbuild/BUILDa__meego_" does not exist.' | 11:40 |
fifr | so it seems as if "%{?vendor}" is "meego" | 11:41 |
rinigus | fifr: vendor is set to chum: https://build.sailfishos.org/project/prjconf/sailfishos:chum:testing . if you compile in chum:testing or chum regular. unless you override it in your spec | 14:24 |
fifr | rinigus: thanks, then I have no idea what's going on. I do not even know how to override it (the term "vendor" does not appear in the spec except for the line I wrote, neither does "meego"). I'll try to find a different solution | 15:22 |
rinigus | fifr: where is your spec? at OBS | 15:23 |
fifr | rinigus: nah, it's okay, thanks. I'm playing around with the file right now to find a different approach. Sorry for the inconvenience and thanks for your reply. | 15:29 |
rinigus | good luck! | 15:34 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!