[Bug 891941] Review Request: istatd - Daemon serving statistics to your iStat iPhone application

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Product: Fedora
https://bugzilla.redhat.com/show_bug.cgi?id=891941

Tomasz Torcz <zdzichu@xxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED

--- Comment #2 from Tomasz Torcz <zdzichu@xxxxxx> ---
===== 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 (see attachments).
[ ]: 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.
[!]: Files in /run, var/run and /var/lock uses tmpfiles.d when appropriate
[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.
[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: istatd-0.5.8-2.fc17.x86_64.rpm
istatd.x86_64: W: spelling-error Summary(en_US) iStat -> i Stat, stat, is tat
istatd.x86_64: W: spelling-error %description -l en_US iStat -> i Stat, stat,
is tat
istatd.x86_64: W: only-non-binary-in-usr-lib
istatd.x86_64: W: manual-page-warning /usr/share/man/man1/istatd.1.gz 48:
warning: macro `list-type-stack0' not defined
istatd.x86_64: W: non-standard-uid /var/run/istat istat
istatd.x86_64: W: non-standard-gid /var/run/istat istat
istatd.x86_64: E: non-standard-dir-perm /var/run/istat 0750L
istatd.x86_64: W: non-standard-uid /var/cache/istat istat
istatd.x86_64: W: non-standard-gid /var/cache/istat istat
istatd.x86_64: E: non-standard-dir-perm /var/cache/istat 0750L
1 packages and 0 specfiles checked; 2 errors, 8 warnings.




Rpmlint (installed packages)
----------------------------
# rpmlint istatd
istatd.x86_64: W: spelling-error Summary(en_US) iStat -> i Stat, stat, is tat
istatd.x86_64: W: spelling-error %description -l en_US iStat -> i Stat, stat,
is tat
istatd.x86_64: W: only-non-binary-in-usr-lib
istatd.x86_64: W: manual-page-warning /usr/share/man/man1/istatd.1.gz 48:
warning: macro `list-type-stack0' not defined
istatd.x86_64: W: non-standard-uid /var/run/istat istat
istatd.x86_64: W: non-standard-gid /var/run/istat istat
istatd.x86_64: E: non-standard-dir-perm /var/run/istat 0750L
istatd.x86_64: W: non-standard-uid /var/cache/istat istat
istatd.x86_64: W: non-standard-gid /var/cache/istat istat
istatd.x86_64: E: non-standard-dir-perm /var/cache/istat 0750L
1 packages and 0 specfiles checked; 2 errors, 8 warnings.
# echo 'rpmlint-done:'


Ok, so this package looks fairly good. rpmlint output is not important.
Nevertheless, some work is still needed:

1) /var/run is a symlink to /run.  Please change %{_var}/run into /run

2) consider %ghost for /run/istat, as /run is on tmpfs and directories there
disappear after reboot

3) because of tmpfs, you have to provide config file and snippet for /run/istat
creation: https://fedoraproject.org/wiki/Packaging:Tmpfiles.d

4) I see you've created package for F17. You already have 3 versions to build
package for (F18, F19 and F20/rawhide) and F17 will go away quite soon. Maybe
we won't be able to get this package into F17 before it EOLs. So I suggest you
should target F18 - convert systemctl invocation into snippets:
https://fedoraproject.org/wiki/Packaging:ScriptletSnippets#Systemd

Please ask upstream:
- to provide LICENSE file
- to package your unit and tmpfiles.d files; man 7 daemon on Fedora will show
you autoconf scriptlets to use

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=0Ha5Jyb36w&a=cc_unsubscribe
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review





[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]