openSUSE / obs-service-source_validator

The default source validator as used by openSUSE:Factory distribution
GNU General Public License v2.0
3 stars 25 forks source link

Do not check for all _multibuild flavors if spec does not conitionalize on BUILD_FLAVOR #120

Closed DimStar77 closed 1 year ago

DimStar77 commented 1 year ago

_multibuild can be used so instruct OBS to build multiple spec files inside a package container or to inject build_flavors into spec files. One can use either multiple spec files or build_flavors, but not the combination.

Fixes issue #103

Vogtinator commented 1 year ago

I'll try to do some refactoring based on your branch and handle it the way OBS would. Takes care of the duplication and should make it more future proof.

dirkmueller commented 1 year ago

so can we do that as an increment over this change which fixes a problem?

Vogtinator commented 1 year ago

so can we do that as an increment over this change which fixes a problem?

Yes.

Vogtinator commented 1 year ago

I'll try to do some refactoring based on your branch and handle it the way OBS would. Takes care of the duplication and should make it more future proof.

https://github.com/openSUSE/obs-service-source_validator/pull/122