Bug 443374
Summary: | Review Request: openhpi-subagent - SNMP subagent for OpenHPI | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Dan Horák <dan> |
Component: | Package Review | Assignee: | Richard W.M. Jones <rjones> |
Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | fedora-package-review, notting |
Target Milestone: | --- | Flags: | rjones:
fedora-review+
tcallawa: fedora-cvs+ |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2008-04-28 08:53:43 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Dan Horák
2008-04-21 08:56:19 UTC
scratch build = http://koji.fedoraproject.org/koji/taskinfo?taskID=577471 - rpmlint output openhpi-subagent.i386: E: executable-marked-as-config-file /etc/rc.d/init.d/openhpi-subagent openhpi-subagent.i386: W: conffile-without-noreplace-flag /etc/rc.d/init.d/openhpi-subagent openhpi-subagent.i386: W: service-default-enabled /etc/rc.d/init.d/openhpi-subagent openhpi-subagent.i386: W: service-default-enabled /etc/rc.d/init.d/openhpi-subagent Apparently init scripts shouldn't be marked as %config, so just remove that annotation. If the init script is intended to be edited, then you should create a config file under /etc/sysconfig and have the init file source that config file. The service should be disabled by default. http://fedoraproject.org/wiki/Packaging/SysVInitScript#head-c074b6a78b42c4c797d978750719ebcf262b4e61 + package name satisfies the packaging naming guidelines + specfile name matches the package base name + package should satisfy packaging guidelines + license meets guidelines and is acceptable to Fedora + license matches the actual package license + %doc includes license file + spec file written in American English + spec file is legible + upstream sources match sources in the srpm + package successfully builds on at least one architecture i386 n/a ExcludeArch bugs filed + BuildRequires list all build dependencies n/a %find_lang instead of %{_datadir}/locale/* n/a binary RPM with shared library files must call ldconfig in %post and %postun + does not use Prefix: /usr + package owns all directories it creates + no duplicate files in %files + %defattr line + %clean contains rm -rf $RPM_BUILD_ROOT + consistent use of macros + package must contain code or permissible content n/a large documentation files should go in -doc subpackage + files marked %doc should not affect package n/a header files should be in -devel n/a static libraries should be in -static n/a packages containing pkgconfig (.pc) files need 'Requires: pkgconfig' n/a libfoo.so must go in -devel n/a -devel must require the fully versioned base n/a packages should not contain libtool .la files n/a packages containing GUI apps must include %{name}.desktop file + packages must not own files or directories owned by other packages + %install must start with rm -rf %{buildroot} etc. + filenames must be valid UTF-8 Optional: n/a if there is no license file, packager should query upstream n/a translations of description and summary for non-English languages, if available - reviewer should build the package in mock (but koji build, so no need) + the package should build into binary RPMs on all supported architectures - review should test the package functions as described + scriptlets should be sane but see above n/a pkgconfig files should go in -devel n/a shouldn't have file dependencies outside /etc /bin /sbin /usr/bin or /usr/sbin ---------- The only issues are those problems found by rpmlint. Spec URL: http://fedora.danny.cz/openhpi-subagent.spec SRPM URL: http://fedora.danny.cz/openhpi-subagent-2.3.4-2.fc9.src.rpm %changelog * Fri Apr 25 2008 Dan Horak <dan[at]danny.cz> - 2.3.4-2 - initscript is not a config file - added missing R(postun) - update the initd script Yes, that looks fine. APPROVED. New Package CVS Request ======================= Package Name: openhpi-subagent Short Description: SNMP subagent for OpenHPI Owners: sharkcz Branches: F-9 InitialCC: Cvsextras Commits: yes cvs done imported and built in devel |