[CPBR-3673] Migrate packaging files from separate rpm/debian/archive branches to debian/ on nightly branch#677
Open
Saurabh Yadav (saurabhcnf) wants to merge 1 commit into7.4.xfrom
Open
Conversation
…debian/ on nightly branch Unified Makefile combines RPM, DEB, and archive targets with PACKAGE_TYPE-based PREFIX switching. Install logic inlined from create_archive.sh. Spec generation uses inline sed instead of create_spec.sh. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Prince Raheja (rahejaprince)
approved these changes
Apr 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description:
Summary
Migrate RPM, DEB, and archive packaging files from separate
origin/rpm,origin/debian, andorigin/archivebranches into a unifieddebian/directory on the code branch, following the nightly-branch pattern used by schema-registry,common, and other components.
This is a prerequisite for s390x multi-arch RPM packaging support. This will be pint-merged till master.
What changed
debian/Makefile— unified Makefile combining RPM, DEB, and archive targets withPACKAGE_TYPE-based PREFIX switching anddebian-controltarget for generatingdebian/controlfromcontrol.indebian/confluent-rest-utils.spec.in— RPM spec template (from origin/rpm)debian/control.in— Debian control template with##VERSION##placeholder (from origin/debian)debian/compat,debian/changelog,debian/copyright,debian/gbp.conf,debian/rules,debian/source/format— standard Debian packaging metadatadebian/patches/seriesanddebian/patches/standard_build_layout.patchKey design decisions
create_archive.shinlined into Makefileinstall:targetsedinstead ofcreate_spec.shcontrol.in(not staticcontrol) withdebian-control:target to substitute version at build timeTesting
Tested with packaging draft PR: https://github.com/confluentinc/packaging/pull/2294
Corresponding packaging job: https://semaphore.ci.confluent.io/workflows/52134350-65e1-4ff5-9a9d-071240602fa3?pipeline_id=8eb5e8cc-6d6e-4b2a-9ac5-c086f8170859
Artifacts comparison and verification
https://confluentinc.atlassian.net/browse/CPBR-3673?focusedCommentId=5050099
Issue
https://confluentinc.atlassian.net/browse/CPBR-3673