Re: RPM question: How to get the package VR from a dependency generator

2022-02-28 Thread Panu Matilainen
On 2/28/22 16:32, Richard W.M. Jones wrote: On Mon, Feb 28, 2022 at 04:26:02PM +0200, Panu Matilainen wrote: On 2/28/22 16:12, Richard W.M. Jones wrote: On Mon, Feb 28, 2022 at 01:46:38PM +, Richard W.M. Jones wrote: I'm writing a simple provides generator. The documentation is a bit lig

Re: RPM question: How to get the package VR from a dependency generator

2022-02-28 Thread Florian Weimer
* Panu Matilainen: > On 2/28/22 16:12, Richard W.M. Jones wrote: >> On Mon, Feb 28, 2022 at 01:46:38PM +, Richard W.M. Jones wrote: >>> >>> I'm writing a simple provides generator. The documentation is a bit >>> light on detail: >>> >>> >>> https://rpm-software-management.github.io/rpm/ma

Re: RPM question: How to get the package VR from a dependency generator

2022-02-28 Thread Richard W.M. Jones
On Mon, Feb 28, 2022 at 04:26:02PM +0200, Panu Matilainen wrote: > On 2/28/22 16:12, Richard W.M. Jones wrote: > >On Mon, Feb 28, 2022 at 01:46:38PM +, Richard W.M. Jones wrote: > >> > >>I'm writing a simple provides generator. The documentation is a bit > >>light on detail: > >> > >> > >>

Re: RPM question: How to get the package VR from a dependency generator

2022-02-28 Thread Panu Matilainen
On 2/28/22 16:12, Richard W.M. Jones wrote: On Mon, Feb 28, 2022 at 01:46:38PM +, Richard W.M. Jones wrote: I'm writing a simple provides generator. The documentation is a bit light on detail: https://rpm-software-management.github.io/rpm/manual/dependency_generators.html How do I ge

Re: RPM question: How to get the package VR from a dependency generator

2022-02-28 Thread Richard W.M. Jones
On Mon, Feb 28, 2022 at 01:46:38PM +, Richard W.M. Jones wrote: > > I'm writing a simple provides generator. The documentation is a bit > light on detail: > > > https://rpm-software-management.github.io/rpm/manual/dependency_generators.html > > How do I get the version-release of the pac

RPM question: How to get the package VR from a dependency generator

2022-02-28 Thread Richard W.M. Jones
I'm writing a simple provides generator. The documentation is a bit light on detail: https://rpm-software-management.github.io/rpm/manual/dependency_generators.html How do I get the version-release of the package currently being built? At the moment I can only print simple provides like: