[openSUSE/obs-service-source_validator] f49d8d: spec_query: add elif support
Branch: refs/heads/master Home: https://github.com/openSUSE/obs-service-source_validator Commit: f49d8d983847f858a4b306f14886fde55a7786af https://github.com/openSUSE/obs-service-source_validator/commit/f49d8d983847... Author: Dirk Müller <dirk@dmllr.de> Date: 2022-02-23 (Wed, 23 Feb 2022) Changed paths: M helpers/spec_query Log Message: ----------- spec_query: add elif support rpm 4.15 and above has support for %elif which is a handy shortcut for %else/%if + %endif combinations. %if "%{x}" == "a" %else %if "%{x}" == "b" %endif %endif can be rewritten into %if "%{x}" == "a" %elif "%{x}" == "b" %endif Add minimal support by just skipping over it. Commit: 4665aeff78e5c3540300135f6ef9be785648ac3f https://github.com/openSUSE/obs-service-source_validator/commit/4665aeff78e5... Author: Ludwig Nussel <ludwig.nussel@suse.de> Date: 2022-03-22 (Tue, 22 Mar 2022) Changed paths: M helpers/spec_query Log Message: ----------- Merge pull request #97 from dirkmueller/master spec_query: add elif support Compare: https://github.com/openSUSE/obs-service-source_validator/compare/7805b019a70...
participants (1)
-
Ludwig Nussel