Re: [Rpm-maint] [rpm-software-management/rpm] Is it possible for an RPM package to have no version? (Discussion #2896)

2024-02-12 Thread Panu Matilainen
> Was it ever possible, at any point in the history of RPM, for a RPM package > to be created without a version or a release? No. Absolutely not. A package with empty or missing name, version, release, arch, os, license or summary tags is simply invalid, and rpm could and should (but

[Rpm-maint] [rpm-software-management/rpm] Is it possible for an RPM package to have no version? (Discussion #2896)

2024-02-11 Thread Shane Bishop
### Context Feel free to skip this context, and go straight to my question. My team has written some software that uses librpm to retrieve the version and release for every RPM package installed on a system (we use `RPMTAG_VERSION` and `RPMTAG_RELEASE` respectively to retrieve this data). The