| Summary: | Unowned libexecdir/smartmontools and share/smartmontools dirs | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Ville Skyttä <ville.skytta> | ||||
| Component: | smartmontools | Assignee: | Michal Hlavinka <mhlavink> | ||||
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | rawhide | CC: | mhlavink | ||||
| Target Milestone: | --- | Keywords: | EasyFix, Patch | ||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2011-03-03 11:07:56 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
Thanks for reporting this, I've fixed it using slightly different approach:
-%{_libexecdir}/%{name}/smartdnotify
-%{_datadir}/%{name}/drivedb.h
+%{_libexecdir}/%{name}
+%{_datadir}/%{name}
because it's not expected that any other package adds any file in those directories
Thanks, that's a perfectly valid approach, I just chose to add specific entries because the specfile already contained fairly specific %files listing.
BTW it's not relevant if another package chooses to install files to those dirs, it's just a matter of how closely you want to keep track of the files installed by smartmontools (for example in case new files appear or old ones disappear between versions etc or depending on the build flags). %files entries like %{_sbindir}/* would not cause any non-smartmontools files to be included in the package in any sane package build environment.
|
Created attachment 481928 [details] Own %{_datadir}/%{name} and %{_libexecdir}/%{name} dirs Fix attached. Ok to push+build for devel?