[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Package split/merge advice

Andreas Rottmann <a.rottmann@gmx.at> schrieb:

> Frank Küster <frank@debian.org> writes:
>> There are also disadvantages, however. Most importantly, you should only
>> do that if upstream always releases the data files in one go. If they
>> are released separately, at different times and with different version
>> numbers, you probably won't be happy with a merged orig.tar.gz - you
>> would always have to create it newly even if only one component changed;
>> and you'd have problems picking a version number.
> Well, you could take the date as a version number.

Yes, technically this works. But then the version numbers do not
correspond at all to the version numbers used by upstream. And you get
in trouble if upstream changes his packaging and distributes all data in
a single tar.gz:

dpkg --compare-versions 2004-12-07 lt 3.0; echo $?

You'd have to use an epoch.

Regards, Frank
Frank Küster
Inst. f. Biochemie der Univ. Zürich
Debian Developer

Reply to: