Bug 661810
| Summary: | Review Request: libcacard - Common Access Card emulation library | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Alon Levy <alevy> |
| Component: | Package Review | Assignee: | Hans de Goede <hdegoede> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | rawhide | CC: | dblechte, fedora-package-review, hdegoede, notting |
| Target Milestone: | --- | Flags: | hdegoede:
fedora-review+
j: fedora-cvs+ |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | libcacard-0.1.0-4.fc14 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2010-12-30 20:21:52 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
Alon Levy
2010-12-09 17:24:58 UTC
I'll review this and I'll sponsor Alon. Alon note you forgot to set the FE-NEEDSPONSOR blocker bug on this bug. No need to do that now as I'll sponsor you. Some initial comments / things to fix (which make doing a full review a bit hard):
You've the following defattr line in the spec file (multiple times):
%defattr(-,root,root.-)
That should be:
%defattr(-,root,root,-)
The:
%doc COPYING README
Line should be part of the %files for the main package, iow make the main
%files look like this:
%files
%defattr(-,root,root,-)
%doc COPYING README
%{_libdir}/libcacard.so.*
And remove the %doc line further below
In %files devel I see:
%{_libdir}/libcacard.*a
In Fedora we do not ship .la nor .a files, please remove those (see
/etc/rpmdevtools/spectemplate-minimal.spec )
Addressed all the issues, fixed package is revision 3: Spec URL: http://people.freedesktop.org/~alon/libcacard.spec SRPM URL: http://people.freedesktop.org/~alon/libcacard-0.1.0-3.fc14.src.rpm Thanks, full review below:
Good:
----
- rpmlint says:
libcacard.src: W: no-cleaning-of-buildroot %clean
libcacard.src: W: no-buildroot-tag
libcacard.src: W: no-%clean-section
libcacard-devel.x86_64: W: no-documentation
libcacard-tools.x86_64: W: no-documentation
libcacard-tools.x86_64: W: no-manual-page-for-binary vscclient
These can all be ignored
- package meets naming guidelines
- package meets packaging guidelines
- license (GPLv2+) OK, text in %doc, matches source
- spec file legible, in am. english
- source matches upstream
- package compiles on devel (x86)
- no missing BR
- no unnecessary BR
- no locales
- not relocatable
- owns all directories that it creates
- no duplicate files
- permissions ok
- macro use consistent
- code, not content
- no need for -docs
- nothing in %doc affects runtime
- no need for .desktop file
- devel package ok
- no .la files
- post/postun ldconfig ok
Needs work:
-----------
- rpmlint says:
libcacard.src:59: W: macro-in-%changelog %doc
libcacard.src:59: W: macro-in-%changelog %files
libcacard-devel.x86_64: W: no-dependency-on libcacard/libcacard-libs/liblibcacard
These are bad, see below
- devel should require base package n-v-r, iow it needs a
Requires: %{name} = %{version}-%{release}
line below its Summary. You should add the same to the the -tools subpackage
to force the -tools and main package version to stay in sync
- macros in changelog, when you refer to a macro like %doc in the changelog
use %%doc instead
- Your rpm Group tag is wrong and although mostly unused in Fedora, I
believe it should still be right. For the main package it should be:
Group: System Environment/Libraries
and then for -devel
Group: Development/Libraries
Notes:
------
- The source files in the tarbal miss a LGPLv2+ copyright / license header,
please add those in the next upstream release
- A hint for your next package, it is a good idea to start out with one of the
templates under /etc/rpmdevtools
Addressed all the issues, except the upstream LGPLv2+ copyright, will do that for next upstream release. fixed package is revision 4: Spec URL: http://people.freedesktop.org/~alon/libcacard.spec SRPM URL: http://people.freedesktop.org/~alon/libcacard-0.1.0-4.fc14.src.rpm Looks good now, approved! I'll go and add you to the Packagers group in FAS and sponsor you. New Package SCM Request ======================= Package Name: libcacard Short Description: Common Access Card (CAC) Emulation Owners: alon Branches: f14 InitialCC: jwrdegoede Git done (by process-git-requests). libcacard-0.1.0-4.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/libcacard-0.1.0-4.fc14 libcacard-0.1.0-4.fc14 has been pushed to the Fedora 14 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update libcacard'. You can provide feedback for this update here: https://admin.fedoraproject.org/updates/libcacard-0.1.0-4.fc14 libcacard-0.1.0-4.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report. |