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

Re: Package libburn-1.4.2.pl01.tar.gz as 1.4.2-2 or as 1.4.2.pl01-1 ?



Hi,

for the records:

The debian/watch rule
  uversionmangle=s/\.pl\d+$//
does not what is needed to let uscan recognize
  libburn-1.4.2.pl01.tar.gz
as newer than
  libburn-1.4.2.tar.gz

I assume it is because both get the same version number "1.4.2"
and the older file name is alphabetically sorted after the new one.


This rule works better by producing version number "1.4.2.01"

  uversionmangle=s/\.pl(\d+)$/.$1/

But actually at least the version sequence recognition of uscan
works fine without any uversionmangle rule:

  $ grep opts debian/watch
  opts="pgpsigurlmangle=s/$/.sig/" \
  $ uscan --no-download --report-status --debug
  ...
     libburn-1.4.2.pl01.tar.gz (1.4.2.pl01)
     libburn-1.4.2.tar.gz (1.4.2)
  Newest version on remote site is 1.4.2.pl01, local version is 1.4.2
  => Newer version available from
     http://files.libburnia-project.org/releases/libburn-1.4.2.pl01.tar.gz
  -- Scan finished


Is there a reason known, why the version used by uscan should not
just stay "1.4.2.pl01" ?


Have a nice day :)

Thomas


Reply to: