Bug 664619
Summary: | Review Request: jspeex - Java Implementation of Speex | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Hicham HAOUARI <hicham.haouari> |
Component: | Package Review | Assignee: | Stanislav Ochotnicky <sochotni> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | akurtako, fedora-package-review, notting, sochotni |
Target Milestone: | --- | Flags: | sochotni:
fedora-review+
j: fedora-cvs+ |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | jspeex-0.9.7-1.fc14 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2011-03-09 03:14:25 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
Hicham HAOUARI
2010-12-21 00:55:39 UTC
Few notes from just a quick look: * BuildRoot is not needed (ignore rpmlint warning) * rm -rf $RPM_BUILD_ROOT and %clean section not needed (see above) * line "%doc %{_javadocdir}/%{name}/*" in %files should be removed (duplicate entry) Other than that package looks OK (I haven't looked at the tarball though). (In reply to comment #1) > Few notes from just a quick look: > * BuildRoot is not needed (ignore rpmlint warning) > * rm -rf $RPM_BUILD_ROOT and %clean section not needed (see above) - I think there is no harm in keeping that, in case we want to maintain a single spec across Fedora and EPEL > * line "%doc %{_javadocdir}/%{name}/*" in %files should be removed (duplicate > entry) > - I believe the first entry is for directory ownership only, the second marks the files as doc ones. > Other than that package looks OK (I haven't looked at the tarball though). (In reply to comment #2) > (In reply to comment #1) > > Few notes from just a quick look: > > * BuildRoot is not needed (ignore rpmlint warning) > > * rm -rf $RPM_BUILD_ROOT and %clean section not needed (see above) > > - I think there is no harm in keeping that, in case we want to maintain a > single spec across Fedora and EPEL This is only needed on EL-5 and earlier. But yes, if you plan to support older EPELs keep it in. > > * line "%doc %{_javadocdir}/%{name}/*" in %files should be removed (duplicate > > entry) > > > > - I believe the first entry is for directory ownership only, the second marks > the files as doc ones. yes, but it's still not needed. Instead of those two lines you can just have: %doc %{_javadocdir}/%{name} (In reply to comment #3) > (In reply to comment #2) > > (In reply to comment #1) > > > Few notes from just a quick look: > > > * BuildRoot is not needed (ignore rpmlint warning) > > > * rm -rf $RPM_BUILD_ROOT and %clean section not needed (see above) > > > > - I think there is no harm in keeping that, in case we want to maintain a > > single spec across Fedora and EPEL > > This is only needed on EL-5 and earlier. But yes, if you plan to support older > EPELs keep it in. > > > > * line "%doc %{_javadocdir}/%{name}/*" in %files should be removed (duplicate > > > entry) > > > > > > > - I believe the first entry is for directory ownership only, the second marks > > the files as doc ones. > > yes, but it's still not needed. Instead of those two lines you can just have: > %doc %{_javadocdir}/%{name} Ok, removed the duplicate line I'll do the review Package Review ============== Key: - = N/A x = Check ! = Problem ? = Not evaluated === REQUIRED ITEMS === [x] Rpmlint output: emtpy [x] Package is named according to the Package Naming Guidelines[1]. [x] Spec file name must match the base package name, in the format %{name}.spec. [x] Package meets the Packaging Guidelines[2]. [x] Package successfully compiles and builds into binary rpms. [!] Buildroot definition is not present Unless you plan EPEL-5 package, you should remove this [x] Package is licensed with an open-source compatible license and meets other legal requirements as defined in the legal section of Packaging Guidelines[3,4]. [x] License field in the package spec file matches the actual license. License type: BSD with advertising [x] 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. [!] All independent sub-packages have license of their own javadoc subpackage is missing license [x] Spec file is legible and written in American English. [x] Sources used to build the package matches the upstream source, as provided in the spec URL. MD5SUM this package : a568efa4a6aa3c218ca4a37e5231685c MD5SUM upstream package: a568efa4a6aa3c218ca4a37e5231685c [x] All build dependencies are listed in BuildRequires, except for any that are listed in the exceptions section of Packaging Guidelines[5]. [x] Package must own all directories that it creates. [x] Package requires other packages for directories it uses. [x] Package does not contain duplicates in %files. [x] Permissions on files are set properly. [!] Package does NOT have a %clean section which contains rm -rf %{buildroot} (or $RPM_BUILD_ROOT). (not needed anymore) I have a feeling you are planning EPEL-5 build, but if that's not the case you should remove rm-rfs [x] Package consistently uses macros (no %{buildroot} and $RPM_BUILD_ROOT mixing) [x] Package contains code, or permissable content. [x] Fully versioned dependency in subpackages, if present. [-] Package contains a properly installed %{name}.desktop file if it is a GUI application. [x] Package does not own files or directories owned by other packages. [x] Javadoc documentation files are generated and included in -javadoc subpackage [x] Javadocs are placed in %{_javadocdir}/%{name} (no -%{version} symlinks) [x] Packages have proper BuildRequires/Requires on jpackage-utils [x] Javadoc subpackages have Require: jpackage-utils [-] Package uses %global not %define [-] If package uses tarball from VCS include comment how to re-create that tarball (svn export URL, git clone URL, ...) [x] If source tarball includes bundled jar/class files these need to be removed prior to building [x] All filenames in rpm packages must be valid UTF-8. [x] Jar files are installed to %{_javadir}/%{name}.jar (see [6] for details) [-] If package contains pom.xml files install it (including depmaps) even when building with ant [-] pom files has correct add_to_maven_depmap call which resolves to the pom file (use "JPP." and "JPP-" correctly) === Other suggestions === [x] If possible use upstream build method (maven/ant/javac) [x] Avoid having BuildRequires on exact NVR unless necessary [x] Package has BuildArch: noarch (if possible) [x] Latest version is packaged. [x] Reviewer should test that the package builds in mock. Tested on: rawhide-x86_64 === Issues === 1. License in javadoc subpackage 2. EPEL-specifics cleanup (if they are not needed - depends on you) All in all, nicely done. Provided you add license to javadoc subpackage this package is ================ *** APPROVED *** ================ Can this be finished and removed from the JAVA SIG bug tracker? Sorry, I will finish it ASAP. I'm dropping the blocks on FE-JAVASIG. The package is reviewed and there is nothing more the Java SIG can do. Thanks Stanislav for reviewing this package New Package SCM Request ======================= Package Name: jspeex Short Description: Java Implementation of Speex Owners: hicham Branches: f14 f15 InitialCC: hicham Git done (by process-git-requests). Package jspeex-0.9.7-1.fc15: * should fix your issue, * was pushed to the Fedora 15 updates-testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing jspeex-0.9.7-1.fc15' as soon as you are able to, then reboot. Please go to the following url: https://admin.fedoraproject.org/updates/jspeex-0.9.7-1.fc15 then log in and leave karma (feedback). Package jspeex-0.9.7-1.fc14: * should fix your issue, * was pushed to the Fedora 14 updates-testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing jspeex-0.9.7-1.fc14' as soon as you are able to, then reboot. Please go to the following url: https://admin.fedoraproject.org/updates/jspeex-0.9.7-1.fc14 then log in and leave karma (feedback). jspeex-0.9.7-1.fc15 has been pushed to the Fedora 15 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 jspeex'. You can provide feedback for this update here: https://admin.fedoraproject.org/updates/jspeex-0.9.7-1.fc15 jspeex-0.9.7-1.fc15 has been pushed to the Fedora 15 stable repository. jspeex-0.9.7-1.fc14 has been pushed to the Fedora 14 stable repository. |