Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=226132
Jon Ciesla limburgher@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |limburgher@gmail.com AssignedTo|nobody@fedoraproject.org |limburgher@gmail.com Flag| |fedora-review?
--- Comment #1 from Jon Ciesla limburgher@gmail.com 2012-04-05 14:24:13 EDT --- Good:
- rpmlint checks return:
mcelog.spec:28: W: rpm-buildroot-usage %build rm -rf $RPM_BUILD_ROOT $RPM_BUILD_ROOT should not be touched during %build or %prep stage, as it may break short circuit builds.
mcelog.spec:29: W: rpm-buildroot-usage %build mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir} $RPM_BUILD_ROOT should not be touched during %build or %prep stage, as it may break short circuit builds.
mcelog.spec:30: W: rpm-buildroot-usage %build mkdir -p $RPM_BUILD_ROOT/%{_sbindir} $RPM_BUILD_ROOT should not be touched during %build or %prep stage, as it may break short circuit builds.
mcelog.spec:31: W: rpm-buildroot-usage %build mkdir -p $RPM_BUILD_ROOT/%{_mandir} $RPM_BUILD_ROOT should not be touched during %build or %prep stage, as it may break short circuit builds.
mcelog.spec:39: E: hardcoded-library-path in $RPM_BUILD_ROOT/lib/systemd/system A library path is hardcoded to one of the following paths: /lib, /usr/lib. It should be replaced by something like /%{_lib} or %{_libdir}.
mcelog.spec:50: E: hardcoded-library-path in $RPM_BUILD_ROOT/lib/systemd/system/mcelog.service A library path is hardcoded to one of the following paths: /lib, /usr/lib. It should be replaced by something like /%{_lib} or %{_libdir}.
mcelog.spec:82: E: hardcoded-library-path in /lib/systemd/system/mcelog.service A library path is hardcoded to one of the following paths: /lib, /usr/lib. It should be replaced by something like /%{_lib} or %{_libdir}.
Fix. For /lib/systemd/system, use %{_unitdir}.
mcelog.spec: W: invalid-url Source0: mcelog-6e4e2a00.tar.bz2 The value should be a valid, public HTTP, HTTPS, or FTP URL.
Fix if there's a URL for git checkouts.
mcelog.x86_64: W: summary-ended-with-dot C Tool to translate x86-64 CPU Machine Check Exception data. Summary ends with a dot.
Fix.
mcelog.x86_64: W: spelling-error %description -l en_US cron -> corn, con, crone The value of this tag appears to be misspelled. Please double-check.
Ignore.
Lots of wrong fsf address, file a bug upstream.
- package meets naming guidelines - package meets packaging guidelines - license ( GPLv2 ) OK, text in %doc, matches source - spec file legible, in am. english - source matches upstream N/A, git checkout - package compiles on devel (x86_64) - no missing BR - no unnecessary BR - no locales - not relocatable - owns all directories that it creates - no duplicate files - permissions ok - %clean ok - macro use consistent See above - code, not content - no need for -docs - nothing in %doc affects runtime - no need for .desktop file
You also need the following requires:
Requires(post): systemd-units Requires(preun): systemd-units Requires(postun): systemd-units
Other than the things from rpmlint and the requires, no major issues. Let me know if you'd like me to commit anything.