Bug 1049550

Summary: Review Request: mingw-LibRaw - MinGW Windows LibRaw library
Product: [Fedora] Fedora Reporter: Sandro Mani <manisandro>
Component: Package ReviewAssignee: František Dvořák <valtri>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: fedora-mingw, package-review, valtri
Target Milestone: ---Flags: valtri: fedora-review+
gwync: fedora-cvs+
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: mingw-LibRaw-0.15.4-4.fc19 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-24 07:38:58 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:
Bug Depends On:    
Bug Blocks: 1049546    
Attachments:
Description Flags
license breakdown none

Description Sandro Mani 2014-01-07 18:05:08 UTC
Spec URL: http://smani.fedorapeople.org/review/mingw-LibRaw.spec
SRPM URL: http://smani.fedorapeople.org/review/mingw-LibRaw-0.15.4-1.fc21.src.rpm
Description: MinGW Windows LibRaw library
Fedora Account System Username: smani

Comment 1 Sandro Mani 2014-01-08 09:39:12 UTC
Created attachment 847035 [details]
license breakdown

Spec URL: http://smani.fedorapeople.org/review/mingw-LibRaw.spec
SRPM URL: http://smani.fedorapeople.org/review/mingw-LibRaw-0.15.4-2.fc21.src.rpm

%changelog
* Wed Jan 08 2014 Sandro Mani <manisandro> - 0.15.4-2
- Fix license


See attachment for full license breakdown.

Comment 2 František Dvořák 2014-01-13 01:21:27 UTC
My observations:

1) using obsolete m4 macros in upstream (https://fedorahosted.org/FedoraReview/wiki/AutoTools)

AC_PROG_LIBTOOL found in: LibRaw-0.15.4/configure.ac:10

It could be worth to let upstream know about it, and/or patch it locally. But it is just extra check and it is not required to fix that.


2) deleting of the .la files would be better written: 

find %{buildroot} -name '*.la' -delete

But that's only cosmetic and not needed.


3) incorrect FSF address in LGPL license file

No action is required for the package. It would be good to let upstream know about it.


4) executable bit in permissions of LICENSE.CDDL, LICENSE.LGPL


5) the file sizes and content mismatch

LibRaw-demosaic-pack-GPL3-0.15.4.tar.gz and LibRaw-demosaic-pack-GPL2-0.15.4.tar.gz are OK (archive differs, but content is the same). LibRaw-0.15.4.tar.gz has different event content.

I guess we can't do anything about it and it is not needed. Just keeping the sources the same as in native LibRaw package (as they already are)?


6) Btw. the "MinGW" means "Minimalist GNU Windows". The text "MinGW Windows %{pkgname} library" has de facto two "Windows" words. Maybe replace the "Windows" by "Win32"/"Win64"? Or there is used text "MinGW compiled example library for the Win32 target" in guidelines example...


I think only "4)" is necessary to fix. The remaining issues are for considering. :-)

Comment 3 Sandro Mani 2014-01-13 16:42:50 UTC
Spec URL: http://smani.fedorapeople.org/review/mingw-LibRaw.spec
SRPM URL: http://smani.fedorapeople.org/review/mingw-LibRaw-0.15.4-3.fc21.src.rpm

* Mon Jan 13 2014 Sandro Mani <manisandro> - 0.15.4-3
- Add patch to replace obsolete configure.ac macros
- Remove executable permissions from LICENSE files


About 6): Yes, true. I guess I adopted it since many other packages adopted that description too. Thing is now basically all my mingw packages use that description line... But if one day I feel particularly motivated, I'll fix them ;)

Comment 4 František Dvořák 2014-01-13 19:01:46 UTC
(In reply to Sandro Mani from comment #3)
> Spec URL: http://smani.fedorapeople.org/review/mingw-LibRaw.spec
> SRPM URL:
> http://smani.fedorapeople.org/review/mingw-LibRaw-0.15.4-3.fc21.src.rpm
> 
> * Mon Jan 13 2014 Sandro Mani <manisandro> - 0.15.4-3
> - Add patch to replace obsolete configure.ac macros
> - Remove executable permissions from LICENSE files
> 

Oops, they still have executable permissions. The problematic ones are the licenses in the main LibRaw tarball (LICENSE.CDDL and LICENSE.LGPL).

> 
> About 6): Yes, true. I guess I adopted it since many other packages adopted
> that description too. Thing is now basically all my mingw packages use that
> description line... But if one day I feel particularly motivated, I'll fix
> them ;)

Absolutely, not needed to change it and have it different from all other packages. :-)

Comment 5 Sandro Mani 2014-01-14 09:30:57 UTC
Oh whoops... 

Spec URL: http://smani.fedorapeople.org/review/mingw-LibRaw.spec
SRPM URL: http://smani.fedorapeople.org/review/mingw-LibRaw-0.15.4-4.fc21.src.rpm

* Tue Jan 14 2014 Sandro Mani <manisandro> - 0.15.4-4
- Actually remove executable permissions from the problematic LICENSE files

Comment 6 František Dvořák 2014-01-14 10:58:21 UTC
Package Review
==============

Legend:
[x] = Pass, [!] = Fail, [-] = Not applicable, [?] = Not evaluated


===== MUST items =====

Generic:
[x]: Package is licensed with an open-source compatible license and meets
     other legal requirements as defined in the legal section of Packaging
     Guidelines.
[x]: License field in the package spec file matches the actual license.
     Note: Checking patched sources after %prep for licenses. Licenses found:
     "BSD (3 clause)", "GPL (v2 or later)", "GPL (v3 or later)", "Unknown or
     generated". 44 files have unknown license.
[x]: License file installed when any subpackage combination is installed.
[x]: If the package is under multiple licenses, the licensing breakdown must
     be documented in the spec.
[x]: Package must own all directories that it creates.
[x]: Package contains no bundled libraries without FPC exception.
[x]: Changelog in prescribed format.
[x]: Sources contain only permissible code or content.
[-]: Package contains desktop file if it is a GUI application.
[-]: Development files must be in a -devel package
[x]: Package uses nothing in %doc for runtime.
[x]: Package consistently uses macros (instead of hard-coded directory names).
[x]: Package is named according to the Package Naming Guidelines.
[x]: Package does not generate any conflict.
[x]: Package obeys FHS, except libexecdir and /usr/target.
[-]: If the package is a rename of another package, proper Obsoletes and
     Provides are present.
[x]: Requires correct, justified where necessary.
[x]: Spec file is legible and written in American English.
[-]: Package contains systemd file(s) if in need.
[x]: Package is not known to require an ExcludeArch tag.
[x]: Large documentation must go in a -doc subpackage. Large could be size
     (~1MB) or number of files.
     Note: Documentation size is 327680 bytes in 12 files.
[x]: Package complies to the Packaging Guidelines
[x]: Package successfully compiles and builds into binary rpms on at least one
     supported primary architecture.
[x]: Package installs properly.
[x]: Rpmlint is run on all rpms the build produces.
     Note: There are rpmlint messages (see attachment).
[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.
[x]: Package requires other packages for directories it uses.
[x]: Package does not own files or directories owned by other packages.
[x]: All build dependencies are listed in BuildRequires, except for any that
     are listed in the exceptions section of Packaging Guidelines.
[x]: Package uses either %{buildroot} or $RPM_BUILD_ROOT
[x]: Package does not run rm -rf %{buildroot} (or $RPM_BUILD_ROOT) at the
     beginning of %install.
[x]: Macros in Summary, %description expandable at SRPM build time.
[x]: Package does not contain duplicates in %files.
[x]: Permissions on files are set properly.
[x]: Package use %makeinstall only when make install' ' DESTDIR=... doesn't
     work.
[x]: Package is named using only allowed ASCII characters.
[x]: Package do not use a name that already exist
[x]: Package is not relocatable.
[x]: Spec file name must match the spec package %{name}, in the format
     %{name}.spec.
[x]: File names are valid UTF-8.
[x]: Packages must not store files under /srv, /opt or /usr/local

===== SHOULD items =====

Generic:
[x]: Packager, Vendor, PreReq, Copyright tags should not be in spec file
[x]: Uses parallel make %{?_smp_mflags} macro.
[-]: 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]: Final provides and requires are sane (see attachments).
[x]: Fully versioned dependency in subpackages if applicable.
[?]: Package functions as described.
[x]: Latest version is packaged.
[x]: Package does not include license text files separate from upstream.
[x]: Patches link to upstream bugs/comments/lists or are otherwise justified.
[x]: The placement of pkgconfig(.pc) files are correct.
[x]: Description and summary sections in the package spec file contains
     translations for supported Non-English languages, if available.
[x]: Package should compile and build into binary rpms on all supported
     architectures.
[-]: %check is present and all tests pass.
[x]: Packages should try to preserve timestamps of original installed files.
[x]: Sources can be downloaded from URI in Source: tag
[x]: Reviewer should test that the package builds in mock.
[x]: Buildroot is not present
[x]: Package has no %clean section with rm -rf %{buildroot} (or
     $RPM_BUILD_ROOT)
[x]: Dist tag is present (not strictly required in GL).
[x]: No file requires outside of /etc, /bin, /sbin, /usr/bin, /usr/sbin.
[x]: SourceX is a working URL.
[x]: Spec use %global instead of %define unless justified.

===== EXTRA items =====

Generic:
[x]: Rpmlint is run on all installed packages.
     Note: There are rpmlint messages (see attachment).
[x]: Package should not use obsolete m4 macros
[x]: Spec file according to URL is the same as in SRPM.


Rpmlint
-------
Checking: mingw32-LibRaw-0.15.4-4.fc21.noarch.rpm
          mingw32-LibRaw-static-0.15.4-4.fc21.noarch.rpm
          mingw32-LibRaw-tools-0.15.4-4.fc21.noarch.rpm
          mingw64-LibRaw-0.15.4-4.fc21.noarch.rpm
          mingw64-LibRaw-static-0.15.4-4.fc21.noarch.rpm
          mingw64-LibRaw-tools-0.15.4-4.fc21.noarch.rpm
          mingw-LibRaw-0.15.4-4.fc21.src.rpm
mingw32-LibRaw.noarch: E: incorrect-fsf-address /usr/share/doc/mingw32-LibRaw/LICENSE.LGPL
mingw32-LibRaw-static.noarch: W: no-documentation
mingw32-LibRaw-tools.noarch: W: no-documentation
mingw64-LibRaw.noarch: E: incorrect-fsf-address /usr/share/doc/mingw64-LibRaw/LICENSE.LGPL
mingw64-LibRaw-static.noarch: W: no-documentation
mingw64-LibRaw-tools.noarch: W: no-documentation
mingw-LibRaw.src: W: file-size-mismatch LibRaw-demosaic-pack-GPL3-0.15.4.tar.gz = 38196, http://www.libraw.org/data/LibRaw-demosaic-pack-GPL3-0.15.4.tar.gz = 38186
mingw-LibRaw.src: W: file-size-mismatch LibRaw-demosaic-pack-GPL2-0.15.4.tar.gz = 31271, http://www.libraw.org/data/LibRaw-demosaic-pack-GPL2-0.15.4.tar.gz = 31118
mingw-LibRaw.src: W: file-size-mismatch LibRaw-0.15.4.tar.gz = 1427757, http://www.libraw.org/data/LibRaw-0.15.4.tar.gz = 1439235
7 packages and 0 specfiles checked; 2 errors, 7 warnings.




Rpmlint (installed packages)
----------------------------
# rpmlint mingw32-LibRaw-tools mingw64-LibRaw-tools mingw32-LibRaw mingw64-LibRaw-static mingw64-LibRaw mingw32-LibRaw-static
mingw32-LibRaw-tools.noarch: W: no-documentation
mingw64-LibRaw-tools.noarch: W: no-documentation
mingw32-LibRaw.noarch: E: incorrect-fsf-address /usr/share/doc/mingw32-LibRaw/LICENSE.LGPL
mingw64-LibRaw-static.noarch: W: no-documentation
mingw64-LibRaw.noarch: E: incorrect-fsf-address /usr/share/doc/mingw64-LibRaw/LICENSE.LGPL
mingw32-LibRaw-static.noarch: W: no-documentation
6 packages and 0 specfiles checked; 2 errors, 4 warnings.
# echo 'rpmlint-done:'



Requires
--------
mingw32-LibRaw-tools (rpmlib, GLIBC filtered):
    mingw32(kernel32.dll)
    mingw32(libgcc_s_sjlj-1.dll)
    mingw32(libraw-9.dll)
    mingw32(libraw_r-9.dll)
    mingw32(libstdc++-6.dll)
    mingw32(libwinpthread-1.dll)
    mingw32(msvcrt.dll)
    mingw32(wsock32.dll)
    mingw32-LibRaw
    mingw32-crt
    mingw32-filesystem

mingw64-LibRaw-tools (rpmlib, GLIBC filtered):
    mingw64(kernel32.dll)
    mingw64(libgcc_s_seh-1.dll)
    mingw64(libraw-9.dll)
    mingw64(libraw_r-9.dll)
    mingw64(libstdc++-6.dll)
    mingw64(libwinpthread-1.dll)
    mingw64(msvcrt.dll)
    mingw64(wsock32.dll)
    mingw64-LibRaw
    mingw64-crt
    mingw64-filesystem

mingw32-LibRaw (rpmlib, GLIBC filtered):
    mingw32(kernel32.dll)
    mingw32(libgcc_s_sjlj-1.dll)
    mingw32(libjasper-1.dll)
    mingw32(libjpeg-62.dll)
    mingw32(liblcms2-2.dll)
    mingw32(libstdc++-6.dll)
    mingw32(msvcrt.dll)
    mingw32(wsock32.dll)
    mingw32-crt
    mingw32-filesystem
    mingw32-pkg-config

mingw64-LibRaw-static (rpmlib, GLIBC filtered):
    mingw64-LibRaw

mingw64-LibRaw (rpmlib, GLIBC filtered):
    mingw64(kernel32.dll)
    mingw64(libgcc_s_seh-1.dll)
    mingw64(libjasper-1.dll)
    mingw64(libjpeg-62.dll)
    mingw64(liblcms2-2.dll)
    mingw64(libstdc++-6.dll)
    mingw64(msvcrt.dll)
    mingw64(wsock32.dll)
    mingw64-crt
    mingw64-filesystem
    mingw64-pkg-config

mingw32-LibRaw-static (rpmlib, GLIBC filtered):
    mingw32-LibRaw



Provides
--------
mingw32-LibRaw-tools:
    mingw32-LibRaw-tools

mingw64-LibRaw-tools:
    mingw64-LibRaw-tools

mingw32-LibRaw:
    mingw32(libraw-9.dll)
    mingw32(libraw_r-9.dll)
    mingw32-LibRaw

mingw64-LibRaw-static:
    mingw64-LibRaw-static

mingw64-LibRaw:
    mingw64(libraw-9.dll)
    mingw64(libraw_r-9.dll)
    mingw64-LibRaw

mingw32-LibRaw-static:
    mingw32-LibRaw-static



Source checksums
----------------
http://www.libraw.org/data/LibRaw-demosaic-pack-GPL3-0.15.4.tar.gz :
  CHECKSUM(SHA256) this package     : 1868c252ae0fc67d5a06862d93119f818a9208eef93f0e7832f6112ac6ef208a
  CHECKSUM(SHA256) upstream package : be2440dabb7df46aa22de10b96d5e3cc7b2eb006ae491e7598611f11aba4dfe0
http://www.libraw.org/data/LibRaw-0.15.4.tar.gz :
  CHECKSUM(SHA256) this package     : b3fcfee33bc34ae5869a9741880e28a62f029f196cb1d1a007ab156f4a110f79
  CHECKSUM(SHA256) upstream package : 8d3a164674acfe6ff7164ab60397242c6e3144912fda7fa792c250c280e70746
http://www.libraw.org/data/LibRaw-demosaic-pack-GPL2-0.15.4.tar.gz :
  CHECKSUM(SHA256) this package     : 4c4dc9328edab4af6af7a76ea24c91c81b8181ec347016ea4697fb67c34678ba
  CHECKSUM(SHA256) upstream package : 5413e1e3283f356142b8a88492ace3c80e5c6837074c04109186f58e81837609
diff -r also reports differences


Generated by fedora-review 0.5.1 (bb9bf27) last change: 2013-12-13
Command line :/usr/bin/fedora-review -b 1049550 -m fedora-rawhide-x86_64
Buildroot used: fedora-rawhide-x86_64
Active plugins: Generic, Shell-api
Disabled plugins: Java, C/C++, Python, fonts, SugarActivity, Ocaml, Perl, Haskell, R, PHP, Ruby
Disabled flags: EXARCH, EPEL5, BATCH, DISTTAG

====

Package APPROVED!

Comment 7 Sandro Mani 2014-01-14 11:00:37 UTC
Thanks!

New Package SCM Request
=======================
Package Name: mingw-LibRaw
Short Description: MinGW Windows LibRaw library
Owners: smani
Branches: f19 f20
InitialCC:

Comment 8 Gwyn Ciesla 2014-01-14 13:14:15 UTC
Git done (by process-git-requests).

Comment 9 Fedora Update System 2014-01-14 22:55:58 UTC
mingw-LibRaw-0.15.4-4.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/mingw-LibRaw-0.15.4-4.fc20

Comment 10 Fedora Update System 2014-01-14 23:49:11 UTC
mingw-LibRaw-0.15.4-4.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/mingw-LibRaw-0.15.4-4.fc19

Comment 11 Fedora Update System 2014-01-16 06:57:34 UTC
mingw-LibRaw-0.15.4-4.fc19 has been pushed to the Fedora 19 testing repository.

Comment 12 Fedora Update System 2014-01-24 07:38:58 UTC
mingw-LibRaw-0.15.4-4.fc20 has been pushed to the Fedora 20 stable repository.

Comment 13 Fedora Update System 2014-01-24 07:48:47 UTC
mingw-LibRaw-0.15.4-4.fc19 has been pushed to the Fedora 19 stable repository.