[Bug 975041] Review Request: sblim-sfcCommon

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

 



https://bugzilla.redhat.com/show_bug.cgi?id=975041

--- Comment #2 from michal.simon@xxxxxxx ---
1. Package builds correctly with mock.


2. rpmlint output:

Rpmlint
-------
Checking: sblim-sfcCommon-1.0.1-1.el6.x86_64.rpm
          sblim-sfcCommon-devel-1.0.1-1.el6.x86_64.rpm
sblim-sfcCommon.x86_64: W: spelling-error Summary(en_US) sfcb -> scab, sf,
scrub
sblim-sfcCommon.x86_64: W: spelling-error Summary(en_US) sfcc -> sf cc, sf-cc,
Sacco
sblim-sfcCommon.x86_64: W: spelling-error %description -l en_US sfcb -> scab,
sf, scrub
sblim-sfcCommon.x86_64: W: spelling-error %description -l en_US sfcc -> sf cc,
sf-cc, Sacco
sblim-sfcCommon.x86_64: W: shared-lib-calls-exit /usr/lib64/libsfcUtil.so.0.0.0
exit@GLIBC_2.2.5
sblim-sfcCommon-devel.x86_64: W: no-documentation
2 packages and 0 specfiles checked; 0 errors, 6 warnings.

Rpmlint (installed packages)
----------------------------
# rpmlint sblim-sfcCommon-devel sblim-sfcCommon
sblim-sfcCommon-devel.x86_64: I: enchant-dictionary-not-found en_US
sblim-sfcCommon-devel.x86_64: W: no-documentation
sblim-sfcCommon.x86_64: W: shared-lib-calls-exit /usr/lib64/libsfcUtil.so.0.0.0
exit@GLIBC_2.2.5
sblim-sfcCommon.x86_64: W: unused-direct-shlib-dependency
/usr/lib64/libsfcUtil.so.0.0.0 /lib64/libdl.so.2
2 packages and 0 specfiles checked; 0 errors, 3 warnings.

- The 'spelling-error' warrnings are false positives. 

- The 'shared-lib-calls-exit' should be fixed by upstream however as far as I
can tell it is not a blocker. 

- 'unused-direct-shlib-dependency' - it would be nice if it could be fixed (but
it's only an efficiency issue)


3. In spec file you only mention EPL licence and the ltmain.sh uses GPL this
has to be fixed
(https://fedoraproject.org/wiki/Packaging:LicensingGuidelines?rd=Packaging/LicensingGuidelines#Multiple_Licensing_Scenarios).


4. In the devel package you should have:
     %{name}%{?_isa} = %{version}-%{release}
   rather than:
     %{name} = %{version}-%{release}

5. Instead of:
     %{_libdir}/libsfcUtil.so.0.0.0
     %{_libdir}/libsfcUtil.so.0
   you could do just:
     %{_libdir}/libsfcUtil.so.*
   but that's optional


6.
Package Review
==============

Legend:
[x] = Pass, [!] = Fail, [-] = Not applicable

MUST

[x]: Package does not contain kernel modules.
[x]: Package contains no static executables.
[x]: Header files in -devel subpackage, if present.
[x]: ldconfig called in %post and %postun if required.
[x]: Package does not contain any libtool archives (.la)
[x]: Rpath absent or only used for internal libs.
[x]: Development (unversioned) .so files in -devel subpackage, if present.

[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]: %build honors applicable compiler flags or justifies otherwise.
[x]: Packages must NOT bundle copies of system libraries.
[x]: Changelog in prescribed format.
[x]: Sources contain only permissible code or content.
[x]: Package contains desktop file if it is a GUI application.
[x]: Development files must be in a -devel package
[x]: Package uses nothing in %doc for runtime.
[x]: Package is not known to require ExcludeArch.
[!]: Fully versioned dependency in subpackages, if present.
[x]: Package complies to the Packaging Guidelines
[!]: License field in the package spec file matches the actual license.
[x]: License file installed when any subpackage combination is installed.
[x]: Each package must consistently use macros.
[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.
[x]: If the package is a rename of another package, proper Obsoletes and
     Provides are present.
[x]: 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]: Package does not own files or directories owned by other packages.
[x]: Requires correct, justified where necessary.
[x]: Spec file is legible and written in American English.
[x]: Useful -debuginfo package or justification otherwise.
[x]: Large documentation must go in a -doc subpackage.
[x]: All build dependencies are listed in BuildRequires, except for any that
     are listed in the exceptions section of Packaging Guidelines.
[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]: Package does not contain duplicates in %files.
[x]: Permissions on files are set properly.
[x]: 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 is included in %doc.
[x]: Package use %makeinstall only when make install' ' DESTDIR=... doesn't
     work.
[x]: Package is named using only allowed ASCII characters.
[x]: Package do not use a name that already exist
[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]: Packages must not store files under /srv, /opt or /usr/local
[x]: Package successfully compiles and builds into binary rpms on at least one
     supported primary architecture.
[x]: Package installs properly.

SHOULD

[x]: 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.
[x]: Scriptlets must be sane, if used.
[x]: Package should compile and build into binary rpms on all supported
     architectures.
[x]: Packager, Vendor, PreReq, Copyright tags should not be in spec file
[x]: Sources can be downloaded from URI in Source: tag
[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]: Uses parallel make.
[x]: SourceX is a working URL.
[x]: Spec use %global instead of %define.

[x]: Large data in /usr/share should live in a noarch subpackage if package is
     arched.
[x]: Rpmlint is run on all installed packages.
     Note: There are rpmlint messages (see attachment).
[x]: Spec file according to URL is the same as in SRPM.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=DO8rt1SLTK&a=cc_unsubscribe
_______________________________________________
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]