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

Require and provide flags #162

Open
olenagerasimova opened this issue Oct 20, 2021 · 0 comments
Open

Require and provide flags #162

olenagerasimova opened this issue Oct 20, 2021 · 0 comments

Comments

@olenagerasimova
Copy link

Hi, I'm trying to obtain full information about require and provide header lists of the rpm package to build primary.xml metadata file. Each entry of the require and provide lists can have name, ver, rel, epoch and flags attributes, for example:

<rpm:provides>
      <rpm:entry name="config(openssh-server)" flags="EQ" epoch="0" ver="7.4p1" rel="16.h16.eulerosv2r7"/>
      <rpm:entry name="openssh-server" flags="EQ" epoch="0" ver="7.4p1" rel="16.h16.eulerosv2r7"/>
      <rpm:entry name="openssh-server(x86-64)" flags="EQ" epoch="0" ver="7.4p1" rel="16.h16.eulerosv2r7"/>
</rpm:provides>

There are header tags org.redline_rpm.header.Header.HeaderTag with type STRING_ARRAY_ENTRY

PROVIDENAME( 1047, STRING_ARRAY_ENTRY, "providename"),
PROVIDEVERSION( 1113, STRING_ARRAY_ENTRY, "provideversion")

to obtain name and version-related information, but flags have type INT32_ENTRY

PROVIDEFLAGS( 1112, INT32_ENTRY, "provideflags")

which does not seem correct and does not have any sense to me. The same goes for require flags.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant