building packages with qt 4.5

In my home project I created a subproject “qt_apps” https://build.opensuse.org/project/show?project=home:etamPL:qt_apps

meta for this project

<project name="home:etamPL:qt_apps">
  <title>Qt Apps</title>
  <description>Here are apps, that are compiled with qt from KDE:Qt</description>
  <person userid="etamPL" role="maintainer"/>
  <person userid="etamPL" role="bugowner"/>
  <repository name="openSUSE_11.0">
    <path repository="standard" project="openSUSE:11.0"/>
    <path repository="openSUSE_11.0" project="KDE:Qt"/>
    <arch>x86_64</arch>
    <arch>i586</arch>
  </repository>
  <repository name="openSUSE_11.1">
    <path repository="standard" project="openSUSE:11.1"/>
    <path repository="openSUSE_11.1" project="KDE:Qt"/>
    <path repository="openSUSE_11.1" project="home:RedDwarf:fakePackman"/>
    <arch>x86_64</arch>
    <arch>i586</arch>
  </repository>
</project>

and all my packages get there “expansion error: nothing provides libqt4-devel >= 4.5”

When I remove “>= 4.5” from requirements in spec file and run “osc build” it uses libqt4 version 4.4.3 from openSUSE:11.1

Am I doing something wrong or what?

Solved! :smiley:

I had to put KDE:Qt before openSUSE:11.1 standard:

<project name="home:etamPL:qt_apps">
  <title>Qt Apps</title>
  <description>Here are apps, that are compiled with qt from KDE:Qt</description>
  <person userid="etamPL" role="maintainer"/>
  <person userid="etamPL" role="bugowner"/>
  <repository name="openSUSE_11.0">
    <path repository="openSUSE_11.0" project="KDE:Qt"/>
    <path repository="standard" project="openSUSE:11.0"/>
    <arch>x86_64</arch>
    <arch>i586</arch>
  </repository>
  <repository name="openSUSE_11.1">
    <path repository="openSUSE_11.1" project="KDE:Qt"/>
    <path repository="standard" project="openSUSE:11.1"/>
    <path repository="openSUSE_11.1" project="home:RedDwarf:fakePackman"/>
    <arch>x86_64</arch>
    <arch>i586</arch>
  </repository>
</project>