[opensuse-buildservice] phonon, standard

Hello, I'm building KDE 4.1 on a local PPC BS right now. Here are some problems I ran into: - 'phonon' does not build, I get: " [...] ----------------------------------------------------------------- ----- building phonon.spec (user abuild) ----------------------------------------------------------------- ----------------------------------------------------------------- + exec rpmbuild -ba --define '_srcdefattr (-,root,root)' /usr/src/packages/SOURCES/phonon.spec error: line 27: Unknown tag: %requires_ge libqt4 " Why does it build in the openSUSE BS, and why not locally? I use openSUSE 11.0 PPC with obs-server-1.1.0.4791M-2.1 - I followed instructions from http://en.opensuse.org/Build_Service/Build_Service_Installation_Tutorial/ope... to import openSUSE 11.0. Now, when I look at repositories, I see, that repos are put into directory 'standard' (like /srv/obs/repos/Apache/standard). As I want to build for 10.3 and factory later on, how can I change this? Just change the name from 'standard' to '11.0' in suse8610-110:/srv/obs/projects # cat openSUSE:11.0.xml <project name="openSUSE:11.0"> <title>openSUSE 11.0 distribution</title> <description></description> <repository name="standard"> <arch>ppc</arch> <status>disabled</status> </repository> </project> Bye, CzP --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org

Peter Czanik wrote:
%requires_ge is new in Factory rpm, defined in /usr/lib/rpm/macros. If you need it for 11.0, you can add a package to your project that defines that macro in a file /etc/rpm/macros.*, or run 'osc meta prjconf <your project> and add Macros: %requires_ge ... to the project configuration. Michal --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org

Hello, Michal Marek írta:
How is this handled in the openSUSE BS? As all what I did is, that I made a local copy of KDE:KDE4:Factory:Desktop and started to compile. Bye, CzP --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org

Peter Czanik wrote:
$ osc meta prjconf KDE:KDE4:Factory:Desktop ... Macros: %requires_ge() %(LC_ALL="C" echo '%*' | xargs -r rpm -q --qf 'Requires: %%{name} >= %%{epoch}:%%{version}\\n' | sed -e 's/ (none):/ /' -e 's/ 0:/ /' | grep -v "is not") Michal --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org

Hello, Michal Marek írta:
$ osc meta prjconf KDE:KDE4:Factory:Desktop
OK, problem found. The script I use, does not copy the project configuration. Bug reported to Martin :-) Bye, CzP --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org

Peter Czanik wrote:
%requires_ge is new in Factory rpm, defined in /usr/lib/rpm/macros. If you need it for 11.0, you can add a package to your project that defines that macro in a file /etc/rpm/macros.*, or run 'osc meta prjconf <your project> and add Macros: %requires_ge ... to the project configuration. Michal --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org

Hello, Michal Marek írta:
How is this handled in the openSUSE BS? As all what I did is, that I made a local copy of KDE:KDE4:Factory:Desktop and started to compile. Bye, CzP --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org

Peter Czanik wrote:
$ osc meta prjconf KDE:KDE4:Factory:Desktop ... Macros: %requires_ge() %(LC_ALL="C" echo '%*' | xargs -r rpm -q --qf 'Requires: %%{name} >= %%{epoch}:%%{version}\\n' | sed -e 's/ (none):/ /' -e 's/ 0:/ /' | grep -v "is not") Michal --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org

Hello, Michal Marek írta:
$ osc meta prjconf KDE:KDE4:Factory:Desktop
OK, problem found. The script I use, does not copy the project configuration. Bug reported to Martin :-) Bye, CzP --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (2)
-
Michal Marek
-
Peter Czanik