Source: apertium-dbus
Version: 0.1-1.1
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: randomness
X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org

Hi,

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

The attached patch removes the generated .pyc and .pyo from the binary
debs. These should not be installed anyway as they are interpreter
specific (etc. etc.), so this is a benefit outside of reproducibility.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
diff --no-dereference -urNad apertium-dbus.orig/apertium-dbus-0.1/debian/rules 
apertium-dbus/apertium-dbus-0.1/debian/rules
--- apertium-dbus.orig/apertium-dbus-0.1/debian/rules   2015-07-17 
11:29:40.246426780 +0100
+++ apertium-dbus/apertium-dbus-0.1/debian/rules        2015-07-17 
11:56:23.292088379 +0100
@@ -6,3 +6,5 @@
 # Add here any variable or target overrides you need.
 #
 
+install/apertium-dbus::
+       find debian/apertium-dbus -name '*.py[co]' -delete
_______________________________________________
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Reply via email to