Skip to content

more rpm providers (for dnf tips)#639

Merged
asgrim merged 2 commits into
php:1.5.xfrom
remicollet:issue-rpmprovider
Jun 18, 2026
Merged

more rpm providers (for dnf tips)#639
asgrim merged 2 commits into
php:1.5.xfrom
remicollet:issue-rpmprovider

Conversation

@remicollet

@remicollet remicollet commented Jun 17, 2026

Copy link
Copy Markdown
Member

The tips about using dnf is really not enough, only my repo case is handled

This add a list of the most common RPM distro using DNF (at least the one I care about)

PR submitter checklist

  • I have read CONTRIBUTING.md
  • I discussed this <bug|feature> with the maintainers in #<issue_number> (complete as appropriate)
  • I have added appropriate tests
  • I confirm that I have the right to submit this under the project's open source licence

But this is really not a complete list, lot are missing (Mandriva, Oracle, SuSe, other RHEL clone...),
And not robust (string may change across distro versions)

I better approch will be to check the output of

$ rpm -qf --qf "%{NAME}\n" /usr/bin/php
php-cli

And the suggested command should be dnf install xxx , xx being previous result with "cli" replaced by ext name

The package can be php-cli, php8.4-cli (new in EL-10.2) or php84-php-cli (Sowftare collections)

@asgrim asgrim self-assigned this Jun 18, 2026
@asgrim asgrim added the enhancement New feature or request label Jun 18, 2026
  1) rely on a bundled package for the installs_build_tools tests (can be any package)
  2) rely on a bundled package for the installs_system_deps tests (only bundled packages have system deps at the moment)
@asgrim asgrim added this to the 1.5.0 milestone Jun 18, 2026
@asgrim asgrim enabled auto-merge June 18, 2026 06:29
@asgrim asgrim merged commit 4dbaccf into php:1.5.x Jun 18, 2026
25 checks passed
@remicollet remicollet deleted the issue-rpmprovider branch June 18, 2026 07:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants