https://bugzilla.redhat.com/show_bug.cgi?id=1016258
Bug ID: 1016258 Summary: Review Request: mingw-log4c - an application message logging library Product: Fedora Version: rawhide Component: Package Review Severity: medium Priority: medium Assignee: nobody@fedoraproject.org Reporter: valtri@civ.zcu.cz QA Contact: extras-qa@fedoraproject.org CC: notting@redhat.com, package-review@lists.fedoraproject.org
Spec URL: http://scientific.zcu.cz/fedora/mingw-log4c-1.2.4-1/mingw-log4c.spec SRPM URL: http://scientific.zcu.cz/fedora/mingw-log4c-1.2.4-1/mingw-log4c-1.2.4-1.fc21... Description: Log4c is a C language library for flexible logging to files, syslog and other destinations. It is modeled after the Log for Java library (log4j), staying as close to their API as is reasonable. Fedora Account System Username: valtri Koji build: http://koji.fedoraproject.org/koji/taskinfo?taskID=6033040
Rpmlint output: mingw-log4c.src: W: spelling-error %description -l en_US syslog -> slog mingw32-log4c-debuginfo.noarch: E: debuginfo-without-sources mingw32-log4c.noarch: W: spelling-error %description -l en_US syslog -> slog mingw64-log4c-debuginfo.noarch: E: debuginfo-without-sources mingw64-log4c.noarch: W: spelling-error %description -l en_US syslog -> slog 5 packages and 0 specfiles checked; 2 errors, 3 warnings.
https://bugzilla.redhat.com/show_bug.cgi?id=1016258
František Dvořák valtri@civ.zcu.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fedora-mingw@lists.fedorapr | |oject.org Depends On| |467260 | |(mingw32-filesystem), | |454410 (mingw32-gcc), | |454408 (mingw32-binutils), | |489353 (mingw32-expat) Alias| |mingw-log4c
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=454408 [Bug 454408] Review Request: mingw32-binutils - MinGW Windows binutils https://bugzilla.redhat.com/show_bug.cgi?id=454410 [Bug 454410] Review Request: mingw32-gcc - MinGW Windows cross-compiler (GCC) for C and C++ https://bugzilla.redhat.com/show_bug.cgi?id=467260 [Bug 467260] Review Request: mingw32-filesystem - MinGW base filesystem and environment https://bugzilla.redhat.com/show_bug.cgi?id=489353 [Bug 489353] Review Request: mingw32-expat - MinGW port of expat XML parser library
https://bugzilla.redhat.com/show_bug.cgi?id=1016258
Scott Talbert swt@techie.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |swt@techie.net Assignee|nobody@fedoraproject.org |swt@techie.net Flags| |fedora-review?
https://bugzilla.redhat.com/show_bug.cgi?id=1016258
--- Comment #1 from Scott Talbert swt@techie.net --- Overall looks very good. Only one possible issue, see below.
Package Review ==============
Legend: [x] = Pass, [!] = Fail, [-] = Not applicable, [?] = Not evaluated [ ] = Manual review needed
Issues: ======= [ ]: Possible license field issue. Two of the files (domnode-expat.c and stack.c) are MIT licensed, so I think MIT should be included in the license field as well. Additionally, for the GPL code, I think it should be listed as LGPLv2 (vice LGPLv2+) - I did not see the "or later version" listed somewhere, unless I missed it.
===== 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. [!]: License field in the package spec file matches the actual license. Note: Checking patched sources after %prep for licenses. Licenses found: "MIT/X11 (BSD like)", "LGPL (v2.1 or later)", "GPL (v2 or later)", "Unknown or generated". 93 files have unknown license. Detailed output of licensecheck in /home/talbert/fedora-review/1016258-mingw- log4c/licensecheck.txt [x]: License file installed when any subpackage combination is installed. [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 (N/A for MinGW) [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. [-]: Large documentation must go in a -doc subpackage. Large could be size (~1MB) or number of files. Note: Documentation size is 143360 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 must own all directories that it creates. [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]: Each %files section contains %defattr if rpm < 4.4 [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]: Sources used to build the package match the upstream source, as provided in the spec URL. [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]: 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). [-]: Fully versioned dependency in subpackages if applicable. Note: No Requires: %{name}%{?_isa} = %{version}-%{release} in mingw32-log4c , mingw64-log4c [?]: Package functions as described. [x]: Latest version is packaged. [x]: Package does not include license text files separate from upstream. [x]: The placement of pkgconfig(.pc) files are correct. Note: mingw32-log4c : /usr/i686-w64-mingw32/sys- root/mingw/lib/pkgconfig/log4c.pc mingw64-log4c : /usr/x86_64-w64-mingw32 /sys-root/mingw/lib/pkgconfig/log4c.pc [-]: 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]: Packager, Vendor, PreReq, Copyright tags should not be in spec file [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 tarball generation or download is documented. [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]: Large data in /usr/share should live in a noarch subpackage if package is arched. [x]: Spec file according to URL is the same as in SRPM.
Rpmlint ------- Checking: mingw32-log4c-1.2.4-1.fc21.noarch.rpm mingw64-log4c-1.2.4-1.fc21.noarch.rpm mingw-log4c-1.2.4-1.fc21.src.rpm mingw32-log4c.noarch: W: spelling-error %description -l en_US syslog -> slog mingw64-log4c.noarch: W: spelling-error %description -l en_US syslog -> slog mingw-log4c.src: W: spelling-error %description -l en_US syslog -> slog 3 packages and 0 specfiles checked; 0 errors, 3 warnings.
Rpmlint (installed packages) ---------------------------- # rpmlint mingw32-log4c mingw64-log4c mingw32-log4c.noarch: W: spelling-error %description -l en_US syslog -> slog mingw64-log4c.noarch: W: spelling-error %description -l en_US syslog -> slog 2 packages and 0 specfiles checked; 0 errors, 2 warnings. # echo 'rpmlint-done:'
Requires -------- mingw32-log4c (rpmlib, GLIBC filtered): mingw32(kernel32.dll) mingw32(libexpat-1.dll) mingw32(libgcc_s_sjlj-1.dll) mingw32(msvcrt.dll) mingw32(user32.dll) mingw32-crt mingw32-filesystem mingw32-pkg-config
mingw64-log4c (rpmlib, GLIBC filtered): mingw64(kernel32.dll) mingw64(libexpat-1.dll) mingw64(msvcrt.dll) mingw64(user32.dll) mingw64-crt mingw64-filesystem mingw64-pkg-config
Provides -------- mingw32-log4c: mingw32(liblog4c-3.dll) mingw32-log4c
mingw64-log4c: mingw64(liblog4c-3.dll) mingw64-log4c
Source checksums ---------------- http://downloads.sourceforge.net/log4c/log4c-1.2.4.tar.gz : CHECKSUM(SHA256) this package : 5991020192f52cc40fa852fbf6bbf5bd5db5d5d00aa9905c67f6f0eadeed48ea CHECKSUM(SHA256) upstream package : 5991020192f52cc40fa852fbf6bbf5bd5db5d5d00aa9905c67f6f0eadeed48ea
Generated by fedora-review 0.5.0 (920221d) last change: 2013-08-30 Command line :/usr/bin/fedora-review -b 1016258 Buildroot used: fedora-rawhide-x86_64 Active plugins: Generic, Shell-api Disabled plugins: Java, C/C++, Python, SugarActivity, Perl, R, PHP, Ruby Disabled flags: EPEL5, EXARCH, DISTTAG
https://bugzilla.redhat.com/show_bug.cgi?id=1016258
--- Comment #2 from František Dvořák valtri@civ.zcu.cz ---
Issues:
[ ]: Possible license field issue. Two of the files (domnode-expat.c and stack.c) are MIT licensed, so I think MIT should be included in the license field as well. Additionally, for the GPL code, I think it should be listed as LGPLv2 (vice LGPLv2+) - I did not see the "or later version" listed somewhere, unless I missed it.
Nice catch! The license is LGPLv2 of course (and the same is for the native log4c package).
Due to the MIT license files: it looks like domnode-expat.c is relicensed under the license of log4c (there is added text "see COPYING"), but stack.c doesn't have this text added. Maybe it's just forgotten? I'm currently upstream maintainer (although not the original author), so we can consider upstream noticed. ;-)
I guess the best will be just to use "LGPLv2 and MIT" here? (According to the current source files?)
New version:
Spec URL: http://scientific.zcu.cz/fedora/mingw-log4c-1.2.4-2/mingw-log4c.spec SRPM URL: http://scientific.zcu.cz/fedora/mingw-log4c-1.2.4-2/mingw-log4c-1.2.4-2.fc21...
https://bugzilla.redhat.com/show_bug.cgi?id=1016258
Scott Talbert swt@techie.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Flags|fedora-review? |fedora-review+
--- Comment #3 from Scott Talbert swt@techie.net --- (In reply to František Dvořák from comment #2)
I guess the best will be just to use "LGPLv2 and MIT" here? (According to the current source files?)
New version:
Spec URL: http://scientific.zcu.cz/fedora/mingw-log4c-1.2.4-2/mingw-log4c.spec SRPM URL: http://scientific.zcu.cz/fedora/mingw-log4c-1.2.4-2/mingw-log4c-1.2.4-2.fc21. src.rpm
Looks good to me, approved.
https://bugzilla.redhat.com/show_bug.cgi?id=1016258
František Dvořák valtri@civ.zcu.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- Flags| |fedora-cvs?
--- Comment #4 from František Dvořák valtri@civ.zcu.cz --- New Package SCM Request ======================= Package Name: mingw-log4c Short Description: Application message logging library Owners: valtri Branches: f18 f19 f20 InitialCC:
https://bugzilla.redhat.com/show_bug.cgi?id=1016258
Jon Ciesla limburgher@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flags|fedora-cvs? |fedora-cvs+
https://bugzilla.redhat.com/show_bug.cgi?id=1016258
--- Comment #5 from Jon Ciesla limburgher@gmail.com --- Git done (by process-git-requests).
https://bugzilla.redhat.com/show_bug.cgi?id=1016258
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |MODIFIED
https://bugzilla.redhat.com/show_bug.cgi?id=1016258
--- Comment #6 from Fedora Update System updates@fedoraproject.org --- mingw-log4c-1.2.4-2.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/mingw-log4c-1.2.4-2.fc20
https://bugzilla.redhat.com/show_bug.cgi?id=1016258
--- Comment #7 from Fedora Update System updates@fedoraproject.org --- mingw-log4c-1.2.4-2.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/mingw-log4c-1.2.4-2.fc19
https://bugzilla.redhat.com/show_bug.cgi?id=1016258
--- Comment #8 from Fedora Update System updates@fedoraproject.org --- mingw-log4c-1.2.4-2.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/mingw-log4c-1.2.4-2.fc18
https://bugzilla.redhat.com/show_bug.cgi?id=1016258
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|MODIFIED |ON_QA
--- Comment #9 from Fedora Update System updates@fedoraproject.org --- mingw-log4c-1.2.4-2.fc20 has been pushed to the Fedora 20 testing repository.
https://bugzilla.redhat.com/show_bug.cgi?id=1016258
--- Comment #10 from Fedora Update System updates@fedoraproject.org --- mingw-log4c-1.2.4-2.fc18 has been pushed to the Fedora 18 stable repository.
https://bugzilla.redhat.com/show_bug.cgi?id=1016258
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ON_QA |CLOSED Fixed In Version| |mingw-log4c-1.2.4-2.fc20 Resolution|--- |ERRATA Last Closed| |2013-11-16 02:10:37
--- Comment #11 from Fedora Update System updates@fedoraproject.org --- mingw-log4c-1.2.4-2.fc20 has been pushed to the Fedora 20 stable repository.
https://bugzilla.redhat.com/show_bug.cgi?id=1016258
--- Comment #12 from Fedora Update System updates@fedoraproject.org --- mingw-log4c-1.2.4-2.fc19 has been pushed to the Fedora 19 stable repository.
https://bugzilla.redhat.com/show_bug.cgi?id=1016258
Igor Gnatenko ignatenko@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Alias|mingw-log4c |
package-review@lists.fedoraproject.org