JFYI if you are not familiar with the RPM boolean operators: You can use special keywords like "and", "or", "if" to construct non-trivial RPM dependencies. You can create nice dependencies like Requires: (yast2-x11 if libyui-qt) That will install yast2-x11 only when Qt UI is installed. This avoids installing yast2-x11 (with Xlib dependencies) in the minimal text mode system. Just be careful that OBS might not evaluate these correctly for the build dependencies so use them only when really needed and check the result. This requires rpm >= 4.13, that is present even in SLE15-GA so you can use it also in the SLE15 products. See https://rpm-software-management.github.io/rpm/manual/boolean_dependencies.ht... -- Ladislav Slezák YaST Developer SUSE LINUX, s.r.o. Corso IIa Křižíkova 148/34 18600 Praha 8
participants (1)
-
Ladislav Slezák