[Bug 678809] Review Request: seeks - A web-search proxy that provides a meta-search engine
bugzilla at redhat.com
bugzilla at redhat.com
Tue Oct 25 17:13:50 UTC 2011
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=678809
Matthieu Saulnier <casper.le.fantom at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |casper.le.fantom at gmail.com
--- Comment #12 from Matthieu Saulnier <casper.le.fantom at gmail.com> 2011-10-25 13:13:47 EDT ---
Hello
This is an informal review
[!] rpmlint must be run on every package.
rpmlint seeks-0.4.0-0.2.RC1.fc16.src.rpm
seeks.src: W: spelling-error %description -l en_US websearch -> web search,
web-search, searcher
seeks.src: W: spelling-error %description -l en_US hashtable -> hash table,
hash-table, washable
seeks.src: W: strange-permission autogen.sh 0755L
1 packages and 0 specfiles checked; 0 errors, 3 warnings.
rpmlint seeks-0.4.0-0.2.RC1.fc16.x86_64.rpm
seeks.x86_64: W: spelling-error %description -l en_US hashtable -> hash table,
hash-table, washable
seeks.x86_64: W: shared-lib-calls-exit /usr/lib64/libseeksplugins.so.0.0.0
exit at GLIBC_2.2.5
seeks.x86_64: W: shared-lib-calls-exit /usr/lib64/libseekslsh.so.0.0.0
exit at GLIBC_2.2.5
seeks.x86_64: W: shared-lib-calls-exit /usr/lib64/libseeksutils.so.0.0.0
exit at GLIBC_2.2.5
seeks.x86_64: W: shared-lib-calls-exit /usr/lib64/libseeksproxy.so.0.0.0
exit at GLIBC_2.2.5
seeks.x86_64: W: devel-file-in-non-devel-package
/usr/lib64/seeks/plugins/udb_service/libudbserviceplugin.so
seeks.x86_64: W: devel-file-in-non-devel-package
/usr/lib64/seeks/plugins/cf/libcfplugin.so
seeks.x86_64: W: non-standard-uid /var/lib/seeks seeks
seeks.x86_64: W: non-standard-gid /var/lib/seeks seeks
seeks.x86_64: W: devel-file-in-non-devel-package
/usr/lib64/seeks/plugins/websearch/libseekswebsearchplugin.so
seeks.x86_64: W: devel-file-in-non-devel-package
/usr/lib64/seeks/plugins/img_websearch/libseeksimgwebsearchplugin.so
seeks.x86_64: W: devel-file-in-non-devel-package
/usr/lib64/seeks/cli/libseekscli.a
seeks.x86_64: W: devel-file-in-non-devel-package
/usr/lib64/seeks/plugins/httpserv/libseekshttpservplugin.so
seeks.x86_64: W: devel-file-in-non-devel-package
/usr/lib64/seeks/plugins/uri_capture/liburicaptureplugin.so
seeks.x86_64: W: devel-file-in-non-devel-package
/usr/lib64/seeks/plugins/blocker/libblockerplugin.so
seeks.x86_64: W: devel-file-in-non-devel-package
/usr/lib64/seeks/plugins/no_tracking/libnotrackingplugin.so
seeks.x86_64: W: devel-file-in-non-devel-package
/usr/lib64/seeks/plugins/websearch_api_compat/libseekswebsearchapicompatplugin.so
seeks.x86_64: W: non-standard-uid /var/log/seeks seeks
seeks.x86_64: W: non-standard-gid /var/log/seeks seeks
seeks.x86_64: W: devel-file-in-non-devel-package
/usr/lib64/seeks/plugins/query_capture/libquerycaptureplugin.so
seeks.x86_64: W: no-manual-page-for-binary test_bqc
seeks.x86_64: W: no-manual-page-for-binary gen_mrf_query_160
seeks.x86_64: W: no-manual-page-for-binary user_db_ops
seeks.x86_64: W: no-manual-page-for-binary test_dbqr_compression
1 packages and 0 specfiles checked; 0 errors, 24 warnings.
[X] The package must be named according to the Package Naming Guidelines.
[X] The spec file name must match the base package %{name}, in the format
%{name}.spec unless your package has an exemption.
[!] The package must meet the Packaging Guidelines.
Fix rpmlint, spelling errors aren't important here.
You can remove the "BuildRoot" line, as well as all occurrences of "rm -rf
%{buildroot}". The %clean section is obsolete also. See below for more:
http://fedoraproject.org/wiki/Packaging:Guidelines#BuildRoot_tag
http://fedoraproject.org/wiki/Packaging:Guidelines#.25clean
[X] The package must be licensed with a Fedora approved license and meet the
Licensing Guidelines.
[X] The License field in the package spec file must match the actual license.
[!] 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.
Add AGPL-3.txt, BSD-yui.txt, GPL-2.0.txt and LGPL-2.1.txt in %doc section.
[X] The spec file must be written in American English.
[X] The spec file for the package MUST be legible.
[X] The sources used to build the package must match the upstream source, as
provided in the spec URL.
Upstream md5sum: dc7905dd57496ee6ca3ee0d21d9d76b7
Package md5sum: dc7905dd57496ee6ca3ee0d21d9d76b7
[X] The package MUST successfully compile and build into binary rpms on at
least one primary architecture.
Build successful on Mock Fedora 15 x86_64
Mock Fedora 16 x86_64
Mock Fedora Rawhide x86_64
[NA] If the package does not successfully compile, build or work on an
architecture, then those architectures should be listed in the spec in
ExcludeArch.
[X] All build dependencies must be listed in BuildRequires, except for any
that are listed in the exceptions section of the Packaging Guidelines ;
inclusion of those as BuildRequires is optional.
[NA] The spec file MUST handle locales properly. This is done by using the
%find_lang macro. Using %{_datadir}/locale/* is strictly forbidden.
[X] 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.
[X] Packages must NOT bundle copies of system libraries.
[NA] 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.
[X] 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.
[X] A Fedora package must not list a file more than once in the spec file's
%files listings.
[X] Permissions on files must be set properly. Executables should be set with
executable permissions, for example. Every %files section must include a
%defattr(...) line.
[X] Each package must consistently use macros.
[X] The package must contain code, or permissable content.
[NA] Large documentation files must go in a -doc subpackage.
[X] If a package includes something as %doc, it must not affect the runtime
of the application. To summarize: If it is in %doc, the program must run
properly if it is not present.
[NA] Header files must be in a -devel package.
[!] Static libraries must be in a -static package.
rpmls seeks-0.4.0-0.2.RC1.fc16.x86_64.rpm | grep lib*.a
-rw-r--r-- /usr/lib64/seeks/cli/libseekscli.a
[!] 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.
Fix rpmlint
[NA] In the vast majority of cases, devel packages must require the base
package using a fully versioned dependency: Requires: %{name} =
%{version}-%{release}.
[X] Packages must NOT contain any .la libtool archives, these must be removed
in the spec if they are built.
[NA] Packages containing GUI applications must include a %{name}.desktop file,
and that file must be properly installed with desktop-file-install in the
%install section.
[X] Packages must not own files or directories already owned by other
packages.
[X] All filenames in rpm packages must be valid UTF-8.
- Your package include some rpaths that must be removed :
rpminfo -r seeks-0.4.0-0.2.RC1.fc16.x86_64.rpm
seeks-0.4.0-0.2.RC1.fc16.x86_64.rpm
/usr/bin/gen_mrf_query_160 RPATH
/usr/lib64/seeks/plugins/uri_capture:/usr/lib64/seeks/plugins/query_capture:/usr/lib64/seeks/plugins/cf:/usr/lib64/seeks/plugins/udb_service:/usr/lib64/seeks/plugins/img_websearch:/usr/lib64/seeks/plugins/websearch:/usr/lib64/seeks/plugins/websearch_api_compat
/usr/bin/seeks RPATH
/usr/lib64/seeks/plugins/websearch:/usr/lib64/seeks/plugins/websearch_api_compat:/usr/lib64/seeks/plugins/query_capture:/usr/lib64/seeks/plugins/uri_capture:/usr/lib64/seeks/plugins/cf:/usr/lib64/seeks/plugins/udb_service:/usr/lib64/seeks/plugins/img_websearch
/usr/bin/test_bqc RPATH
/usr/lib64/seeks/plugins/uri_capture:/usr/lib64/seeks/plugins/query_capture:/usr/lib64/seeks/plugins/cf:/usr/lib64/seeks/plugins/udb_service:/usr/lib64/seeks/plugins/img_websearch:/usr/lib64/seeks/plugins/websearch:/usr/lib64/seeks/plugins/websearch_api_compat
/usr/bin/test_dbqr_compression RPATH
/usr/lib64/seeks/plugins/uri_capture:/usr/lib64/seeks/plugins/query_capture:/usr/lib64/seeks/plugins/cf:/usr/lib64/seeks/plugins/udb_service:/usr/lib64/seeks/plugins/img_websearch:/usr/lib64/seeks/plugins/websearch:/usr/lib64/seeks/plugins/websearch_api_compat
/usr/bin/user_db_ops RPATH
/usr/lib64/seeks/plugins/uri_capture:/usr/lib64/seeks/plugins/query_capture:/usr/lib64/seeks/plugins/cf:/usr/lib64/seeks/plugins/udb_service:/usr/lib64/seeks/plugins/img_websearch:/usr/lib64/seeks/plugins/websearch:/usr/lib64/seeks/plugins/websearch_api_compat
You can see for more information :
http://fedoraproject.org/wiki/Packaging:Guidelines#Beware_of_Rpath
http://fedoraproject.org/wiki/Packaging:Guidelines#Removing_Rpath
--
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