feat: modernize RPM spec for Fedora Go packaging guidelines - #165
Merged
marcusburghardt merged 2 commits intoAug 27, 2026
Merged
Conversation
Add proposal, design, and tasks for modernizing the RPM spec to conform to Fedora Go Packaging Guidelines. Key changes planned: - Adopt go-vendor-tools for vendored license verification - Switch to %gobuild macro for hardened builds and debuginfo - Add main package for shared license files - Aggregate vendored dependency licenses in License field - Add Fedora 43 Go 1.25 compatibility workaround - Bump complyctl dependency to >= 1.0.0 Assisted-by: OpenCode (claude-opus-4-6) Signed-off-by: Marcus Burghardt <maburgha@redhat.com>
- Adopt go-vendor-tools for vendored license verification - Replace raw go build with %gobuild macro for hardened builds - Switch to forge macros and %autorelease - Add aggregated vendored license expression - Introduce main package for shared license files - Bump complyctl dependency to >= 1.0.0 - Add Fedora 43 Go 1.25 compatibility workaround - Create go-vendor-tools.toml with yaml.v3 license override - Update CHANGELOG.md and AGENTS.md project structure - Incorporate spec review feedback into OpenSpec artifacts Assisted-by: OpenCode (claude-opus-4-6) Signed-off-by: Marcus Burghardt <maburgha@redhat.com>
marcusburghardt
force-pushed
the
opsx/rpm-spec-modernization
branch
from
August 27, 2026 11:40
66714be to
96d33df
Compare
marcusburghardt
marked this pull request as ready for review
August 27, 2026 12:23
marcusburghardt
requested review from
sedonnel and
trevor-vaughan
and removed request for
sedonnel
August 27, 2026 12:23
trevor-vaughan
approved these changes
Aug 27, 2026
hbraswelrh
approved these changes
Aug 27, 2026
hbraswelrh
left a comment
Member
There was a problem hiding this comment.
LGTM. Approving for now and will look further into license compatibility with testing.
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.
Summary
Modernizes
complytime-providers.specto conform to Fedora Go Packaging Guidelines, preparing the package for Fedora submission.Changes
%licensedirectives with%go_vendor_license_filelistand addgo-vendor-tools.tomlfor vendored license detection (yaml.v3 override)go buildwith%gobuildmacro (PIE, RELRO, FORTIFY, proper debuginfo)%{gosource}) with separate vendor archive (Source1)License: Apache-2.0 AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0complytime-providersmain package for shared license files; sub-packages require itgo testwith%gocheck2+%bcond checktoggle%autoreleasecomplyctlfrom>= 0.0.8to>= 1.0.0TODO(2027-01)sunset triggerVerification
OpenSpec artifacts
Change:
openspec/changes/rpm-spec-modernization/Review Hints
This PR can be more easily tested in a Fedora VM using
complytime-demos: complytime/complytime-demos#81