Hi, lz4 is a new extremely fast compression algorithm developed by Yann Collet -> https://code.google.com/p/lz4/ SPEC: http://pjp.fedorapeople.org/lz4.spec SORC: http://pjp.fedorapeople.org/lz4-r106.tar.gz SRPM: http://pjp.fedorapeople.org/lz4-r106-1.fc19.src.rpm Koji build: http://koji.fedoraproject.org/koji/taskinfo?taskID=6022278 Could someone review it please?
Package Review ============== Legend: [x] = Pass, [!] = Fail, [-] = Not applicable, [?] = Not evaluated ===== MUST items ===== C/C++: [x]: Package does not contain kernel modules. [x]: Package contains no static executables. [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]: License field in the package spec file matches the actual license. Note: Checking patched sources after %prep for licenses. Licenses found: "BSD (2 clause)", "GPL (v2 or later)". Detailed output of licensecheck in /home/prkumar/1015263-lz4/licensecheck.txt [x]: %build honors applicable compiler flags or justifies otherwise. [-]: 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. [ ]: 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]: Useful -debuginfo package or justification otherwise. [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 30720 bytes in 2 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: [-]: 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. [x]: Package functions as described. [x]: Latest version is packaged. [x]: Package does not include license text files separate from upstream. [-]: 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]: Fully versioned dependency in subpackages if applicable. [x]: Uses parallel make %{?_smp_mflags} macro. [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. [!]: Provided buildroot will automatically be cleaned before commands in %install are called (remove 'rm -rf $RPM_BUILD_ROOT' from install section) https://fedoraproject.org/wiki/Packaging:Guidelines?rd=Packaging/Guidelines#BuildRoot_tag Rpmlint ------- Checking: lz4-r106-1.fc19.x86_64.rpm lz4-r106-1.fc19.src.rpm lz4.x86_64: W: spelling-error %description -l en_US scalable -> salable, callable, calculable lz4.x86_64: W: spelling-error %description -l en_US multi -> mulch, mufti lz4.src: W: spelling-error %description -l en_US scalable -> salable, callable, calculable lz4.src: W: spelling-error %description -l en_US multi -> mulch, mufti 2 packages and 0 specfiles checked; 0 errors, 4 warnings. Rpmlint (installed packages) ---------------------------- # rpmlint lz4 lz4.x86_64: W: spelling-error %description -l en_US scalable -> salable, callable, calculable lz4.x86_64: W: spelling-error %description -l en_US multi -> mulch, mufti 1 packages and 0 specfiles checked; 0 errors, 2 warnings. # echo 'rpmlint-done:' Requires -------- lz4 (rpmlib, GLIBC filtered): libc.so.6()(64bit) rtld(GNU_HASH) Provides -------- lz4: lz4 lz4(x86-64) Source checksums ---------------- https://dl.dropboxusercontent.com/u/59565338/LZ4/lz4-r106.tar.gz : CHECKSUM(SHA256) this package : 8f4061e39b84eda7c14c6ddcec2fa69c073ddf6ca32e5f848b03b94cbecad4be CHECKSUM(SHA256) upstream package : 8f4061e39b84eda7c14c6ddcec2fa69c073ddf6ca32e5f848b03b94cbecad4be
Hello Praveen, Thanks so much for an elaborate review. Please see: SPEC: http://pjp.fedorapeople.org/lz4.spec SORC: http://pjp.fedorapeople.org/lz4-r106.tar.gz SRPM: http://pjp.fedorapeople.org/lz4-r106-2.fc19.src.rpm Koji: http://koji.fedoraproject.org/koji/taskinfo?taskID=6027819 Thank you. :)
Looks good. ==================APPROVED=================
New Package SCM Request ======================= Package Name: lz4 Short Description: Extremely fast compression algorithm Owners: pjp kumarpraveen.nitdgp Branches: f18 f19 f20 el5 el6 InitialCC:
Notes: %make_install PREFIX=$RPM_BUILD_ROOT/usr/ INSTALL="install -p" Should use: %make_install PREFIX=$RPM_BUILD_ROOT%{_prefix} INSTALL="install -p" And you should tell upstream about the bad PREFIX option.
Git done (by process-git-requests). kumarpraveen.nitdgp not a valid FAS account, add later in pkgdb.
(In reply to Christopher Meng from comment #5) > %make_install PREFIX=$RPM_BUILD_ROOT%{_prefix} INSTALL="install -p" Done. > And you should tell upstream about the bad PREFIX option. bad..?
lz4-r106-3.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/lz4-r106-3.fc19
lz4-r106-3.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/lz4-r106-3.fc18
lz4-r106-3.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/lz4-r106-3.fc20
lz4-r106-3.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/lz4-r106-3.el6
lz4-r106-4.el5 has been submitted as an update for Fedora EPEL 5. https://admin.fedoraproject.org/updates/lz4-r106-4.el5
lz4-r106-3.el6 has been pushed to the Fedora EPEL 6 testing repository.
lz4-r106-3.fc18 has been pushed to the Fedora 18 stable repository.
lz4-r106-3.fc19 has been pushed to the Fedora 19 stable repository.
lz4-r107-1.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/lz4-r107-1.fc19
lz4-r107-1.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/lz4-r107-1.el6
lz4-r107-1.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/lz4-r107-1.fc18
lz4-r107-1.el5 has been submitted as an update for Fedora EPEL 5. https://admin.fedoraproject.org/updates/lz4-r107-1.el5
lz4-r107-1.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/lz4-r107-1.fc20
Package lz4-r107-1.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing lz4-r107-1.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-19858/lz4-r107-1.fc20 then log in and leave karma (feedback).
lz4-r106-3.fc20 has been pushed to the Fedora 20 stable repository.
lz4-r107-1.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.
lz4-r107-1.el5 has been pushed to the Fedora EPEL 5 stable repository. If problems still persist, please make note of it in this bug report.
lz4-r107-1.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.
lz4-r107-1.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.
lz4-r107-1.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.
Package Change Request ====================== Package Name: lz4 New Branches: epel7 Owners: pjp kumarpraveen.nitdgp
kumarpraveen.nitdgp is not in the packager group.
(In reply to Jon Ciesla from comment #29) > kumarpraveen.nitdgp is not in the packager group. Ah sorry, his FAS id is kumarpraveen.
Package Change Request ====================== Package Name: lz4 New Branches: el5 el6 epel7 Owners: pjp kumarpraveen
Already done.
(In reply to Jon Ciesla from comment #32) > Already done. There is no el7 branch -> http://pkgs.fedoraproject.org/cgit/lz4.git/
The branch is epel7.
(In reply to Jon Ciesla from comment #34) > The branch is epel7. Where is it? $ git checkout epel7 does not work.
(In reply to Jon Ciesla from comment #34) > The branch is epel7. [prkumar@dhcp201-104 lz4]$ git branch -a * master remotes/origin/HEAD -> origin/master remotes/origin/el5 remotes/origin/el6 remotes/origin/f18 remotes/origin/f19 remotes/origin/f20 remotes/origin/master There is no remote branch assign for epel7 as pjp pointed out.
Ok, epel7 should exist now after a git pull.