Bug 225661
| Summary: | Merge Review: createrepo | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Nobody's working on this, feel free to take it <nobody> |
| Component: | createrepo | Assignee: | Peter Jones <pjones> |
| Status: | CLOSED EOL | QA Contact: | Fedora Package Reviews List <fedora-package-review> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 23 | CC: | mattdm, packaging-team-maint, pfrields, redhat-bugzilla |
| Target Milestone: | --- | Keywords: | Reopened |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | 0.4.6-2 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-12-20 11:55:28 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
Nobody's working on this, feel free to take it
2007-01-31 17:53:00 UTC
Taking for review. GOOD
====
MUST: naming is fine
MUST: spec filename matches %{name}
MUST: free software
MUST: License matches actual license (GPL)
MUST: neither source package nor RPM contain the license file
MUST: source matches upstream (md5sum checked)
MUST: compiled and built as noarch
MUST: no ExcludeArch
MUST: no real build dep, instead of the minimum gang
MUST: no locales
MUST: not a lib, so no ldconfig
MUST: not relocatable
MUST: owns its dirs
MUST: no dup files
MUST: clean section fine
MUST: macro use consistent
MUST: no large docs
MUST: docs don't affect runtime
MUST: no header, libs or devel package
MUST: not GUI
MUST: doesn't own others' dirs
BAD / COULD BE BETTER
=====================
MUST: rpmlint output
* SRPM:
W: createrepo no-%build-section
rpmlint suggests you add an empty %build section anyway.
* RPM:
E: createrepo explicit-lib-dependency libxml2-python
I think this is a false hit.
MUST: US English
* The description field should have a period at the end.
MUST: spec file legiblity
* The scriptlet check for RPM_BUILD_ROOT for not being equal to / is
unnecessary and obsfucating. The value of that variable may as well be
equal to /lib or /etc and destroy a system. Never run rpmbuild as root!
MUST: file permissions
* %defattr should be changed to %defattr(-, root, root, -), i.e., extra
"-" at the end.
MUST: Packaging Guidelines
* The dependency on rpm should be changed to ">= 4.1.1", as current rpm
in Rawhide doesn't have any epoch.
* Source tag should be change to include full URL:
http://linux.duke.edu/projects/metadata/generate/%{name}-%{version}.tar.gz
* BuildRoot should be changed to:
%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
* %makeinstall should be replaced with:
make DESTDIR=$RPM_BUILD_ROOT install
* Instead of:
%dir %{_datadir}/%{name}
%{_datadir}/%{name}/*
you can simply do:
%{_datadir}/%{name}
SHOULD: Upstream should be pinged to add license file (GPL) to package
Other:
* 'sources' and '.cvsignore' files (in CVS) contain lots of old versions.
Remove older versions.
From an email by Michael Schwendt regarding the directory and its files: > Even better: > > %{_datadir}/%{name}/ > > The extra slash at the end makes it clear that you want to include > a directory and not an ordinary file. I've got commit access upstream so will add copying for next release. I've addresssed the other points. (In reply to comment #4) > I've addresssed the other points. Did you commit the changes? (In reply to comment #5) > Did you commit the changes? Ah, the anonymous CVS is delayed for two hours! All fine now. The only remaining issues are using the full source URL in the "Source" line, and including the license file in the package. None of them are blockers, so I approve the package. But please consider fixing both issues. Final rpmlint output: E: createrepo explicit-lib-dependency libxml2-python which I believe is fine. Ropening in case the author wishes to do something about the changes suggested in comment #6. (fedora-review remains approved.) User pnasrat's account has been closed Mass reassigning all merge reviews to their component. For more details, see this FESCO ticket: https://fedorahosted.org/fesco/ticket/1269 If you don't know what merge reviews are about, please see: https://fedoraproject.org/wiki/Merge_Reviews How to handle this bug is left to the discretion of the package maintainer. This bug appears to have been reported against 'rawhide' during the Fedora 23 development cycle. Changing version to '23'. (As we did not run this process for some time, it could affect also pre-Fedora 23 development cycle bugs. We are very sorry. It will help us with cleanup during Fedora 23 End Of Life. Thank you.) More information and reason for this action is here: https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora23 This message is a reminder that Fedora 23 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 23. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '23'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 23 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. Fedora 23 changed to end-of-life (EOL) status on 2016-12-20. Fedora 23 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed. |