Mailinglist Archive: opensuse-packaging (116 mails)

< Previous Next >
[opensuse-packaging] Re: No %if inside %with?
  • From: Andreas Schwab <schwab@xxxxxxx>
  • Date: Mon, 11 Dec 2017 12:41:54 +0100
  • Message-id: <>
On Dez 10 2017, Sebastian <sebix@xxxxxxxx> wrote:

%if %{with tests}
export LANG=C.UTF-8
python2 test -s test2
python3 test -s test3

Are both %ifpython2 and %ifpython3 defined macros? If either is
undefined then the rpm parser will not see the %if that is presumably
supposed to be hidden behind that.


Andreas Schwab, SUSE Labs, schwab@xxxxxxx
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-packaging+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups