After talking to Matt D (mdawkins from UL ) I added the archscore patch and played around a bit. Does not look promising so far.
From what I read so far , smart and rpm5 do have different approaches to determine the archscore, is there any information what the 'right way' is?
root@Yoper ~ # for s in i686 i686-linux-gnu i686-linux i686-yoper-linux-gnu ; do echo $s |tee /etc/rpm/platform ; python -c 'import rpm; print rpm.archscore("i686")'; rm -f /var/lib/smart/channels/* /var/lib/smart/cache ; smart update 2>&1 |grep ^Channels ; smart search rsync ;done
i686
0
Channels have no new packages.
Loading cache...
Updating cache... ############################################################# [100%]
i686-linux-gnu
0
Channels have no new packages.
Loading cache...
Updating cache... ############################################################# [100%]
i686-linux
0
Channels have no new packages.
Loading cache...
Updating cache... ############################################################# [100%]
i686-yoper-linux-gnu
0
Channels have no new packages.
Loading cache...
Updating cache... ############################################################# [100%]
After talking to Matt D (mdawkins from UL ) I added the archscore patch and played around a bit. Does not look promising so far.
From what I read so far , smart and rpm5 do have different approaches to determine the archscore, is there any information what the 'right way' is?
root@Yoper ~ # for s in i686 i686-linux-gnu i686-linux i686-yoper- linux-gnu ; do echo $s |tee /etc/rpm/platform ; python -c 'import rpm; print rpm.archscore( "i686") '; rm -f /var/lib/ smart/channels/ * /var/lib/ smart/cache ; smart update 2>&1 |grep ^Channels ; smart search rsync ;done
i686 ####### ####### ####### ####### ####### ####### ####### ##### [100%]
0
Channels have no new packages.
Loading cache...
Updating cache... #######
i686-linux-gnu ####### ####### ####### ####### ####### ####### ####### ##### [100%]
0
Channels have no new packages.
Loading cache...
Updating cache... #######
i686-linux ####### ####### ####### ####### ####### ####### ####### ##### [100%]
0
Channels have no new packages.
Loading cache...
Updating cache... #######
i686-yoper- linux-gnu ####### ####### ####### ####### ####### ####### ####### ##### [100%]
0
Channels have no new packages.
Loading cache...
Updating cache... #######
root@Yoper ~ # rpm --eval '%_target'
i686-linux
root@Yoper ~ # smart channel --show ftp.yoper. com/pub/ yoper/pkg
[yoper]
type = apt-rpm
baseurl = http://
components = rocketfuel
[rpm-sys]
type = rpm-sys
name = RPM Database