]> err.no Git - dpkg/commit
dpkg-source: change the logic to find the object used to unpack/build
authorRaphael Hertzog <hertzog@debian.org>
Fri, 25 Apr 2008 19:35:19 +0000 (21:35 +0200)
committerRaphael Hertzog <hertzog@debian.org>
Sun, 27 Apr 2008 14:33:23 +0000 (16:33 +0200)
commit864dc76ed25e63eaa9072df4f5aa82baca16f919
treea12a75b041e2b2f05dac23434ee9caac94594b57
parent00aaaa9d8603b75beb1164dc1ae3c4e874338606
dpkg-source: change the logic to find the object used to unpack/build

* scripts/Dpkg/Source/Package.pm (upgrade_object_type): Instead
of using the full Format: version to deduce the perl object name
use only the major part of the version. The minor part is under
control of the corresponding object, that way they can evolve
and indicate that the source package has changed in a backwards
compatible way. See
http://lists.debian.org/debian-dpkg/2008/04/msg00045.html
Also add a new parameter to disable update of the minor version in
the Format field.
(initialize): Don't let the Format field be updated by
upgrade_object_type() as this function only loads information from
the .dsc into the object.
* scripts/Dpkg/Source/Package/**: Rename V1_0.pm into V1.pm,
V2_0.pm into V2.pm and V3_0/ into V3/. Fix perl package names
accordingly. Integrated a $CURRENT_MINOR_VERSION set to "0"
in all packages.
* scripts/Makefile.am, scripts/po/POTFILES.in: Update the lists
according to above file renames.
12 files changed:
ChangeLog
debian/changelog
scripts/Dpkg/Source/Package.pm
scripts/Dpkg/Source/Package/V1.pm [moved from scripts/Dpkg/Source/Package/V1_0.pm with 97% similarity]
scripts/Dpkg/Source/Package/V2.pm [moved from scripts/Dpkg/Source/Package/V2_0.pm with 99% similarity]
scripts/Dpkg/Source/Package/V3/bzr.pm [moved from scripts/Dpkg/Source/Package/V3_0/bzr.pm with 98% similarity]
scripts/Dpkg/Source/Package/V3/custom.pm [moved from scripts/Dpkg/Source/Package/V3_0/custom.pm with 95% similarity]
scripts/Dpkg/Source/Package/V3/git.pm [moved from scripts/Dpkg/Source/Package/V3_0/git.pm with 99% similarity]
scripts/Dpkg/Source/Package/V3/native.pm [moved from scripts/Dpkg/Source/Package/V3_0/native.pm with 93% similarity]
scripts/Dpkg/Source/Package/V3/quilt.pm [moved from scripts/Dpkg/Source/Package/V3_0/quilt.pm with 98% similarity]
scripts/Makefile.am
scripts/po/POTFILES.in