[Rpm-maint] [rpm-software-management/rpm] Add a man page for RPM dependency generators (PR #3957)
Panu Matilainen
notifications at github.com
Mon Sep 22 11:47:36 UTC 2025
@pmatilai commented on this pull request.
> +Note that these macros should not be used in a _NAME.attr_ file. Instead, just
+pass the required arguments directly on the generator's command line when
+defining it.
+
+# COMPATIBILITY NOTES
+
+If compatibility with the RPM 3.x series is desired for a generator, it should
+be written in such a way that it accepts an arbitrary number of filenames on
+stdin. This is not to be confused with the *Multifile protocol* which was only
+added in the RPM 4.x series, however.
+
+This will allow the generator to be used as an old-style, "external" generator,
+via the *%\_\_find_requires* and *%\_\_find_provides* macros, which can be
+enabled in modern RPM versions with the *%\_use_internal_dependency_generator*
+macro (see *rpmbuild-config*(5) for details). However, note that this
+functionality has been deprecated in RPM 4.x and therefore should not be used.
Oh, this is another place that isn't quite up to date: the old "external depgen" it's not just deprecated, it's not available for v6 packages at all. In other words, it's deprecated for v4 packages and unavailable for v6 packages.
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/3957#pullrequestreview-3252182016
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/3957/review/3252182016 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20250922/7a21ac94/attachment-0001.htm>
More information about the Rpm-maint
mailing list