Bug 441812
Summary: | opensc should BuildRequires libassuan-devel | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Patrice Dumas <pertusus> |
Component: | opensc | Assignee: | Hans de Goede <hdegoede> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | rawhide | CC: | ville.skytta |
Target Milestone: | --- | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2008-04-10 15:02:15 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: |
Description
Patrice Dumas
2008-04-10 10:26:00 UTC
Erm, opensc already BuildRequires libassuan-static, which is provided by libassuan-devel, closing. Sure, it works, but libassuan-static is not meant to provide the development bits needed to build against libassuan. Depending on the -devel subpackages corresponds with the intention to link against libassuan, while depending on the -static subpackage means that opensc needs static libraries which I think is not true. This is not a very problematic bug, since the end result is the same, but I think that it is important to be consistent and have meaningful requires, not only correct requires. For example (and that's how I noticed it), one may want to know what links against libassuan for any reason, one being for example that there was a rebuild and all the dependent packgages should be rebuilt too. In that case, the logical repoquery call is repoquery --archlist=src --whatrequires libassuan-devel While if one want to know which packages in fedora requires static libs one would do something like repoquery --archlist=src --whatrequires '*-static' and opensc will wrongly appear as requiring a static libassuan library while it only needs to link against libassuan. Also it is implied by the guidelines (though in that sort of areas I don't think that guidelines should necessarily be followed to the letter): "This way other packages which will link against a dynamic library when your package starts providing one can BuildRequire: foo-devel and packages which explicitly need to link against the static version can BuildRequire: foo-static" Ah, so you want me to change the BuildRequires from libassuan-static to libassuan-devel. Sure I can do that, next time it would help though if you would spend a litle bit more time explaining yourself in your initial bug report. "As Summary says" isn't exactly crystal clear, and the sentence after that only lead to more confusion on my side. Indeed I was unclear, but I cannot promise honestly that I'll be clearer in the future... I always try to be clear, but it is often unsuccessful. Fixed in rawhide, it may not show up until the freeze is over! |