Charm icon indicating copy to clipboard operation
Charm copied to clipboard

Update debian.rules

Open hefee opened this issue 8 years ago • 3 comments

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

hefee avatar Oct 16 '15 12:10 hefee

@winterz Any opinion on this (as you did the Linux packaging recently)?

frankosterfeld avatar Oct 16 '15 12:10 frankosterfeld

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.

winterz avatar Nov 23 '15 22:11 winterz

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.

hefee avatar Nov 24 '15 10:11 hefee