tuxlover
Der den Tux knuddelt
Setup des opensuse build scripts
hallo,
ich bin mal wieder beim bauen von paketen für opensuse 11.0. Und da dachte ich mir, wenn das mehrere leute nutzen wollen, sollte ich mich an die package-convention von opensuse halten. dort steht unter anderem, man soll das Buildscript seinen wünschen und bedürfnissen anpassen:
"Configure the build tool . There are some settings you have to tweak to match your local environment. For example:
* where to get the RPM packages to set up the build environment
* what is the basename for build root directory
and things like that. "
aber weder in den manpages noch im readme steht, wie man das macht. Ich habe schon die Umgebungsvariablen gesetzt. Also BUILD_ROOT usw, aber wenn ich das script als user ausführe, wofür es ja da ist, denn jedes rpm-specfile wird mit den worten:
"#norootforbuild"
eingeleitet, sagt der mit, ich kann es nur als root ausführen. hä? also was mach ich denn da falsch?
bedanke mich schonmal für mögliche hinweise und diskussionen
tuxlover
hallo,
ich bin mal wieder beim bauen von paketen für opensuse 11.0. Und da dachte ich mir, wenn das mehrere leute nutzen wollen, sollte ich mich an die package-convention von opensuse halten. dort steht unter anderem, man soll das Buildscript seinen wünschen und bedürfnissen anpassen:
"Configure the build tool . There are some settings you have to tweak to match your local environment. For example:
* where to get the RPM packages to set up the build environment
* what is the basename for build root directory
and things like that. "
aber weder in den manpages noch im readme steht, wie man das macht. Ich habe schon die Umgebungsvariablen gesetzt. Also BUILD_ROOT usw, aber wenn ich das script als user ausführe, wofür es ja da ist, denn jedes rpm-specfile wird mit den worten:
"#norootforbuild"
eingeleitet, sagt der mit, ich kann es nur als root ausführen. hä? also was mach ich denn da falsch?
bedanke mich schonmal für mögliche hinweise und diskussionen
tuxlover
Zuletzt bearbeitet: