FS#14456 - makepkg --source doesn't produce a filename with correct pkgrel for -svn packages

Attached to Project: Pacman
Opened by Jerry (jryarch) - Saturday, 25 April 2009, 13:24 GMT
Last edited by Dan McGee (toofishes) - Tuesday, 19 May 2009, 04:45 GMT
Task Type Bug Report
Category makepkg
Status Closed
Assigned To Allan McRae (Allan)
Architecture All
Severity Low
Priority Normal
Reported Version 3.2.2
Due in Version 3.3.0
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Summary and Info:
When using makepkg --source on a svn package with pkgrel > 1 in PKGBUILD, the pkgrel in the outputted filename is still 1.

Steps to Reproduce:
-Use a -svn package with pkgrel > 1 like: http://aur.archlinux.org/packages.php?ID=3271
-Untar and execute "makepkg --source" inside extracted folder.
-Created file is called "transmission-svn-8282-1.src.tar.gz" but should be "transmission-svn-8282-4.src.tar.gz".


Maybe this has something to do with the wrong pkgrel shown when building the package itself:

==> Finished making: transmission-svn 8282-1 x86_64
Outputted file: transmission-svn-8282-4-x86_64.pkg.tar.gz
This task depends upon

Closed by  Dan McGee (toofishes)
Tuesday, 19 May 2009, 04:45 GMT
Reason for closing:  Fixed
Additional comments about closing:  Commit de44a0f474f4
Comment by Allan McRae (Allan) - Saturday, 25 April 2009, 13:34 GMT
This is fixed in git.

But the real question is why makepkg is checking and svn revision when we are asking to make a source package! That is wrong...

Loading...