Spec URL: http://thm.fedorapeople.org/lua-lgi/lua-lgi.spec SRPM URL: http://thm.fedorapeople.org/lua-lgi/lua-lgi-0.6.2-1.fc17.src.rpm Description: LGI is gobject-introspection based dynamic Lua binding to GObject based libraries. It allows using GObject-based libraries directly from Lua. Fedora Account System Username: thm
Spec URL: http://thm.fedorapeople.org/lua-lgi/lua-lgi.spec SRPM URL: http://thm.fedorapeople.org/lua-lgi/lua-lgi-0.6.2-2.fc17.src.rpm Added gtk3 as BR, required by the test suite.
I can do the review since we'll need this for new Awesome WM version. Silly me first started working on the spec and then checked if there's already a review so here's my (unfinished) version: http://sochotni.fedorapeople.org/packages/lua-lgi.spec We can merge our efforts I guess :-) Main differences: * I prefer to split samples into separate subpackage (they are rather large - 280KB) * Generate html documentation from markdown files * For some reason I don't need to patch tests Maybe you could take some ideas from my spec and modify yours?
Many thanks for your comments! I updated my spec file. Patching the tests makefile is probably only necessary on a 64-bit system. Spec URL: http://thm.fedorapeople.org/lua-lgi/lua-lgi.spec SRPM URL: http://thm.fedorapeople.org/lua-lgi/lua-lgi-0.6.2-3.fc17.src.rpm - Move samples to separate package. - Generate HTML documentation from markdown docs.
Package Review ============== Key: [x] = Pass [!] = Fail [-] = Not applicable [?] = Not evaluated [ ] = Manual review needed Notes: - use %{?isa} macro in subpackage requires - would be nice to try and upstream the patch - license of samples is MIT and LGPLv2+ (due to gtk-demo) - fsf address is also incorrect in demo ===== MUST items ===== C/C++: [x]: Package does not contain kernel modules. [x]: Package contains no static executables. [x]: Development (unversioned) .so files in -devel subpackage, if present. Note: Unversioned so-files in private %_libdir subdirectory [x]: Package does not contain any libtool archives (.la) [x]: Rpath absent or only used for internal libs. 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]: %build honors applicable compiler flags or justifies otherwise. [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 requires other packages for directories it uses. [x]: Package uses nothing in %doc for runtime. [-]: Package is not known to require ExcludeArch. [!]: Fully versioned dependency in subpackages, if present. Note: No Requires: %{name}%{?_isa} = %{version}-%{release} in lua-lgi- samples [x]: Package complies to the Packaging Guidelines [!]: License field in the package spec file matches the actual license. samples/gtk-demo is LGPLv2+ [x]: License file installed when any subpackage combination is installed. [x]: Package consistently uses macroes (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]: Package must own all directories that it creates. [x]: Package does not own files or directories owned by other packages. [x]: Requires correct, justified where necessary. [x]: Spec file is legible and written in American English. [-]: Package contains systemd file(s) if in need. [?]: Useful -debuginfo package or justification otherwise. [x]: Large documentation must go in a -doc subpackage. [x]: All build dependencies are listed in BuildRequires, except for any that are listed in the exceptions section of Packaging Guidelines. [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]: Spec file lacks Packager, Vendor, PreReq tags. [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 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 [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). ===== SHOULD items ===== Generic: [x]: 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). [?]: Package functions as described. [x]: Latest version is packaged. [x]: Package does not include license text files separate from upstream. [!]: Patches link to upstream bugs/comments/lists or are otherwise justified. Don't know why but I don't need the patch even on x86_64 [-]: Description and summary sections in the package spec file contains translations for supported Non-English languages, if available. [?]: Package should compile and build into binary rpms on all supported architectures. [x]: %check is present and all tests pass. [x]: Packages should try to preserve timestamps of original installed files. [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. [x]: No file requires outside of /etc, /bin, /sbin, /usr/bin, /usr/sbin. [x]: Uses parallel make. [x]: SourceX tarball generation or download is documented. [x]: SourceX is a working URL. [x]: Spec use %global instead of %define. ===== EXTRA items ===== Generic: [x]: Large data in /usr/share should live in a noarch subpackage if package is arched. [x]: Rpmlint is run on all installed packages. Note: There are rpmlint messages (see attachment). [x]: Spec file according to URL is the same as in SRPM. Rpmlint ------- Checking: lua-lgi-0.6.2-3.fc19.x86_64.rpm lua-lgi-samples-0.6.2-3.fc19.x86_64.rpm lua-lgi.x86_64: W: spelling-error %description -l en_US gobject -> object, g object lua-lgi-samples.x86_64: E: incorrect-fsf-address /usr/share/doc/lua-lgi-samples-0.6.2/gtk-demo/main.lua 2 packages and 0 specfiles checked; 1 errors, 1 warnings. Rpmlint (installed packages) ---------------------------- # rpmlint lua-lgi-samples lua-lgi lua-lgi-samples.x86_64: E: incorrect-fsf-address /usr/share/doc/lua-lgi-samples-0.6.2/gtk-demo/main.lua lua-lgi.x86_64: W: spelling-error %description -l en_US gobject -> object, g object 2 packages and 0 specfiles checked; 1 errors, 1 warnings. # echo 'rpmlint-done:' Requires -------- lua-lgi-samples (rpmlib, GLIBC filtered): lua-lgi lua-lgi (rpmlib, GLIBC filtered): libc.so.6()(64bit) libffi.so.5()(64bit) libgirepository-1.0.so.1()(64bit) libglib-2.0.so.0()(64bit) libgmodule-2.0.so.0()(64bit) libgobject-2.0.so.0()(64bit) libpthread.so.0()(64bit) lua rtld(GNU_HASH) Provides -------- lua-lgi-samples: lua-lgi-samples lua-lgi-samples(x86-64) lua-lgi: corelgilua51.so()(64bit) lua-lgi lua-lgi(x86-64) Unversioned so-files -------------------- lua-lgi: /usr/lib64/lua/5.1/lgi/corelgilua51.so MD5-sum check ------------- https://github.com/pavouk/lgi/archive/0.6.2.tar.gz : CHECKSUM(SHA256) this package : d613d187bb4b1aa1e713ce0528395e12f17ce8950b7375ad451e9fab993daa90 CHECKSUM(SHA256) upstream package : d613d187bb4b1aa1e713ce0528395e12f17ce8950b7375ad451e9fab993daa90 Generated by fedora-review 0.3.1 (903b443) last change: 2012-12-20 Buildroot used: fedora-raw-x86_64 Command line :/home/w0rm/work/projects/fedora-review/try-fedora-review -b 889901
Spec URL: http://thm.fedorapeople.org/lua-lgi/lua-lgi.spec SRPM URL: http://thm.fedorapeople.org/lua-lgi/lua-lgi-0.6.2-4.fc17.src.rpm %changelog * Mon Jan 7 2013 Thomas Moschny <..> - 0.6.2-4 - Remove unnecessary patch. - Update license tag: gtk-demo is licensed under LGPLv2+. - Put fully versioned dependency in subpackage.
Everything is fine, except the licensing (yeah, should have been clear so my bad): Main package: License: MIT %samples # gtk-demo is LGPLv2+ License: LGPLv2+ and MIT I trust you to fix this up before putting this in repos so: APPROVED
Thanks for the review! New Package SCM Request ======================= Package Name: lua-lgi Short Description: Lua bindings to GObject libraries Owners: thm Branches: f16 f17 f18 InitialCC:
Git done (by process-git-requests).
lua-lgi-0.6.2-5.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/lua-lgi-0.6.2-5.fc17
lua-lgi-0.6.2-5.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/lua-lgi-0.6.2-5.fc18
lua-lgi-0.6.2-5.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/lua-lgi-0.6.2-5.fc16
lua-lgi-0.6.2-5.fc18 has been pushed to the Fedora 18 testing repository.
lua-lgi-0.6.2-5.fc16 has been pushed to the Fedora 16 stable repository.
lua-lgi-0.6.2-5.fc17 has been pushed to the Fedora 17 stable repository.
lua-lgi-0.6.2-5.fc18 has been pushed to the Fedora 18 stable repository.