[Bug 642601] Review Request: rubygem-uuid - Ruby UUID generator based on RFC 4122
bugzilla at redhat.com
bugzilla at redhat.com
Tue Oct 26 17:36:23 UTC 2010
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=642601
--- Comment #3 from Jozef Zigmund <jzigmund at redhat.com> 2010-10-26 13:36:22 EDT ---
(In reply to comment #2)
> This review it's just NONFORMAL because i'm not in Fedora Packager Group right
> now.
>
> MUST: rpmlint must be run on every package. The output should be posted in the
> review.
>
> rpmlint rubygem-uuid-2.3.1-1.fc13.src.rpm
> rubygem-uuid.src: W: no-buildroot-tag
> rubygem-uuid.src: W: patch-not-applied Patch0:
> %{name}-require-rubygems-fix.patch
> 1 packages and 0 specfiles checked; 0 errors, 2 warnings.
>
> [OK]
>
> MUST: The License field in the package spec file must match the actual license.
>
> License: GPLv2+ or Ruby
>
> [BAD - gem contains MIT-License]
>
> Each Ruby package MUST indicate the Ruby ABI version it depends on with a line
> like:
> Requires: ruby(abi) = 1.8
>
> [OK - this MUST condition is written via macro in this spec file]
>
> Packages that contain Ruby Gems MUST be called rubygem-%{gemname} where gemname
> is the name from the Gem's specification.
>
> %global gemname uuid
> Name: rubygem-%{gemname}
>
> [OK]
>
> The Source of the package MUST be the full URL to the released Gem archive
>
> URL: http://github.com/assaf/uuid
> Source0: http://gems.rubyforge.org/gems/%{gemname}-%{version}.gem
>
> [OK]
>
> The version of the package MUST be the Gem's version
>
> Version: 2.3.1
>
> [OK]
>
> The package MUST have a Requires and a BuildRequires on rubygems
>
> %global rubyabi 1.8
>
> Requires: ruby(abi) = %{rubyabi}
> Requires: rubygems
> Requires: rubygem(macaddr)
> BuildRequires: rubygems
> BuildRequires: rubygem(macaddr)
> BuildRequires: rubygem(rake)
>
> [OK]
>
> The Gem MUST be installed into %{gemdir} defined as:
> %global gemdir %(ruby -rubygems -e 'puts Gem::dir' 2>/dev/null)
>
> [OK]
>
> If the Gem only contains pure Ruby code, it MUST be marked as BuildArch: noarch
>
> BuildArch: noarch
>
> [OK]
>
> The package MUST own the following files and directories:
>
> %{gemdir}/gems/%{gemname}-%{version}/
> %{gemdir}/cache/%{gemname}-%{version}.gem
> %{gemdir}/specifications/%{gemname}-%{version}.gemspec
>
> [OK]
>
> The install SHOULD be performed with the command
>
> gem install --local --install-dir %{buildroot}%{gemdir} --force %{SOURCE0}
>
> [OK]
Please check this review also someone else (the best, who is sponsor)
--
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