[Bug 583949] Review Request: rubygem-xml-simple - A simple API for XML processing

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

 



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=583949

Markus Mayer <LotharLutz@xxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |LotharLutz@xxxxxx

--- Comment #1 from Markus Mayer <LotharLutz@xxxxxx> 2010-04-21 07:53:54 EDT ---
This is an informal review:

Good things:
MUST: The package must be named according to the  Package Naming Guidelines.
MUST: The spec file name must match the base package %{name}, in the format
%{name}.spec unless your package has an exemption.
MUST: The spec file must be written in American English.
MUST: The package MUST successfully compile and build into binary rpms on at
least one primary architecture. (Tested on i386)
MUST: If the package does not successfully compile, build or work on an
architecture, then those architectures should be listed in the spec in
ExcludeArch.
MUST: The spec file MUST handle locales properly. This is done by using the
%find_lang macro. Using %{_datadir}/locale/* is strictly forbidden.
MUST: Every binary RPM package (or subpackage) which stores shared library
files (not just symlinks) in any of the dynamic linker's default paths, must
call ldconfig in %post and %postun.
MUST: Packages must NOT bundle copies of system libraries.
MUST: If the package is designed to be relocatable, the packager must state
this fact in the request for review, along with the rationalization for
relocation of that specific package. Without this, use of Prefix: /usr is
considered a blocker.
MUST: A package must own all directories that it creates. If it does not create
a directory that it uses, then it should require a package which does create
that directory.
MUST: A Fedora package must not list a file more than once in the spec file's
%files listings.
MUST: Permissions on files must be set properly. Executables should be set with
executable permissions, for example. Every %files section must include a
%defattr(...) line.
MUST: Each package must consistently use macros.
MUST: The package must contain code, or permissable content.
MUST: If a package includes something as %doc, it must not affect the runtime
of the application.
MUST: Header files must be in a -devel package
MUST: Static libraries must be in a -static package.
MUST: If a package contains library files with a suffix (e.g. libfoo.so.1.1),
then library files that end in .so (without suffix) must go in a -devel
package.
MUST: In the vast majority of cases, devel packages must require the base
package using a fully versioned dependency: Requires: %{name} =
%{version}-%{release}
MUST: Packages must NOT contain any .la libtool archives, these must be removed
in the spec if they are built.
MUST: Packages containing GUI applications must include a %{name}.desktop file
MUST: Packages must not own files or directories already owned by other
packages.
MUST: All filenames in rpm packages must be valid UTF-8.
MUST: The package must be licensed with a Fedora approved license and meet the 
Licensing Guidelines.
MUST: The package must meet the Packaging Guidelines.
MUST: The License field in the package spec file must match the actual license.
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 must be included in %doc.
MUST: The spec file for the package MUST be legible.
SHOULD: The reviewer should test that the package builds in mock. (Tested on
i386)


Bad things (need fixing):
MUST: The sources used to build the package must match the upstream source, as
provided in the spec URL.
->The files are the same, but they have different timestaps. (use wget -N to
keep timestamps)

MUST: All build dependencies must be listed in BuildRequires, except for any
that are listed in the exceptions section of the Packaging Guidelines
->According to https://fedoraproject.org/wiki/Packaging:Ruby, Ruby packages
must require ruby at build time with a BuildRequires: ruby.

MUST: Large documentation files must go in a -doc subpackage.
->Think about creating a -doc subpackage. But it is not necessary

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.


rpmlint output:
rubygem-xml-simple.noarch: E: script-without-shebang
/usr/lib/ruby/gems/1.8/gems/xml-simple-1.0.12/lib/xmlsimple.rb
->xmlsimple.rb should not be set with executable permissions.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
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]