Source: libsdl2
Version: 2.0.2+dfsg1-6
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: username
X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org

Hi,

While working on the "reproducible builds" effort [1], we have noticed
that libsdl2 could not be built reproducibly.

The attached patch removes usernames from the build system. Once
applied, libsdl2 can be built reproducibly in our current experimental
framework.

 [1]: https://wiki.debian.org/ReproducibleBuilds


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
diff --git a/debian/rules b/debian/rules
index af65dd2..31472fa 100755
--- a/debian/rules
+++ b/debian/rules
@@ -69,7 +69,7 @@ override_dh_auto_configure:
 
 override_dh_auto_build:
        dh_auto_build
-       tar czf debian/examples.tar.gz test
+       tar czf debian/examples.tar.gz test --owner=0 --group=0
 
 override_dh_auto_clean:
        dh_auto_clean

Reply via email to