On Sat, Nov 18, 2006 at 12:23:58AM +0100, Thomas Anders wrote:
Michael Schroeder wrote:
On Fri, Sep 22, 2006 at 01:45:30PM +0200, Thomas Anders wrote:
Michael Schroeder wrote:
I'm just preparing a patch that makes the build service look for <package-name>-<repository-name>.spec if a package contains multiple specfiles. So you can have a different specfile for every repository. Excellent news! Please drop us a line when this is available.
Should work now.
Assumed I have <package-name>-<repo1>.spec and <package-name>.spec, will all repositories other than <repo1> use <package-name>.spec or will I have to submit dedicated <package-name>-<repository-name>.spec files for *each* of them?
Looks like you need a spec file for each of them, currently, as the code returns an error if the spec file selection is ambiguous. Maybe I should just sort them and return the first match? I.e.: 1) get a list of all spec files starting with <package-name>-<repo>, sort them, if the list is not empty, return first entry. 2) get a list of all spec files starting with <package-name>, sort them, if the list is not empty, return first entry. 3) get a list of all spec files, sort them, if the list is not empty, return first entry. Is that a good idea? Thanks, Michael. -- Michael Schroeder mls@suse.de main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org