SCLs can sometimes depend on other SCLs. "list-files" currently only allow to express dependency on a package from the same SCL (or on a package from base system, if omitted from the list). This PR adds option to specify custom prefix in the "list-file" that should be used instead of implicit prefix.
SCLs can sometimes depend on other SCLs. "list-files" currently only allow to express dependency on a package from the same SCL (or on a package from base system, if omitted from the list). This PR adds option to specify custom prefix in the "list-file" that should be used instead of implicit prefix.
Example:
$ cat LIST mvn(junit:junit) mvn(org.apache.commons:commons-io) %{?scl_prefix_java_common} $ cat pkg.spec | grep BuildRequires BuildRequires: maven-local BuildRequires: mvn(junit:junit) BuildRequires: mvn(org.apache.commons:commons-io) $ spec2scl -l LIST pkg.spec | grep BuildRequires BuildRequires: maven-local BuildRequires: %{?scl_prefix}mvn(junit:junit) BuildRequires: %{?scl_prefix_java_common}mvn(org.apache.commons:commons-io)