[Bug 844439] Review Request: openshift-origin-msg-node-mcollective - M-Collective amqp agent file for openshift-origin

bugzilla at redhat.com bugzilla at redhat.com
Wed Aug 1 20:27:01 UTC 2012


https://bugzilla.redhat.com/show_bug.cgi?id=844439

--- Comment #9 from Michael Scherer <misc at zarb.org> ---
So expect last comment, the package is good. Once openshift-origin-node will be
in, this one will be good.


Package Review
==============

Key:
- = N/A
x = Pass
! = Fail
? = Not evaluated



==== Generic ====
[x]: EXTRA Rpmlint is run on all installed packages.
     Note: There are rpmlint messages (see attachment).
[!]: EXTRA Spec file according to URL is the same as in SRPM.
     Note: Spec file as given by url is not the same as in SRPM (see attached
     diff).
[x]: MUST Package is licensed with an open-source compatible license and meets
     other legal requirements as defined in the legal section of Packaging
     Guidelines.
[x]: MUST Package successfully compiles and builds into binary rpms on at
     least one supported primary architecture.
[-]: MUST %build honors applicable compiler flags or justifies otherwise.
[x]: MUST All build dependencies are listed in BuildRequires, except for any
     that are listed in the exceptions section of Packaging Guidelines.
[x]: MUST Buildroot is not present
     Note: Buildroot is not needed unless packager plans to package for EPEL5
[x]: MUST Package contains no bundled libraries.
[x]: MUST Changelog in prescribed format.
[x]: MUST Package has no %clean section with rm -rf %{buildroot} (or
     $RPM_BUILD_ROOT)
     Note: Clean is needed only if supporting EPEL
[x]: MUST Sources contain only permissible code or content.
[x]: MUST %config files are marked noreplace or the reason is justified.
[x]: MUST Each %files section contains %defattr if rpm < 4.4
     Note: Note: defattr macros not found. They would be needed for EPEL5
[x]: MUST Macros in Summary, %description expandable at SRPM build time.
[-]: MUST Package contains desktop file if it is a GUI application.
[-]: MUST Development files must be in a -devel package
[x]: MUST Package requires other packages for directories it uses.
[x]: MUST Package uses nothing in %doc for runtime.
[x]: MUST Package is not known to require ExcludeArch.
[x]: MUST Permissions on files are set properly.
[x]: MUST Package does not contain duplicates in %files.
[x]: MUST Package complies to the Packaging Guidelines
[x]: MUST Spec file lacks Packager, Vendor, PreReq tags.
[x]: MUST Package does not run rm -rf %{buildroot} (or $RPM_BUILD_ROOT) at the
     beginning of %install.
     Note: rm -rf is only needed if supporting EPEL5
[-]: MUST Large documentation files are in a -doc subpackage, if required.
[x]: MUST 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]: MUST License field in the package spec file matches the actual license.
     Note: Checking patched sources after %prep for licenses. No licenses
     found. Please check the source files for licenses manually.
[x]: MUST Package consistently uses macro is (instead of hard-coded directory
     names).
[x]: MUST Package is named using only allowed ascii characters.
[x]: MUST Package is named according to the Package Naming Guidelines.
[x]: MUST No %config files under /usr.
[x]: MUST Package does not generate any conflict.
     Note: Package contains no Conflicts: tag(s)
[x]: MUST Package obeys FHS, except libexecdir and /usr/target.
[-]: MUST If the package is a rename of another package, proper Obsoletes and
     Provides are present.
[x]: MUST Package must own all directories that it creates.
[x]: MUST Package does not own files or directories owned by other packages.
[!]: MUST Package installs properly.
     Note: Installation errors (see attachment)
[x]: MUST Package is not relocatable.
[x]: MUST Requires correct, justified where necessary.
[x]: MUST Rpmlint is run on all rpms the build produces.
     Note: No rpmlint messages.
[x]: MUST Sources used to build the package match the upstream source, as
     provided in the spec URL.
[x]: MUST Spec file is legible and written in American English.
[x]: MUST Spec file name must match the spec package %{name}, in the format
     %{name}.spec.
[-]: MUST Package contains systemd file(s) if in need.
[x]: MUST File names are valid UTF-8.
[x]: SHOULD Reviewer should test that the package builds in mock.
[-]: SHOULD 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]: SHOULD Dist tag is present.
[x]: SHOULD No file requires outside of /etc, /bin, /sbin, /usr/bin,
     /usr/sbin.
[x]: SHOULD Final provides and requires are sane (rpm -q --provides and rpm -q
     --requires).
[-]: SHOULD Package functions as described.
[x]: SHOULD Latest version is packaged.
[x]: SHOULD Package does not include license text files separate from
     upstream.
[x]: SHOULD SourceX tarball generation or download is documented.
[x]: SHOULD SourceX / PatchY prefixed with %{name}.
[x]: SHOULD SourceX is a working URL.
[x]: SHOULD Description and summary sections in the package spec file contains
     translations for supported Non-English languages, if available.
[x]: SHOULD Package should compile and build into binary rpms on all supported
     architectures.
[-]: SHOULD %check is present and all tests pass.
[x]: SHOULD Packages should try to preserve timestamps of original installed
     files.
[x]: SHOULD Spec use %global instead of %define.

Issues:
[!]: MUST Package installs properly.
     Note: Installation errors (see attachment)
See: https://fedoraproject.org/wiki/Packaging:Guidelines

Installation errors
-------------------
INFO: mock.py version 1.1.23 starting...
Start: init plugins
INFO: selinux enabled
Finish: init plugins
Start: run
Mock Version: 1.1.23
INFO: Mock Version: 1.1.23
Start: lock buildroot
INFO: installing package(s):
/home/misc/checkout/git/FedoraReview/844439-openshift-origin-msg-node-mcollective/results/openshift-origin-msg-node-mcollective-0.1.1-3.fc17.noarch.rpm
ERROR: Command failed: 
 # ['/usr/bin/yum', '--installroot', '/var/lib/mock/fedora-17-x86_64/root/',
'install',
'/home/misc/checkout/git/FedoraReview/844439-openshift-origin-msg-node-mcollective/results/openshift-origin-msg-node-mcollective-0.1.1-3.fc17.noarch.rpm',
'--setopt=tsflags=nocontexts']
Erreur : Paquet : openshift-origin-msg-node-mcollective-0.1.1-3.fc17.noarch
(/openshift-origin-msg-node-mcollective-0.1.1-3.fc17.noarch)
             Requiert : rubygem(openshift-origin-node)
 Vous pouvez essayer d'utiliser --skip-broken pour contourner le problème
 Vous pouvez essayer d'exécuter : rpm -Va --nofiles --nodigest

Rpmlint
-------
Checking: openshift-origin-msg-node-mcollective-0.1.1-3.fc17.src.rpm
          openshift-origin-msg-node-mcollective-0.1.1-3.fc17.noarch.rpm
2 packages and 0 specfiles checked; 0 errors, 0 warnings.


Rpmlint (installed packages)
----------------------------
Cannot parse rpmlint output:
Diff spec file in url and in SRPM
---------------------------------
---
/home/misc/checkout/git/FedoraReview/844439-openshift-origin-msg-node-mcollective/srpm/openshift-origin-msg-node-mcollective.spec
   2012-08-01 22:03:51.519259567 +0200
+++
/home/misc/checkout/git/FedoraReview/844439-openshift-origin-msg-node-mcollective/srpm-unpacked/openshift-origin-msg-node-mcollective.spec
   2012-08-01 22:03:52.430265185 +0200
@@ -7,5 +7,5 @@
 Name:           openshift-origin-msg-node-mcollective
 Version:        0.1.1
-Release:        4%{?dist}
+Release:        3%{?dist}
 Group:          Development/Languages
 License:        ASL 2.0
@@ -48,5 +48,5 @@
 rm -rf %{buildroot}
 mkdir -p %{buildroot}%{_libexecdir}/mcollective/mcollective/agent
-mkdir -p %{buildroot}%{_sysconfdir}/cron.d/
+mkdir -p %{buildroot}%{_sysconfdir}/cron.minutely

 %if 0%{?rhel} <= 6 && 0%{?fedora} <= 16
@@ -63,17 +63,11 @@
 install -Dp -m0644 src/stickshift.rb
%{buildroot}%{_libexecdir}/mcollective/mcollective/agent/
 install -Dp -m0644 src/stickshift.ddl
%{buildroot}%{_libexecdir}/mcollective/mcollective/agent/
+install -Dp -m0755 facts/stickshift-facts
%{buildroot}%{_sysconfdir}/cron.minutely/
 install -Dp -m0755 facts/update_yaml.rb
%{buildroot}%{_libexecdir}/mcollective/

-cat > %{buildroot}%{_sysconfdir}/cron.d/openshift-origin-facts << EOF
-# This is run to balance openshift apps between nodes
-* * * * * root /usr/libexec/mcollective/update_yaml.rb >
/etc/mcollective/facts.yaml
-EOF
-
 %files
 %doc COPYRIGHT LICENSE
 %{_libexecdir}/mcollective/mcollective/agent/stickshift.rb
 %{_libexecdir}/mcollective/mcollective/agent/stickshift.ddl
-%{_libexecdir}/mcollective/update_yaml.rb
-%config(noreplace) %{_sysconfdir}/cron.d/openshift-origin-facts

 %if 0%{?rhel} <= 6 && 0%{?fedora} <= 16
@@ -85,9 +79,8 @@
 %endif

+%{_libexecdir}/mcollective/update_yaml.rb
+%{_sysconfdir}/cron.minutely/stickshift-facts

 %changelog
-* Tue Jul 31 2012 Troy Dawson <tdawson at redhat.com> 0.1.1-4
-- Moved cron job to cron.d
-
 * Tue Jul 31 2012 Troy Dawson <tdawson at redhat.com> 0.1.1-3
 - Fixed various spec file problems
Requires
--------
openshift-origin-msg-node-mcollective-0.1.1-3.fc17.noarch.rpm (rpmlib, GLIBC
filtered):

    /bin/bash  
    /bin/env  
    facter  
    mcollective  
    openssh  
    ruby(abi) = 1.9.1
    rubygem(json)  
    rubygem(open4)  
    rubygem(openshift-origin-node)  
    rubygems  

Provides
--------
openshift-origin-msg-node-mcollective-0.1.1-3.fc17.noarch.rpm:

    openshift-origin-msg-node-mcollective = 0.1.1-3.fc17

MD5-sum check
-------------
http://mirror.openshift.com/pub/openshift-origin/source/openshift-origin-msg-node-mcollective/openshift-origin-msg-node-mcollective-0.1.1.tar.gz
:
  MD5SUM this package     : 7f4292a7ac09b957a44499a26ab3df21
  MD5SUM upstream package : 7f4292a7ac09b957a44499a26ab3df21


Generated by fedora-review 0.2.0 (a5c4ced) last change: 2012-07-22
Command line :./try-fedora-review -b 844439
External plugins:

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the package-review mailing list