[From nobody Mon Apr  6 20:07:08 2026
Received: (at submit) by bugs.debian.org; 3 Jan 2025 12:25:09 +0000
X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
 (2021-04-09) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-121.4 required=4.0 tests=BAYES_00,
 BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
 DKIM_VALID_AU,DKIM_VALID_EF,FROMDEVELOPER,HAS_PACKAGE,SPF_HELO_NONE,
 SPF_NONE,UNPARSEABLE_RELAY,USER_IN_DKIM_WELCOMELIST,
 USER_IN_DKIM_WHITELIST,X_DEBBUGS_CC autolearn=ham autolearn_force=no
 version=3.4.6-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 13; hammy, 148; neutral, 40; spammy,
 1. spammytokens:0.932-+--today
 hammytokens:0.000-+--Hx-spam-relays-external:sk:stravin,
 0.000-+--H*RT:sk:stravin, 0.000-+--Hx-spam-relays-external:311,
 0.000-+--H*RT:311, 0.000-+--H*RT:108
Return-path: &lt;sanvila@debian.org&gt;
Received: from stravinsky.debian.org ([2001:41b8:202:deb::311:108]:53702)
 from C=NA, ST=NA, L=Ankh Morpork, O=Debian SMTP, OU=Debian SMTP CA,
 CN=stravinsky.debian.org, EMAIL=hostmaster@stravinsky.debian.org (verified)
 by buxtehude.debian.org with esmtps
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.94.2) (envelope-from &lt;sanvila@debian.org&gt;)
 id 1tTgjl-00GYUx-0P
 for submit@bugs.debian.org; Fri, 03 Jan 2025 12:25:09 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org; 
 s=smtpauto.stravinsky;
 h=X-Debian-User:Content-Transfer-Encoding:Content-Type
 :Subject:From:To:MIME-Version:Date:Message-ID:Reply-To:Cc:Content-ID:
 Content-Description:In-Reply-To:References;
 bh=A3qMQ/Ksy7ur0GgxXZTJ4zetKcu6pf+iXTOAafmOOvA=; b=U4/Q4PC+gT9iNamUl7+ajvDUQU
 kZeuVznXuSqVW1RccPolusAw3c6cj79MpFR72qlUeM2aObXwytWvru6wQdVme5urTF69JqSWDcSUi
 3qHni85rGhagcWQfI85Yg3ZuMYOL4KApDIeuJ84dQEI1Np9zPlJ0AVtns3kWUlg9eVuvHab7JCSZZ
 JhyuDiWD85beS5MhXRuOdKc8hy1ihkjQ2omsyB9Z+7Bf7NbBFznRZMlyBf711MFSn/43ScR9zzIL3
 S6eE/WxA4JUVNDwdl/X7tZrsCQzk61BVZDzeJfr9OAZVJ6XKhkezHT7Uvfzxp8Wl4VFkBhoXubmBd
 uCqoUlPQ==;
Received: from authenticated user by stravinsky.debian.org with esmtpsa
 (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_128_GCM:128)
 (Exim 4.94.2) (envelope-from &lt;sanvila@debian.org&gt;)
 id 1tTgjj-009JuC-Bq
 for submit@bugs.debian.org; Fri, 03 Jan 2025 12:25:07 +0000
Message-ID: &lt;da14d88a-1c8a-498f-9c2c-b9637a956857@debian.org&gt;
Date: Fri, 3 Jan 2025 13:25:06 +0100
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Content-Language: en-US
X-Debbugs-Cc: sanvila@debian.org
To: Debian BTS &lt;submit@bugs.debian.org&gt;
From: Santiago Vila &lt;sanvila@debian.org&gt;
Subject: epics-base: procedure to update debian/control
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Debian-User: sanvila
Delivered-To: submit@bugs.debian.org

Package: src:epics-base
Version: 7.0.8.1+dfsg1-6
Severity: minor

Hi. While including the diff from Niels today I noticed
that debian/control depends on debian/control.in
in this way:

debian/control: debian/control.in debian/rules
         [commands to generate debian/control]
         [...]

override_dh_auto_clean: debian/control


This will probably work if the code was in a static
directory, but I believe it's not robust enough
when the code is downloaded from git (due to
timestamps not being really meaningful).

In other words, it is possible that the required
update does not happen at all. So, it would be nice
to change it slightly so that it becomes impossible to miss
by design.

As an example of what I mean, I have some
code with similar functionality in base-files:

override_dh_auto_build:
         sh debian/check-md5sum-etc profile

which makes absolutely sure that share/profile.md5sums
matches share/profile.

I would propose a patch for epics-base but I have
not thought about it yet.

Thanks.
]