]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
packit: ignore unpackaged files
authorFrantisek Sumsal <frantisek@sumsal.cz>
Wed, 7 Dec 2022 12:04:44 +0000 (13:04 +0100)
committerLuca Boccassi <luca.boccassi@gmail.com>
Wed, 7 Dec 2022 14:07:14 +0000 (15:07 +0100)
It may take a bit for newly introduced binaries/other files to get
properly integrated into the Rawhide specfile, so don't choke up in the
meantime when rpmbuild detects unpackaged files.

.packit.yml

index a7502b25b40f90f5bf9168d5288e23dba00302e4..61b82d6341cefb5b63a6d528d4b5f5d2d4d3b52c 100644 (file)
@@ -32,6 +32,8 @@ actions:
     # [0] https://github.com/mesonbuild/meson/issues/7360
     # [1] https://github.com/systemd/systemd/pull/18908#issuecomment-792250110
     - 'sed -i "/^CONFIGURE_OPTS=(/a--werror" .packit_rpm/systemd.spec'
+    # Ignore unpackages standalone binaries
+    - "sed -i 's/assert False,.*/pass/' .packit_rpm/split-files.py"
 
 jobs:
 - job: copr_build