Charm
Charm copied to clipboard
Update debian.rules
To not update debian.rules with each version - you can try (donno if that works on OBS):
include /usr/share/dpkg/default.mk
DEB_CMAKE_EXTRA_FLAGS = -DCharm_VERSION=$(DEB_VERSION_UPSTREAM)
also cdbs is not more recommend to use. On debain I use dh, that also can run tests: debian/rules debian/control
@winterz Any opinion on this (as you did the Linux packaging recently)?
I don't think that $(DEB_VERSION_UPSTREAM) works on the OBS
the debian/rules and debian/control files are probably the way to go, except I don't want to become an expert in packaging for all these distros. I want to spend as little time packaging and fighting the OBS as I can :) anyway, I'll try to take this suggestion into consideration the next time I release KDAB packages from the OBS. thanks for the tip hefee.
The feature of DEB_VERSION_UPSTREAM is availabe, if dpkg-dev >= 1.17.15 is available on obs. At least for jessie onwards this should work.