Bug 1361340
| Summary: | Review Request: python-fadvise - Python interface to posix_fadvise(2) | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Piotr Popieluch <piotr1212> |
| Component: | Package Review | Assignee: | Zbigniew Jędrzejewski-Szmek <zbyszek> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | rawhide | CC: | package-review, zbyszek |
| Target Milestone: | --- | Keywords: | Reopened |
| Target Release: | --- | Flags: | zbyszek:
fedora-review+
|
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-09-12 12:21:48 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
Piotr Popieluch
2016-07-28 21:08:49 UTC
> %{python2_sitearch}
don't own directory.
(In reply to Igor Gnatenko from comment #1) > > %{python2_sitearch} > don't own directory. aj.. this should be better > %{python2_sitearch}/* spec/srpm updated, same url. Why don't you just build from the github tarball? That's simpler than mucking around with pypi and a separate license file [https://fedoraproject.org/wiki/Packaging:SourceURL?rd=Packaging/SourceURL#Git_Tags]. It isn't strictly required, but it's considered good practice to specify more specific patterns in %files: %{python2_sitearch}/%{srcname}/ %{python2_sitearch}/%{srcname}-egg.info... I would be much much better to not install a private module in the top level python namespace: /usr/lib/python2.7/site-packages/_fadvise.so should become /usr/lib/python2.7/site-packages/fadvise/_fadvise.so. Of course this is an upstream issue, but maybe you could try to work with them to fix this. Actually patching this is trivial: 1. move the .so file 2. change from _fadvise import ... → from ._fadvise import ... There is no man page, and pyadvise --help isn't exactly verbose. It would be nice to extend the description in --help. Thanks for reviewing. I've switched to github source. Made %files more specific. The pyadvise script got dropped: https://github.com/lamby/python-fadvise/issues/1 I'm thinking on how to improve the api, I'll also move _fadvise.so. Updated spec and srpm for now: Spec URL: https://piotrp.fedorapeople.org/python-fadvise.spec SRPM URL: https://piotrp.fedorapeople.org/python-fadvise-4.0.1-1.fc24.src.rpm + package name is OK + latest version + license is acceptable (BSD) + license is specified correctly + modern python packaging is used + %python_provide macro is used + python3 support is not needed + P/R/BR look OK + builds and install OK Package is APPROVED. Package request has been approved: https://admin.fedoraproject.org/pkgdb/package/rpms/python-fadvise python-fadvise-5.0.0-1.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2016-d6fcbadcf1 python-fadvise-5.0.0-1.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-19e20103d3 python-fadvise-5.0.0-1.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-25d018f640 python-fadvise-5.0.0-1.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-25d018f640 python-fadvise-5.0.0-1.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-19e20103d3 python-fadvise-5.0.0-1.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-d6fcbadcf1 python-fadvise-5.0.0-1.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report. python-fadvise-5.0.0-1.el6 has been submitted as an update to Fedora EPEL 6. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-74ea06d61c python-fadvise-5.0.0-1.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-30d3474e91 python-fadvise-5.0.0-1.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report. python-fadvise-5.0.0-1.el6 has been pushed to the Fedora EPEL 6 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-74ea06d61c python-fadvise-5.0.0-1.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-30d3474e91 python-fadvise-5.0.0-1.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report. python-fadvise-5.0.0-1.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report. python-fadvise-5.0.0-1.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report. |