Skip to main content

RPM Policy Checker

A GTK4/Adwaita application to validate RPM packages against Fedora packaging guidelines and RPM standards.

License

Features

  • Spec file analysis — Check naming, required fields, macro usage, scriptlets, changelog format
  • RPM binary checks — File placement, dependencies, metadata validation
  • SPDX license validation — Detect old Fedora license identifiers and suggest SPDX equivalents
  • rpmlint integration — Use rpmlint as backend for comprehensive checks
  • Grouped results — Issues organized by category (naming, dependencies, licensing, etc.)
  • Fix recommendations — Every issue includes actionable suggestions
  • Drag and drop — Drop .rpm or .spec files directly onto the window
  • Modern UI — GTK4 with libadwaita for a native GNOME experience

Installation

From source

pip install .
rpm-policy-checker

The package is also published on PyPI. Install it in an environment that can access the host's GTK libraries:

pipx install --system-site-packages rpm-policy-checker

Dependencies

  • Python ≥ 3.10
  • GTK 4.10 or newer and libadwaita 1.5 or newer
  • PyGObject
  • rpmlint (optional, for rpmlint integration)
  • rpm (for RPM binary analysis)

On Fedora, install the system dependencies first:

sudo dnf install python3-gobject gtk4 libadwaita rpmlint

The checks target Fedora packaging policy. Other RPM distributions can run the generic RPM and rpmlint checks, but do not have a separate policy profile in this version.

Usage

  1. Open the app
  2. Click the open button or drag and drop a .rpm or .spec file
  3. Review the categorized results with fix recommendations

License

GPL-3.0-or-later

Author

Daniel Nylander daniel@danielnylander.se

Metadata

Release files for rpm-policy-checker 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rpm-policy-checker 0.1.1
File Size Uploaded Provenance Actions
rpm_policy_checker-0.1.1.tar.gz 15.0 kB With provenance Details for rpm_policy_checker-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for rpm-policy-checker 0.1.1
File Interpreter ABI Platform Actions
rpm_policy_checker-0.1.1-py3-none-any.whl Python 3 none any Details for rpm_policy_checker-0.1.1-py3-none-any.whl

Total release size: 29.3 kB

Release files / rpm_policy_checker-0.1.1.tar.gz

Download URL rpm_policy_checker-0.1.1.tar.gz
Size 15.0 kB
Tags Source
SHA-256 checksum
How to use checksums
85f313e33d9bdb84adf6f0b6de7c5752a22b679f622f140b01c5a11c5706f48d
BLAKE2b-256 checksum
How to use checksums
b32b390d5db089dd53ca0cbd08bd43d7eadd87caeb07df4773c152e415f8ced0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 25, 2026.

Transparency log

Release files / rpm_policy_checker-0.1.1-py3-none-any.whl

Download URL rpm_policy_checker-0.1.1-py3-none-any.whl
Size 14.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8e54ee1af917c776e05b41ff71e4aeb561d00d2105feaf7321bf01720e037230
BLAKE2b-256 checksum
How to use checksums
7582098b095bd46537e3e8b365f911db0938dae035c07da1ee09ddea8d28ffc3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 25, 2026.

Transparency log

Security for rpm-policy-checker 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for rpm_policy_checker-0.1.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 25, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page