Sunday, 2023-05-21

fifrpiggz[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 chum11:38
fifrat 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
fifrso it seems as if "%{?vendor}" is "meego"11:41
rinigusfifr: 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 spec14:24
fifrrinigus: 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 solution15:22
rinigusfifr: where is your spec? at OBS15:23
fifrrinigus: 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
rinigusgood luck!15:34

Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!