[Bug 626175] Review Request: DeTex - is a filter program that removes the LaTeX control sequences from tex files

bugzilla at redhat.com bugzilla at redhat.com
Sun Oct 31 14:24:41 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=626175

--- Comment #3 from Christoph Wickert <cwickert at fedoraproject.org> 2010-10-31 10:24:40 EDT ---
I'm extremely sorry for the delay Didi!


REVIEW FOR 458b5603a1c21a383285e4aceeb4f6b7  detex-2.8-1.src.rpm

FIX - MUST: rpmlint must be run on every package. 

$ rpmlint /var/lib/mock/fedora-14-x86_64/result/detex-*
detex.src:24: W: setup-not-quiet

Use %setup -q instead of %setup

detex.src:32: W: macro-in-comment %{__make}
detex.src:32: W: macro-in-comment %{buildroot}

This is the line that is commented out, remove it. Macros in comments confuse
rpm. Even though things are commented out, the macros get resolved. When you
have a macro like %setup, that consists of several lines (use 'rpm --eval
%setup' to check), the build will break.

detex.x86_64: W: manual-page-warning /usr/share/man/man1/detex.1.gz 57: normal
or special character expected (got a space)
detex.x86_64: W: manual-page-warning /usr/share/man/man1/detex.1.gz 57:
warning: numeric expression expected (got `,')
detex.x86_64: W: manual-page-warning /usr/share/man/man1/detex.1.gz 57: normal
or special character expected (got a space)
detex.x86_64: W: manual-page-warning /usr/share/man/man1/detex.1.gz 57: normal
or special character expected (got a space)
detex.x86_64: W: manual-page-warning /usr/share/man/man1/detex.1.gz 57: cannot
use a space as a starting delimiter
detex.x86_64: W: manual-page-warning /usr/share/man/man1/detex.1.gz 57: normal
or special character expected (got a space)
detex.x86_64: W: manual-page-warning /usr/share/man/man1/detex.1.gz 57: normal
or special character expected (got a space)
detex.x86_64: W: manual-page-warning /usr/share/man/man1/detex.1.gz 57: normal
or special character expected (got a space)
detex.x86_64: W: manual-page-warning /usr/share/man/man1/detex.1.gz 57: normal
or special character expected (got a space)
detex.x86_64: W: manual-page-warning /usr/share/man/man1/detex.1.gz 57: normal
or special character expected (got a space)
detex.x86_64: W: manual-page-warning /usr/share/man/man1/detex.1.gz 57: normal
or special character expected (got a space)
detex.x86_64: W: manual-page-warning /usr/share/man/man1/detex.1.gz 57: normal
or special character expected (got a space)
detex.x86_64: W: manual-page-warning /usr/share/man/man1/detex.1.gz 57: normal
or special character expected (got a space)
detex.x86_64: W: manual-page-warning /usr/share/man/man1/detex.1.gz 57: normal
or special character expected (got a space)
detex.x86_64: W: manual-page-warning /usr/share/man/man1/detex.1.gz 57: normal
or special character expected (got a node)

Not sure about this one.

detex-debuginfo.x86_64: E: debuginfo-without-sources

Read http://fedoraproject.org/wiki/Packaging/Debuginfo

OK - MUST: named according to the Package Naming Guidelines
OK - MUST: spec file name matches the base package %{name}
OK - MUST: package meets the Packaging Guidelines
OK - MUST: Fedora approved license and meets the Licensing Guidelines (NCSA)
FIX - MUST: License field in spec file matches the actual license: According to
 its http://www.cs.purdue.edu/homes/trinkle/detex/ NCSA not BSD.

FIX - MUST: license file is not included in %doc: Include the COPYRIGHT file in
%doc.

OK - MUST: spec is in American English
FIX - MUST: spec is legible, but could be better if the tags in the header were
properly indented.

OK - MUST: sources match the upstream source by MD5
7a96b647f43bb077323cde92faa1e893
FIX - MUST: does not successfully compile and build into binary rpms:
error: %patch without corresponding "Patch:" tag

You are using Patch0:, therefor the patch needs to be applied with %patch0 too,
not only %patch.

N/A - MUST: If the package does not successfully compile, build or work on an
architecture, then those architectures should be listed in the spec in
ExcludeArch.
OK - MUST: all build dependencies are listed in BuildRequires.
N/A - MUST: handles locales properly with %find_lang
N/A - MUST: 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.
OK - MUST: Package does not bundle copies of system libraries.
N/A - MUST: 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.
OK - MUST: owns all directories that it creates (none)
OK - MUST: no duplicate files in the %files listing
OK - MUST: Permissions on files are set properly, includes %defattr(...)
OK - MUST: consistently uses macros
OK - MUST: package contains code, or permissable content
N/A - MUST: Large documentation files should go in a -doc subpackage
OK - MUST: Files included as %doc do not affect the runtime of the application
N/A - MUST: Header files must be in a -devel package
N/A - MUST: Static libraries must be in a -static package
N/A - MUST: library files that end in .so are in the -devel package.
N/A - MUST: devel packages must require the base package using a fully
versioned dependency
OK - MUST: The package does not contain any .la libtool archives.
N/A - MUST: 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.
OK - MUST: package does not own files or directories already owned by other
packages.
OK - Should: at the beginning of %install, the package runs rm -rf
%{buildroot}.
OK - MUST: all filenames valid UTF-8


SHOULD Items:
OK - SHOULD: Source package includes license text(s) as a separate file.
N/A - SHOULD: The description and summary sections in the package spec file
should contain translations for supported Non-English languages, if available.
OK - SHOULD: builds in mock (once the naming of the patch is fixed)
OK - SHOULD: compiles and builds into binary rpms on all supported
architectures, see http://koji.fedoraproject.org/koji/taskinfo?taskID=2566981
OK - SHOULD: functions as described.
N/A - SHOULD: Scriptlets are sane (no scriptlets used).
N/A - SHOULD: Usually, subpackages other than devel should require the base
package using a fully versioned dependency.
N/A - SHOULD: pkgconfig(.pc) files should be placed in a -devel pkg
OK - SHOULD: no file dependencies outside of /etc, /bin, /sbin, /usr/bin, or
/usr/sbin
OK - SHOULD: package should contain man pages for binaries/scripts.


Other items:
OK - latest stable version
OK - SourceURL valid
OK - Compiler flags ok
OK - Debuginfo complete
OK - SHOULD: package has a %clean section, which contains rm -rf %{buildroot}.
N/A - SHOULD: Packages containing pkgconfig(.pc) files must 'Requires:
pkgconfig'.


TODO:

- Fix all isues marked with FIX

- Naming of the patch should be
<name-of-package>-<version-when-introduced>-<name-of-patch>.patch. In this case
Patch0 would be named detex-2.8-malloc-and-troff.patch

- Do not use macros like %{__rm}, %{__make} and %{__install} for simple
commands. You never know if/how these marcos are defined.

- %defattr should be (-,root,root,-) (cosmetic change)

- No need to tag the manpage as %doc. Whatever is in %{_mandir} will
automatically be tagged %doc.

- Include COPYRIGHT


If you have any problems, please let me know.

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