View Single Post
Posts: 2,290 | Thanked: 4,133 times | Joined on Apr 2010 @ UK
#173
It's worth pointing out that ported packages should contain "maemo" in the package version.

As per Debian guidelines here:-

http://wiki.maemo.org/Port_an_existing_Debian_package

Also as I explained here:-

http://talk.maemo.org/showpost.php?p...50&postcount=6

So pyobd should ideally be "0.9.2-maemo29" in order not to break "dpkg compare version"

Code:
dpkg --compare-versions 0.9.2-28 lt 0.9.2-0maemo29
echo $?
1 (fail)
dpkg --compare-versions 0.9.2-28 lt 0.9.2-1maemo29
echo $?
1 (fail)
dpkg --compare-versions 0.9.2-28 lt 0.9.2-29maemo0
echo $?
0 (success)
dpkg --compare-versions 0.9.2-28 lt 0.9.2-maemo29
echo $?
0 (success)
This way if the package is upstreamed it doesn't break the changelog and versioning etc.
__________________

Wiki Admin
sixwheeledbeast's wiki
Testing Squad Subscriber
- mcallerx - tenminutecore - FlopSwap - Qnotted - zzztop - Bander - Fight2048 -


Before posting or starting a thread please try this.
 

The Following 3 Users Say Thank You to sixwheeledbeast For This Useful Post: