mirror of
https://github.com/Project-OSS-Revival/alien.git
synced 2026-04-24 14:00:17 +00:00
Improve parsing of tgz filenames, to avoid confusion when the filename includes the package type (ie, "noarch"). Patch from Andrej Ricnik-Bay.
This commit is contained in:
@@ -95,7 +95,7 @@ sub scan {
|
|||||||
# Strip out any tar extentions.
|
# Strip out any tar extentions.
|
||||||
$basename=~s/\.(tgz|tar\.(gz|Z))$//;
|
$basename=~s/\.(tgz|tar\.(gz|Z))$//;
|
||||||
|
|
||||||
if ($basename=~m/(.*)-(.*?[0-9]+.*)/) {
|
if ($basename=~m/([\w-]+)-([0-9\.?]+).*/) {
|
||||||
$this->name($1);
|
$this->name($1);
|
||||||
$this->version($2);
|
$this->version($2);
|
||||||
}
|
}
|
||||||
|
|||||||
2
debian/changelog
vendored
2
debian/changelog
vendored
@@ -1,6 +1,8 @@
|
|||||||
alien (8.72) UNRELEASED; urgency=low
|
alien (8.72) UNRELEASED; urgency=low
|
||||||
|
|
||||||
* Use debhelper 7, rules file minimisation.
|
* Use debhelper 7, rules file minimisation.
|
||||||
|
* Improve parsing of tgz filenames, to avoid confusion when the filename
|
||||||
|
includes the package type (ie, "noarch"). Patch from Andrej Ricnik-Bay.
|
||||||
|
|
||||||
-- Joey Hess <joeyh@debian.org> Thu, 24 Apr 2008 02:00:59 -0400
|
-- Joey Hess <joeyh@debian.org> Thu, 24 Apr 2008 02:00:59 -0400
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user