Bug 1116029 - Review Request: rubygem-elasticsearch-api - Ruby elasticsearch api
Summary: Review Request: rubygem-elasticsearch-api - Ruby elasticsearch api
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Haïkel Guémar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1116030
TreeView+ depends on / blocked
 
Reported: 2014-07-03 14:08 UTC by Steve Traylen
Modified: 2023-09-14 02:11 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-05-31 09:21:52 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Steve Traylen 2014-07-03 14:08:26 UTC
Spec URL: http://cern.ch/straylen/rpms/rubygem-elasticsearch-api/rubygem-elasticsearch-api.spec
SRPM URL: http://cern.ch/straylen/rpms/rubygem-elasticsearch-api/rubygem-elasticsearch-api-1.0.4-1.fc20.src.rpm
Description:
ruby API for elasticsearch 

Fedora Account System Username: stevetraylen

Comment 1 Steve Traylen 2014-08-08 07:07:44 UTC
- Corrected timestamp on src file. 
- Use automatic rather than specify requires on >fc21

Spec URL: http://cern.ch/straylen/rpms/rubygem-elasticsearch-api/rubygem-elasticsearch-api.spec
SRPM URL: http://cern.ch/straylen/rpms/rubygem-elasticsearch-api/rubygem-elasticsearch-api-1.0.4-2.fc20.src.rpm

Comment 3 Haïkel Guémar 2015-04-10 16:48:02 UTC
* Fails to build due to missing files in %files

error: Installed (but unpackaged) file(s) found:
   /usr/share/gems/gems/elasticsearch-api-1.0.7/utils/Gemfile
   /usr/share/gems/gems/elasticsearch-api-1.0.7/utils/Thorfile
   /usr/share/gems/gems/elasticsearch-api-1.0.7/utils/thor/generate_api.rb
   /usr/share/gems/gems/elasticsearch-api-1.0.7/utils/thor/generate_source.rb
   /usr/share/gems/gems/elasticsearch-api-1.0.7/utils/thor/lister.rb
   /usr/share/gems/gems/elasticsearch-api-1.0.7/utils/thor/templates/ruby/method.erb
   /usr/share/gems/gems/elasticsearch-api-1.0.7/utils/thor/templates/ruby/test.erb
   /usr/share/gems/gems/elasticsearch-api-1.0.7/utils/thor/templates/ruby/test_helper.rb

* Drop the Group tag, it's not required anymore

* %if 0%{?fc19} || 0%{?fc20} || 0%{?el7} => %if 0%{?fedora} <= 20 || 0%{?el7}

When you're done needinfo me, as it is a dep for upcoming packages.

Comment 5 Troy Dawson 2015-09-22 20:27:15 UTC
Package Review
==============

Legend:
[x] = Pass, [!] = Fail, [-] = Not applicable, [?] = Not evaluated
[ ] = Manual review needed


Issues:
=======
- Not the latest version (1.0.13)
- License file LICENSE.txt is marked as %doc instead of %license
  See: http://fedoraproject.org/wiki/Packaging/LicensingGuidelines#License_Text
- There is no %check section
-- This would require packages that are not yet in fedora
--- rubygem-turn (not really needed.  Dependency can be removed with 
 sed -i '/require.*turn/ s/^/#/' test/test_helper.rb test/integration/yaml_test_runner.rb
--- rubygem-elasticsearch-extentions (#1116024)
-- Since this is a *should* I would pass this without the %check section, but I would highly encourage you to add the %check when the dependencies are in fedora.

===== MUST items =====

Generic:
[x]: Package is licensed with an open-source compatible license and meets
     other legal requirements as defined in the legal section of Packaging
     Guidelines.
[x]: License field in the package spec file matches the actual license.
[x]: License file installed when any subpackage combination is installed.
[x]: Package must own all directories that it creates.
[x]: Package contains no bundled libraries without FPC exception.
[x]: Changelog in prescribed format.
[x]: Sources contain only permissible code or content.
[-]: Package contains desktop file if it is a GUI application.
[-]: Development files must be in a -devel package
[x]: Package uses nothing in %doc for runtime.
[x]: Package consistently uses macros (instead of hard-coded directory
     names).
[x]: Package is named according to the Package Naming Guidelines.
[x]: Package does not generate any conflict.
[x]: Package obeys FHS, except libexecdir and /usr/target.
[-]: If the package is a rename of another package, proper Obsoletes and
     Provides are present.
[X]: Requires correct, justified where necessary.
[X]: Spec file is legible and written in American English.
[-]: Package contains systemd file(s) if in need.
[X]: Package is not known to require an ExcludeArch tag.
[x]: Package complies to the Packaging Guidelines
[x]: Package successfully compiles and builds into binary rpms on at least
     one supported primary architecture.
[x]: Package installs properly.
[x]: Rpmlint is run on all rpms the build produces.
     Note: No rpmlint messages.
[x]: Package requires other packages for directories it uses.
[x]: Package does not own files or directories owned by other packages.
[x]: All build dependencies are listed in BuildRequires, except for any
     that are listed in the exceptions section of Packaging Guidelines.
[x]: Package uses either %{buildroot} or $RPM_BUILD_ROOT
[x]: Package does not run rm -rf %{buildroot} (or $RPM_BUILD_ROOT) at the
     beginning of %install.
[x]: Macros in Summary, %description expandable at SRPM build time.
[x]: Dist tag is present.
[x]: Package does not contain duplicates in %files.
[x]: Permissions on files are set properly.
[x]: Package use %makeinstall only when make install DESTDIR=... doesn't
     work.
[x]: Package is named using only allowed ASCII characters.
[x]: Package does not use a name that already exists.
[x]: Package is not relocatable.
[x]: Sources used to build the package match the upstream source, as
     provided in the spec URL.
[x]: Spec file name must match the spec package %{name}, in the format
     %{name}.spec.
[x]: File names are valid UTF-8.
[x]: Large documentation must go in a -doc subpackage. Large could be size
     (~1MB) or number of files.
     Note: Documentation size is 0 bytes in 0 files.
[x]: Packages must not store files under /srv, /opt or /usr/local

Ruby:
[-]: Platform dependent files must all go under %{gem_extdir_mri}, platform
     independent under %{gem_dir}.
[x]: Gem package must not define a non-gem subpackage
[x]: Macro %{gem_extdir} is deprecated.
[x]: Gem package is named rubygem-%{gem_name}
[x]: Package contains BuildRequires: rubygems-devel.
[x]: Gem package must define %{gem_name} macro.
[x]: Pure Ruby package must be built as noarch
[x]: Package does not contain Requires: ruby(abi).

===== SHOULD items =====

Generic:
[x]: Avoid bundling fonts in non-fonts packages.
[-]: 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]: Final provides and requires are sane (see attachments).
[x]: Fully versioned dependency in subpackages if applicable.
[x]: Package functions as described.
[!]: Latest version is packaged.
[x]: Package does not include license text files separate from upstream.
[-]: Description and summary sections in the package spec file contains
     translations for supported Non-English languages, if available.
[x]: Package should compile and build into binary rpms on all supported
     architectures.
[!]: %check is present and all tests pass.
[x]: Packages should try to preserve timestamps of original installed
     files.
[x]: Packager, Vendor, PreReq, Copyright tags should not be in spec file
[x]: Sources can be downloaded from URI in Source: tag
[x]: Reviewer should test that the package builds in mock.
[x]: Buildroot is not present
[x]: Package has no %clean section with rm -rf %{buildroot} (or
     $RPM_BUILD_ROOT)
[x]: No file requires outside of /etc, /bin, /sbin, /usr/bin, /usr/sbin.
[x]: SourceX is a working URL.
[x]: Spec use %global instead of %define unless justified.

Ruby:
[!]: Test suite of the library should be run.
[x]: Gem package should exclude cached Gem.
[x]: Specfile should use macros from rubygem-devel package.

===== EXTRA items =====

Generic:
[x]: Rpmlint is run on all installed packages.
     Note: No rpmlint messages.
[x]: Spec file according to URL is the same as in SRPM.


Rpmlint
-------
Checking: rubygem-elasticsearch-api-1.0.11-1.fc22.noarch.rpm
          rubygem-elasticsearch-api-doc-1.0.11-1.fc22.noarch.rpm
          rubygem-elasticsearch-api-1.0.11-1.fc22.src.rpm
3 packages and 0 specfiles checked; 0 errors, 0 warnings.




Rpmlint (installed packages)
----------------------------
sh: /usr/bin/python: No such file or directory
2 packages and 0 specfiles checked; 0 errors, 0 warnings.



Requires
--------
rubygem-elasticsearch-api-doc (rpmlib, GLIBC filtered):
    rubygem-elasticsearch-api

rubygem-elasticsearch-api (rpmlib, GLIBC filtered):
    ruby(rubygems)
    rubygem(multi_json)



Provides
--------
rubygem-elasticsearch-api-doc:
    rubygem-elasticsearch-api-doc

rubygem-elasticsearch-api:
    rubygem(elasticsearch-api)
    rubygem-elasticsearch-api



Source checksums
----------------
https://rubygems.org/gems/elasticsearch-api-1.0.11.gem :
  CHECKSUM(SHA256) this package     : 98f1637686c2ee3f23ae485cd510ebf12a43e03caec400fa7d26b063085235f4
  CHECKSUM(SHA256) upstream package : 98f1637686c2ee3f23ae485cd510ebf12a43e03caec400fa7d26b063085235f4


Generated by fedora-review 0.6.0 (3c5c9d7) last change: 2015-05-20
Command line :/usr/bin/fedora-review -b 1116029
Buildroot used: fedora-rawhide-x86_64
Active plugins: Generic, Ruby, Shell-api
Disabled plugins: Java, C/C++, Python, fonts, SugarActivity, Ocaml, Perl, Haskell, R, PHP
Disabled flags: EXARCH, DISTTAG, EPEL5, BATCH, EPEL6

Comment 6 Troy Dawson 2015-09-22 20:29:47 UTC
If Haïkel Guémar doesn't respond I will take the review.  It's been over 3 months since you updated with his changes.

Comment 7 Upstream Release Monitoring 2015-09-24 15:05:33 UTC
jgrulich's scratch build of kdevelop?#c8e2b9bc57f11e41f3dc6612cdbcc591078d9062 for f22-candidate and git://pkgs.fedoraproject.org/kdevelop?#c8e2b9bc57f11e41f3dc6612cdbcc591078d9062 completed http://koji.fedoraproject.org/koji/taskinfo?taskID=11212117

Comment 8 Steve Traylen 2017-05-31 09:21:52 UTC
So old, can't remember by why I wanted it. Apologies for the lack of response.

Comment 9 Red Hat Bugzilla 2023-09-14 02:11:01 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days


Note You need to log in before you can comment on or make changes to this bug.