Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow RpmNameGlob for versionlock entries #335

Merged
merged 1 commit into from
Sep 23, 2024

Commits on Aug 22, 2024

  1. allow RpmNameGlob for versionlock entries

    As stated in the manpage [1] yum versionlock supports package-wildcard
    and does not require exact matches for package-names.
    The following is valid `versionlock.list` content:
    ```
    libvirt*-0:7.6.0-*.*
    qemu*-0:6.1.0-*.*
    ```
    
    This commit swaps `Yum::RpmName` with `Yum::RpmNameGlob` for the
    versionlock `assert_type()` and thus allowing the above mentioned
    examples.
    
    [1] https://man7.org/linux/man-pages/man1/yum-versionlock.1.html
    foxxx0 authored and kBite committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    a678f10 View commit details
    Browse the repository at this point in the history