Bug 979564
Summary: | Review Request: mingw-sane-backends - MinGW package for SANE | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Michael Cronenworth <mike> |
Component: | Package Review | Assignee: | Sandro Mani <manisandro> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | fedora-mingw, manisandro, notting, package-review |
Target Milestone: | --- | Flags: | manisandro:
fedora-review+
gwync: fedora-cvs+ |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | mingw-sane-backends-1.0.23-1.fc18 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-07-24 03:35:19 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
Michael Cronenworth
2013-06-28 20:07:40 UTC
Must fix: - mingw{32,64}-pthreads BR are missing - ftp://ftp.sane-project.org seems down (temporary?), so Source0 does not work. - License breakdown must be documented [1] - Requires of -static subpackages are incorrect. (The way I do it is to define %pkgname with the native package name, and then prefix it with mingw32 and mingw64 as necessary, i.e. %global pkgname sane-backends [...] Requires: mingw32-%{pkgname} = %{version}-%{release} [...] Requires: mingw64-%{pkgname} = %{version}-%{release} ) - Unowned directories: * %{mingw32/64_includedir}/sane * %{mingw32_sysconfdir}/sane.d Should fix: - BuildRoot is not required anymore since F10 [2] - %defattr is not needed anymore - Add a comment explaining the patch - Rpmlint warnings/errors: * mingw32-sane-backends.noarch: E: incorrect-fsf-address /usr/i686-w64-mingw32/sys-root/mingw/include/sane/saneopts.h * mingw32-sane-backends.noarch: E: incorrect-fsf-address /usr/share/doc/mingw32-sane-backends-1.0.23/COPYING * mingw32-sane-backends-static.noarch: W: summary-ended-with-dot C Static version of the Scanner Access Now Easy (SANE) universal scanner interface. * mingw32-sane-backends-static.noarch: E: summary-too-long C Static version of the Scanner Access Now Easy (SANE) universal scanner interface. * mingw32-sane-backends-static.noarch: E: description-line-too-long C Static version of the Scanner Access Now Easy (SANE) universal scanner interface. * mingw32-sane-backends-static.noarch: W: no-documentation * mingw64-sane-backends.noarch: W: summary-ended-with-dot C Static version of the Scanner Access Now Easy (SANE) universal scanner interface. * mingw64-sane-backends.noarch: E: summary-too-long C Static version of the Scanner Access Now Easy (SANE) universal scanner interface. * mingw64-sane-backends.noarch: E: incorrect-fsf-address /usr/share/doc/mingw64-sane-backends-1.0.23/COPYING * mingw64-sane-backends.noarch: E: incorrect-fsf-address /usr/x86_64-w64-mingw32/sys-root/mingw/include/sane/saneopts.h * mingw64-sane-backends-static.noarch: W: summary-ended-with-dot C Static version of the Scanner Access Now Easy (SANE) universal scanner interface. * mingw64-sane-backends-static.noarch: E: summary-too-long C Static version of the Scanner Access Now Easy (SANE) universal scanner interface. * mingw64-sane-backends-static.noarch: E: description-line-too-long C Static version of the Scanner Access Now Easy (SANE) universal scanner interface. * mingw64-sane-backends-static.noarch: W: no-documentation [1] https://fedoraproject.org/wiki/Packaging:LicensingGuidelines?rd=Packaging/LicensingGuidelines#Multiple_Licensing_Scenarios [2] http://fedoraproject.org/wiki/Packaging:Guidelines#BuildRoot_tag (In reply to Sandro Mani from comment #1) > - ftp://ftp.sane-project.org seems down (temporary?), so Source0 does not > work. Yes, and I included a comment for the new URL, which links to a multi-part tarball that requires some manual work to combine to the final source tarball. It is unfortunate that upstream has decided to use this method, but I am not upstream. > Should fix: > - BuildRoot is not required anymore since F10 [2] > - %defattr is not needed anymore My spec does not have these. I'm not sure what you are looking at. New spec: http://michael.cronenworth.com/RPMS/mingw-sane-backends.spec New SRPM: http://michael.cronenworth.com/RPMS/mingw-sane-backends-1.0.23-2.fc18.src.rpm All ok, approved! One small remark concerning exe files, just for info: FPC approved revised guidelines stating that exes not needed for proper functionality of the libraries should either be discarded from the package, or put in a subpackage, see https://lists.fedoraproject.org/pipermail/mingw/2013-May/006865.html (apparently the updated guidelines are not yet on the wiki?). But I'll leave for you to decide if you want to change anything. (BuildRoot and defattr: I was looking at $ wget http://michael.cronenworth.com/RPMS/mingw-sane-backends-1.0.23-1.fc18.src.rpm $ rpm2cpio mingw-sane-backends-1.0.23-1.fc18.src.rpm | cpio -id $ grep BuildRoot mingw-sane-backends.spec BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) $ grep defattr mingw-sane-backends.spec %defattr(-,root,root) %defattr(-,root,root,-) %defattr(-,root,root) %defattr(-,root,root,-) ) Thanks. Must have been an old spec. The tools are used to test the library, and as such I believe they are valid to be included. New Package SCM Request ======================= Package Name: mingw-sane-backends Short Description: MinGW package for SANE Owners: mooninite Branches: f18 f19 InitialCC: Git done (by process-git-requests). mingw-sane-backends-1.0.23-1.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/mingw-sane-backends-1.0.23-1.fc19 mingw-sane-backends-1.0.23-1.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/mingw-sane-backends-1.0.23-1.fc18 mingw-sane-backends-1.0.23-1.fc18 has been pushed to the Fedora 18 testing repository. mingw-sane-backends-1.0.23-1.fc19 has been pushed to the Fedora 19 stable repository. mingw-sane-backends-1.0.23-1.fc18 has been pushed to the Fedora 18 stable repository. |