Bug 1986522
Summary: | F35FailsToInstall: nspr-devel | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Miro Hrončok <mhroncok> |
Component: | nss | Assignee: | Bob Relyea <rrelyea> |
Status: | CLOSED WORKSFORME | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | rawhide | CC: | crypto-team, elio.maldonado.batiz, kai-engert-fedora, kdudka, rrelyea |
Target Milestone: | --- | Keywords: | Triaged |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2021-08-02 10:10:54 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1927313 |
Description
Miro Hrončok
2021-07-27 17:54:47 UTC
rpmdev-bumpspec messes up with nss/nspr. nss/nspr uses two globals for the version number. rpmdev-bumpspec modifies the Release field directly and adds the .1 after the %{?dist} variable. Consider defining %baserelease macro (rpmdev-bumpspec will bump the one if it sees it) and using it to calculate the values of %nspr_release and %nss_release. E.g.: %global baserelease 2 %global nspr_release %{lua:print(rpm.expand('%baserelease') + 0)} %global nss_release %{lua:print(rpm.expand('%baserelease') + 1)} Or even better, without Lua, if you only need to support RPM 4.16+: %global baserelease 2 %global nspr_release %[%baserelease+0] %global nss_release %[%baserelease+1] Thanks, I only need rpm support in Fedora and RHEL 9, so i suspect 4.16+ is fine (rhel 8 still builds nss/nspr separately). The base release offset isn't always a fixed number. If I rebase nss, but not nspr then nspr increments and nss goes to 1, however if rpmdev-bumpspec understands it then it's worth changing and doing the math myself. I meant that rpmdev-bumpspec would always bump %baserelease and never break the package and when you rebase nss, but not nspr, then you need to adjust the +Ns manually. Thanks Miro, Once this build is complete I'll add the baserelease version. Hello, Please note that this comment was generated automatically. If you feel that this output has mistakes, please contact me via email (mhroncok). All subpackages of a package against which this bug was filled are now installable or removed from Fedora 35. Thanks for taking care of it! |