[Rpm-maint] [rpm-software-management/rpm] Add support for spec local file attributes and generators (PR #2911)

Panu Matilainen notifications at github.com
Thu Feb 15 07:39:01 UTC 2024


Allow declaring file attributes from the spec via %_local_file_attrs macro. This allows enabling file attributes and their dependency generators even if they are only shipped in the package itself and are not yet installed.

The names need to be separated by colons (:).
 
Co-authored-by: Florian Festi <ffesti at redhat.com>
Resolves: #782

You can view, comment on, or merge this pull request online at:

  https://github.com/rpm-software-management/rpm/pull/2911

-- Commit Summary --

  * Refactor to split file attribute discovery and initialization
  * Add support for spec local file attributes and generators

-- File Changes --

    M build/rpmfc.c (32)
    M docs/manual/dependency_generators.md (10)
    M tests/rpmbuild.at (52)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/2911.patch
https://github.com/rpm-software-management/rpm/pull/2911.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/2911
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/pull/2911 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20240214/106f105c/attachment.html>


More information about the Rpm-maint mailing list