So I thought I'd give dist-repo a whirl to see if I could stop using my own custom solution. I didn't get very far though because, as reported in my createrepo.log:
dist-repo
$ /usr/bin/createrepo_c -vd -o /var/tmp/koji/tasks/6072/46072/repo --deltas /var/tmp/koji/tasks/6072/46072/repo Argument parsing failed: Unknown option --deltas
That means createrepo_c has not been compiled with DeltaRPM support. Where did your createrepo_c package come from?
createrepo_c
c.f.: https://www.mankier.com/8/createrepo_c#Options---deltas
createrepo_c-0.10.0-6.el7.x86_64, which is confusing. According to https://github.com/rpm-software-management/createrepo_c/releases this would appear to be the latest release.
Looks like drpm-devel isn't a build dependency here: https://koji.fedoraproject.org/koji/rpminfo?rpmID=9140306
drpm-devel
For comparison: https://koji.fedoraproject.org/koji/rpminfo?rpmID=12366387
Without libdrpm linked in, the DeltaRPM logic is disabled.
libdrpm
It's probably worth filing a bug against createrepo_c in EL7 to request this to be fixed.
I was going to give that a quick install to verify that resolves the issue, but I don't see any such package as libdrpm or drpm-devel there. In fact:
$ yum search all drpm Loaded plugins: fastestmirror, versionlock Loading mirror speeds from cached hostfile ================================= Matched: drpm ================================== drpmsync.x86_64 : Sync a file tree with deltarpms
Filed at https://bugzilla.redhat.com/show_bug.cgi?id=1538650
I would close this one, as it should be solved outside of koji. If you feel, that there is something koji can do about it, please reopen.
Metadata Update from @tkopecek: - Issue close_status updated to: Invalid - Issue status updated to: Closed (was: Open)
This issue has been migrated to Fedora Forge: https://forge.fedoraproject.org/koji/koji/issues/790
Please continue any further discussion there.