Hello,
I'm trying to use the '%define _with_something in the prjconf file' construction that is explained on this page: http://en.opensuse.org/Build_Service/prjconf#Macros
But I don't get it to work.
Some details: cyrus-imapd-kolab> osc meta prjconf server:Kolab:UNSTABLE %define _with_kolab 1
The spec file contains: %bcond_with kolab %if %{with kolab} %define pkg_perl_Cyrus_IMAP perl-Cyrus-Imap-kolab %define pkg_perl_Cyrus_SIEVE_managesieve perl-Cyrus-SIEVE- managesieve- kolab Name: cyrus-imapd-kolab BuildRequires: openldap2-devel %else %define pkg_perl_Cyrus_IMAP perl-Cyrus-Imap %define pkg_perl_Cyrus_SIEVE_managesieve perl-Cyrus-SIEVE-managesieve Name: cyrus-imapd %endif
This all looks to me similar to the explanation given in the build service wiki article. I first thought perhaps it does not work with local builds, so I committed the spec file, but also the builds on the build server end up in without kolab :(
build: extracting built packages... cyrus-imapd-2.3.14-30.1.i586.rpm cyrus-imapd-devel-2.3.14-30.1.i586.rpm perl-Cyrus-Imap-2.3.14-30.1.i586.rpm perl-Cyrus-SIEVE-managesieve-2.3.14-30.1.i586.rpm
Can somebody tell me what I'm doing wrong?? If it would work, it would be a wonderful way to accomplish what I need!