[Bug 786249] Review Request: rubygem-puppet-lint - Tool to verify the style of puppet manifests

bugzilla at redhat.com bugzilla at redhat.com
Mon Mar 26 22:46:46 UTC 2012


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

--- Comment #3 from Russell Harrison <fedora at russellharrison.com> 2012-03-26 18:46:45 EDT ---
Ruby Gidelines:
https://fedoraproject.org/wiki/Packaging/Ruby

[x]: Pure Ruby packages must be built as noarch packages.
[x]: Packages that contain Ruby Gems must be called rubygem-%{gemname} where
gemname is the name from the Gem's specification.
[x]: The Source of the package must be the full URL to the released Gem
archive; the version of the package must be the Gem's version
[x]: The package must have a Requires and a BuildRequires on rubygems
[x]: The package must provide rubygem(%{gemname}) where gemname is the name
from the Gem's specification. For every dependency on a Gem named gemdep, the
package must contain a Requires on rubygem(%{gemdep}) with the same version
constraints as the Gem
[!]: The %prep and %build sections of the specfile should be empty.

I am aware the guidelines are changing and this requirement will as well but
the current requirements specify this.

[x]: The Gem must be installed into %{gemdir} defined as %global gemdir %(ruby
-rubygems -e 'puts Gem::dir' 2>/dev/null)
[!]: The install should be performed with the command gem install --local
--install-dir %{buildroot}%{gemdir} --force %{SOURCE0}
[x]: The package must own the following files and directories: 
    %{gemdir}/gems/%{gemname}-%{version}/
    %{gemdir}/cache/%{gemname}-%{version}.gem
    %{gemdir}/specifications/%{gemname}-%{version}.gemspec
[-]: Architecture-specific content must not be installed into %{gemdir}
[x]: If the Gem only contains pure Ruby code, it must be marked as BuildArch:
noarch. If the Gem contains binary content (e.g., for a database driver), it
must be marked as architecture specific, and all architecture specific content
must be moved from the %{gemdir} to the [#ruby_sitearch %{ruby_sitearch}
directory] during %install

-- 
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.



More information about the package-review mailing list