Package: pristine-tar
Version: 1.50+nmu1
Severity: normal

I discovered that a package I was trying to use with pristine-tar
failed to work.  The cause of the issue seems to be that the upstream
tarball's top directory name is capitalised, but pristine-tar
regenerates a tarball with the name lowercased.

Steps to reproduce using git-buildpackage:
1. Import the attached minimal working example into git using the command:
   gbp import-dsc --pristine-tar hello_1.0-1.dsc
   
2. Change into the build directory:
   cd hello

3. Regenerate the original tar ball using pristine-tar, for example:
   gbp buildpackage -S

4. Return to the parent directory, then:

$ tar ztf hello_1.0.orig.tar.gz 
Hello-1.0/
Hello-1.0/Makefile
Hello-1.0/hello.c
$ tar ztf build-area/hello_1.0.orig.tar.gz 
hello-1.0/
hello-1.0/Makefile
hello-1.0/hello.c

Note the capitalisation has changed.  Also:

$ ls -l hello_1.0.orig.tar.gz build-area/hello_1.0.orig.tar.gz
-rw-r--r-- 1 jdg jdg 256 Mar  4 20:46 build-area/hello_1.0.orig.tar.gz
-rw-r--r-- 1 jdg jdg 175 Mar  4 20:00 hello_1.0.orig.tar.gz

Best wishes,

   Julian

Reply via email to