Bug 395651
| Summary: | Review Request: python-enum - Robust enumerated type support in Python | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Matěj Cepl <mcepl> |
| Component: | Package Review | Assignee: | Tim Lauridsen <tim.lauridsen> |
| Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | rawhide | CC: | admiller, fedora-package-review, maxamillion, mcepl, notting |
| Target Milestone: | --- | Flags: | tim.lauridsen:
fedora-review+
gwync: fedora-cvs+ |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2007-11-23 17:20:13 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
Matěj Cepl
2007-11-22 13:32:45 UTC
Scratch built in koji http://koji.fedoraproject.org/koji/taskinfo?taskID=254391 (src.rpm is also available at http://mcepl.fedorapeople.org/rpms) I will review this tomorrow, but i have some prelimynary comments.
Just write the what the package does in the decription in the spec, not how it
does it. That info should be placed in some DOCS.
for F8 you have to use
BuildRequires: python-setuptools-devel
Something like this will work.
%if 0%{?fedora} >= 8
BuildRequires: python-setuptools-devel
%else
BuildRequires: python-setuptools
%endif
New build of the package is on http://koji.fedoraproject.org/koji/taskinfo?taskID=254503 new src.rpm is http://koji.fedoraproject.org/koji/getfile?taskID=254503&name=python-enum-0.4.3-2.fc9.src.rpm ? rpmlint must be silent. $rpmlint /data/dnl/python-enum-0.4.3-2.fc9.src.rpm $ rpmlint python-enum-0.4.3-2.fc8.noarch.rpm python-enum.noarch: W: incoherent-version-in-changelog 0.4.3-2.fc9 0.4.3-2.fc8 caused by the 0.4.3-2.fc9 in the Changelog entries, just use 0.4.3-2. * source match upstream source [tim@localhost ~]$ md5sum /data/dnl/enum-0.4.3.tar.gz f0e2bd1a0a581897ea3ed245a1db6c8e /data/dnl/enum-0.4.3.tar.gz [tim@localhost ~]$ md5sum rpmbuild/SOURCES/enum-0.4.3.tar.gz f0e2bd1a0a581897ea3ed245a1db6c8e rpmbuild/SOURCES/enum-0.4.3.tar.gz [tim@localhost ~]$ MUST:
* package is named appropriately
* it is legal for Fedora to distribute this
? license field matches the actual license.
Package is dual licensed GPLv2+ or Python, just use GPLv2+ in the License field.
* license is open source-compatible.
* specfile name matches %{name}
* summary and description fine
* correct buildroot
* %{?dist} is used
* license text included in package and marked with %doc
* package meets FHS (http://www.pathname.com/fhs/)
? changelog format fine
See earlier comment.
* Packager tag not used
* Vendor tag not used
* Distribution tag not used
* License used and not Copyright
* Summary tag does not end in a period
* specfile is legible
* package successfully compiles and builds on at least x86
* make sure lines are <= 80 characters
* specfile written in American English
* no -doc sub-package necessary
* no libraries
* no rpath
* not a GUI app
* no -devel sub-package necessary
* macros used appropriately and consistently
* no %makeinstall
* install section must begin with rm -rf $RPM_BUILD_ROOT or %{buildroot}
* no locale data
* split Requires(pre,post) into two separate lines
* package not relocatable
* package contains code
* package owns all directories and files
* no %files duplicates
* %defattrs present ( %defattr(-, root, root, -))
* %clean present
* %doc files do not affect runtime
* verify the final provides and requires of the binary RPMs
$ rpm -q -R -p rpmbuild/RPMS/noarch/python-enum-0.4.3-2.fc8.noarch.rpm
python(abi) = 2.5
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
$ rpm -q --provides -p rpmbuild/RPMS/noarch/python-enum-0.4.3-2.fc8.noarch.rpm
python-enum = 0.4.3-2.fc8
SHOULD:
* package should include license text in the package and mark it with %doc
* package should build on i386
? package should build in mock
- I haven't tried, but I don't think it'll be a problem
Fixes the license field and the the changelog entry versions and it is
APPROVED.
(In reply to comment #5) > MUST: > ? license field matches the actual license. > Package is dual licensed GPLv2+ or Python, just use GPLv2+ in the License field. That's incorrect -- I can and I should use what I did. http://fedoraproject.org/wiki/PackagingDrafts/LicenseTag#head-35bf3683af78c7c47752f336efbee5029d35921a 'the spec must reflect this by using "or" as a separator.' > ? changelog format fine > See earlier comment. OK, fixed. > ? package should build in mock > - I haven't tried, but I don't think it'll be a problem It was built in koji, which is even better than mock (because it is multiplatform build -- not relevant in this case, true). New and upgraded package is available at http://koji.fedoraproject.org/koji/getfile?taskID=255432&name=python-enum-0.4.3-3.fc9.src.rpm (build page in koji is http://koji.fedoraproject.org/koji/taskinfo?taskID=255432) New Package CVS Request ======================= Package Name: python-enum Short Description: Robust enumerated type support in Python Owners: mcepl Branches: F-7 F-8 InitialCC: Cvsextras Commits: yes > > That's incorrect -- I can and I should use what I did. > http://fedoraproject.org/wiki/PackagingDrafts/LicenseTag#head-35bf3683af78c7c47752f336efbee5029d35921a > 'the spec must reflect this by using "or" as a separator.' > Yes, you are right. cvs done. Package Change Request ====================== Package Name: python-enum New Branches: EL-5 Owners: maxamillion CVS Done Package Change Request ====================== Package Name: python-enum New Branches: el6 Owners: maxamillion Git done (by process-git-requests). Package Change Request ====================== Package Name: python-enum New Branches: epel7 Owners: maxamillion Git done (by process-git-requests). |