[Pkg-scicomp-devel] [Pkg-scicomp-commits] ferari/trunk/debian fiat/trunk/debian instant/trunk/debian
Johannes Ring
johannr at simula.no
Mon Oct 20 06:38:58 UTC 2008
Hi Daniel,
On Fri, October 17, 2008 16:31, Daniel Leidert wrote:
> Am Freitag, den 17.10.2008, 12:59 +0000 schrieb Johannes Ring:
>> SVN commit 3918 by johannr-guest:
>>
>> Minor fix in get-orig-source target.
>>
>> M +1 -1 ferari/trunk/debian/rules
>> M +1 -1 fiat/trunk/debian/rules
>> M +1 -1 instant/trunk/debian/rules
>>
>>
>> --- ferari/trunk/debian/rules #3917:3918
>> @@ -13,7 +13,7 @@
>> get-orig-source: FErari-$(SRC_VERSION).tar.gz
>> tar zxf FErari-$(SRC_VERSION).tar.gz
>> mv FErari-$(SRC_VERSION) ferari-$(SRC_VERSION)
>> - GZIP=--best tar czf ferari_$(SRC_VERSION).orig.tar.gz \
>> + GZIP=--best tar czf $(CURDIR)/../ferari_$(SRC_VERSION).orig.tar.gz \
>> ferari-$(SRC_VERSION)
>> rm -rf ferari-$(SRC_VERSION) FErari-$(SRC_VERSION).tar.gz
>
> These steps are not necessary and *if* you do them, you should rename
> the directory to ferari-$(SRC_VERSION).orig/.
>
> However, check, how uscan works to understand, why this is not
> necessary. Say you called the source-package "ferari", but the original
> tarball is called "FErari". Then simply create a symlink
>
> ferari_$(SRC_VERSION).orig.tar.gz -> FErari-$(SRC_VERSION).tar.gz
>
> This is also, what uscan would do, independent from the tarball name you
> check for. There is no need to rename the whole tarball, which you could
> also do much easier by doing:
>
> mv FErari-$(SRC_VERSION).tar.gz ferari-$(SRC_VERSION).tar.gz
>
> instead to decompress, rename and compress it. However, the symlink is
> the usual way. I don't know any part of the policy that would force your
> way from above.
Thanks for your suggestions. I guess I can simply use the following as the
get-orig-source target:
get-orig-source:
uscan --force-download --verbose --destdir .
?
Regards,
Johannes
More information about the Pkg-scicomp-devel
mailing list