mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-09-05 04:27:55 +00:00
ccf9152bd9
Cover the packaging rules that keep a locally modified xcat.conf across an upgrade, for the management-node and service-node specs alike: both active paths owned as %config(noreplace), the build-time selection of the Apache 2.4 source into the active payload, %post no longer removing or overwriting the active file, and the migration living in %pretrans, returning early on a fresh install, accepting only a regular file, and removing it only when its contents still match a saved template. The assertions pin the ordering of those guards instead of searching for isolated tokens, so moving the migration back to %pre or letting it delete a customised file fails the test.