Source: pyraf
Version: 2.2.3-1
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: randomness
X-Debbugs-Cc: [email protected]

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed that
pyraf could not be built reproducibly.

This is because the call to find(1) was almost, but not quite, correct;
it uses "-type d" instead of "-type f". This is understandable, as
it was previously a directory (see #901428).

Patch attached to clarify, but it should be straightforward to spot
now.

(Assuming this file is generated during the test run, this might actually
be easier with PYBUILD_AFTER_TEST.)

 [0] https://reproducible-builds.org/


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
--- a/debian/rules      2025-10-15 08:41:43.391749332 -0700
--- b/debian/rules      2025-10-15 08:45:01.790603185 -0700
@@ -10,4 +10,4 @@
 
 override_dh_auto_install:
        dh_auto_install
-       find debian -type d -name clcache.sqlite3 -print0 | xargs -0r rm -rfv
+       find debian -type f -name clcache.sqlite3 -print0 | xargs -0r rm -rfv

Reply via email to