FS#11149 - new makepkg --source behaviour
Attached to Project:
Pacman
Opened by Vlad George (DonVla) - Friday, 08 August 2008, 17:56 GMT
Last edited by Allan McRae (Allan) - Sunday, 10 August 2008, 03:23 GMT
Opened by Vlad George (DonVla) - Friday, 08 August 2008, 17:56 GMT
Last edited by Allan McRae (Allan) - Sunday, 10 August 2008, 03:23 GMT
|
Details
Summary and Info:
when running "makepkg --source" the source tarball contains the PKGBUILD and install, etc files, inside a directory. earlier behaviour was that this files were directly inside the tarball. the problem is that when including a source file, this file isn not included, but a symlink. i don't think this is intended. Steps to Reproduce: run makepkg --source with source tarball inside the directory (ie. source=($pkgname-$pkgver.tar.gz) - no link) |
This task depends upon
Closed by Allan McRae (Allan)
Sunday, 10 August 2008, 03:23 GMT
Reason for closing: Fixed
Additional comments about closing: Git commit 57bd8974
Sunday, 10 August 2008, 03:23 GMT
Reason for closing: Fixed
Additional comments about closing: Git commit 57bd8974
i found the undocumented "--allsource" option which always includes the source ball.
why the split into "--source" and "--allsource"?
it was clearer by only including the link or the local package inside the sources array.
"
$ ls -1
gibak-0.3.0.tar.gz
gibak.install
OMakefile.patch
PKGBUILD
"
then:
"
$ makepkg --source
==> Making package: gibak 0.3.0-1 i686 (Sun Aug 10 00:55:10 CEST 2008)
==> Creating source package...
-> Adding PKGBUILD...
-> Adding install script...
-> Adding OMakefile.patch...
-> Adding gibak.install...
ln: creating symbolic link `/home/vlad/apps/arch/pkgbuild-self/gibak/srclinks.WQM4QgLHV/gibak/gibak.install': File exists
"
and the inside the srclinks.XXXXXXXX/$pkgname directory:
"
$ls -1
gibak.install
OMakefile.patch -> OMakefile.patch
PKGBUILD
"
The handling of all patches is the same as any local sources so the above fix should of fixed it. Have you made the change to makepkg suggested by that patch?
my fault, i haven´t applied the patch, because i don´t want to mess up pacman. but i´ll try this now.
thanks
thanks allen!