Bug 852543 (zlib-ada)
| Summary: | Review Request: zlib-ada - an Ada binding to Zlib | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Björn Persson <bjorn> |
| Component: | Package Review | Assignee: | Pavel Zhukov <pavel> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | notting, package-review, pavel |
| Target Milestone: | --- | Flags: | pavel:
fedora-review+
gwync: fedora-cvs+ |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-09-17 17:35:26 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 810676 | ||
|
Description
Björn Persson
2012-08-28 21:16:22 UTC
Thanks Björn I'll review it. There should hopefully be a new release soon, which I assume will be numbered 1.4, but until then, here's a package with a snapshot of the CVS head. https://www.rombobjörn.se/packages/zlib-ada.spec https://www.rombobjörn.se/packages/zlib-ada-1.4-0.1.20120830CVS.fc17.src.rpm Scratch build: http://koji.fedoraproject.org/koji/taskinfo?taskID=4439852 Devel and debuginfo packages contain executable *.adb in _docdir and debug folders readme.txt from main package contains also executable. I think you should remove executable bit from sources (In reply to comment #3) > Devel and debuginfo packages contain executable *.adb in _docdir and debug > folders readme.txt from main package contains also executable. I think you > should remove executable bit from sources Good catch. I thought RPMbuild would take care of the file permissions but apparently it removes executable bits only in some directories. Fixed. https://www.rombobjörn.se/packages/zlib-ada.spec https://www.rombobjörn.se/packages/zlib-ada-1.4-0.2.20120830CVS.fc17.src.rpm Package Review
==============
Key:
- = N/A
x = Pass
! = Fail
? = Not evaluated
==== Ada ====
[x]: MUST Spec MUST be done with "ExclusiveArch: %{GNAT_arches}"
[x]: MUST All packages that contain Ada code MUST have "BuildRequires: fedora-
gnat-project-common"
[x]: MUST Header files in -devel subpackage, if present.
[x]: MUST Package does not contain any libtool archives (.la)
[-]: MUST Package does not contain kernel modules.
[x]: MUST Package contains no static executables.
[x]: MUST Rpath absent or only used for internal libs.
[x]: MUST Development (unversioned) .so files in -devel subpackage, if
present.
==== Generic ====
[x]: EXTRA Rpmlint is run on all installed packages.
Note: No rpmlint messages.
[x]: MUST Package is licensed with an open-source compatible license and meets
other legal requirements as defined in the legal section of Packaging
Guidelines.
[x]: MUST Package successfully compiles and builds into binary rpms on at
least one supported primary architecture.
[x]: MUST %build honors applicable compiler flags or justifies otherwise.
[x]: MUST All build dependencies are listed in BuildRequires, except for any
that are listed in the exceptions section of Packaging Guidelines.
[x]: MUST Package contains no bundled libraries.
[x]: MUST Changelog in prescribed format.
[x]: MUST Sources contain only permissible code or content.
[x]: MUST Each %files section contains %defattr if rpm < 4.4
Note: Note: defattr macros not found. They would be needed for EPEL5
[x]: MUST Macros in Summary, %description expandable at SRPM build time.
[-]: MUST Package contains desktop file if it is a GUI application.
[x]: MUST Development files must be in a -devel package
[x]: MUST Package requires other packages for directories it uses.
[x]: MUST Package uses nothing in %doc for runtime.
[x]: MUST Package is not known to require ExcludeArch.
[x]: MUST Permissions on files are set properly.
[x]: MUST Package does not contain duplicates in %files.
[x]: MUST Fully versioned dependency in subpackages, if present.
[x]: MUST Package complies to the Packaging Guidelines
[x]: MUST Spec file lacks Packager, Vendor, PreReq tags.
[x]: MUST Package does not run rm -rf %{buildroot} (or $RPM_BUILD_ROOT) at the
beginning of %install.
Note: rm -rf would be needed if support for EPEL5 is required
[-]: MUST Large documentation files are in a -doc subpackage, if required.
[x]: MUST If (and only if) the source package includes the text of the
license(s) in its own file, then that file, containing the text of the
license(s) for the package is included in %doc.
[x]: MUST License field in the package spec file matches the actual license.
Note: Checking patched sources after %prep for licenses. No licenses
found. Please check the source files for licenses manually.
[x]: MUST License file installed when any subpackage combination is installed.
[x]: MUST Package consistently uses macro is (instead of hard-coded directory
names).
[x]: MUST Package is named using only allowed ascii characters.
[x]: MUST Package is named according to the Package Naming Guidelines.
[x]: MUST Package does not generate any conflict.
Note: Package contains no Conflicts: tag(s)
[x]: MUST Package obeys FHS, except libexecdir and /usr/target.
[x]: MUST If the package is a rename of another package, proper Obsoletes and
Provides are present.
[x]: MUST Package must own all directories that it creates.
[x]: MUST Package does not own files or directories owned by other packages.
[x]: MUST Package installs properly.
[-]: MUST Package is not relocatable.
[x]: MUST Requires correct, justified where necessary.
[x]: MUST Rpmlint is run on all rpms the build produces.
Note: There are rpmlint messages (see attachment).
[x]: MUST Sources used to build the package match the upstream source, as
provided in the spec URL.
[x]: MUST Spec file is legible and written in American English.
[x]: MUST Spec file name must match the spec package %{name}, in the format
%{name}.spec.
[-]: MUST Package contains systemd file(s) if in need.
[x]: MUST File names are valid UTF-8.
[x]: MUST Useful -debuginfo package or justification otherwise.
[x]: SHOULD Reviewer should test that the package builds in mock.
[x]: SHOULD Buildroot is not present
Note: Unless packager wants to package for EPEL5 this is fine
[x]: SHOULD Package has no %clean section with rm -rf %{buildroot} (or
$RPM_BUILD_ROOT)
Note: Clean would be needed if support for EPEL5 is required
[-]: SHOULD If the source package does not include license text(s) as a
separate file from upstream, the packager SHOULD query upstream to
include it.
[x]: SHOULD Dist tag is present.
[x]: SHOULD No file requires outside of /etc, /bin, /sbin, /usr/bin,
/usr/sbin.
[-]: SHOULD Final provides and requires are sane (rpm -q --provides and rpm -q
--requires).
[ ]: SHOULD Package functions as described.
[x]: SHOULD Latest version is packaged.
[x]: SHOULD Package does not include license text files separate from
upstream.
[-]: SHOULD Scriptlets must be sane, if used.
[x]: SHOULD SourceX tarball generation or download is documented.
Note: Package contains tarball without URL, check comments
[!]: SHOULD SourceX / PatchY prefixed with %{name}.
Note: Source2 (build_zlib_ada.gpr) Source3 (zlib_ada.gpr)
== It's OK for grp files.
[x]: SHOULD SourceX is a working URL.
[x]: SHOULD Description and summary sections in the package spec file contains
translations for supported Non-English languages, if available.
[x]: SHOULD Package should compile and build into binary rpms on all supported
architectures.
[-]: SHOULD %check is present and all tests pass.
[x]: SHOULD Packages should try to preserve timestamps of original installed
files.
[x]: SHOULD Spec use %global instead of %define.
Package is APPROVED
Thanks for the review. Could you also set the fedora-review flag to +? Sorry. Fixed New Package SCM Request ======================= Package Name: zlib-ada Short Description: Zlib for Ada Owners: rombobeorn landgraf Branches: f18 f17 f16 InitialCC: SCM request and BZ package names don't match, please correct case. Git done (by process-git-requests). zlib-ada-1.4-0.3.20120830CVS.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/zlib-ada-1.4-0.3.20120830CVS.fc17 zlib-ada-1.4-0.3.20120830CVS.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/zlib-ada-1.4-0.3.20120830CVS.fc16 zlib-ada-1.4-0.3.20120830CVS.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/zlib-ada-1.4-0.3.20120830CVS.fc18 zlib-ada-1.4-0.3.20120830CVS.fc18 has been pushed to the Fedora 18 testing repository. zlib-ada-1.4-0.3.20120830CVS.fc17 has been pushed to the Fedora 17 stable repository. zlib-ada-1.4-0.3.20120830CVS.fc16 has been pushed to the Fedora 16 stable repository. zlib-ada-1.4-0.3.20120830CVS.fc18 has been pushed to the Fedora 18 stable repository. |