Bug 492395

Summary: Review Request: php-geshi - Generic syntax highlighter
Product: [Fedora] Fedora Reporter: Xavier Bachelot <xavier>
Component: Package ReviewAssignee: David Nalley <david>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: david, fedora-package-review, giallu, notting, pahan
Target Milestone: ---Flags: david: fedora-review+
kevin: fedora-cvs+
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 1.0.8.3-1.fc11 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-04-27 21:20:06 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 492397    

Description Xavier Bachelot 2009-03-26 17:54:50 UTC
Spec URL: http://www.bachelot.org/fedora/SPECS/php-geshi.spec
SRPM URL: http://www.bachelot.org/fedora/SRPMS/php-geshi-1.0.8.2-2.fc10.src.rpm
Description:
GeSHi aims to be a simple but powerful highlighting class, with the following
goals:
    * Support for a wide range of popular languages
    * Easy to add a new language for highlighting
    * Highly customisable output formats

Comment 1 Gianluca Sforna 2009-03-26 19:53:34 UTC
a couple comments: looking at the geshi.php file license should be GPLv2+

according to yum deplist php, php-common is a dependency so you can just list php

Comment 3 David Nalley 2009-04-23 13:05:43 UTC
OK: rpmlint must be run on every package. The output should be posted in the review.
[ke4qqq@nalleyt61 SPECS]$ rpmlint ./php-geshi.spec 
0 packages and 1 specfiles checked; 0 errors, 0 warnings.
[ke4qqq@nalleyt61 SPECS]$ rpmlint ../SRPMS/php-geshi-1.0.8.3-1.fc10.src.rpm 
1 packages and 0 specfiles checked; 0 errors, 0 warnings.
[ke4qqq@nalleyt61 SPECS]$ rpmlint ../RPMS/noarch/php-geshi-1.0.8.3-1.fc10.noarch.rpm 
1 packages and 0 specfiles checked; 0 errors, 0 warnings.

OK: The package must be named according to the Package Naming Guidelines .
OK: The spec file name must match the base package %{name}, in the format %{name}.spec unless your package has an exemption. 
OK: The package must meet the Packaging Guidelines .
OK: The package must be licensed with a Fedora approved license and meet the Licensing Guidelines .
OK: The License field in the package spec file must match the actual license.
OK: 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.[4]
OK: The spec file must be written in American English. [5]
OK: The spec file for the package MUST be legible. [6]
OK: The sources used to build the package must match the upstream source, as provided in the spec URL.
[ke4qqq@nalleyt61 SOURCES]$ md5sum GeSHi-1.0.8.3.tar.gz
fa7ad8e9f5d2573cfca58dd3d5945712  GeSHi-1.0.8.3.tar.gz
[ke4qqq@nalleyt61 SOURCES]$ md5sum GeSHi-1.0.8.3.tar.gz.1 
fa7ad8e9f5d2573cfca58dd3d5945712  GeSHi-1.0.8.3.tar.gz.1

OK: The package MUST successfully compile and build into binary rpms on at least one primary architecture. 
Works on at least x86_64 - not that there is a real build here. 

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. Each architecture listed in ExcludeArch MUST have a bug filed in bugzilla, describing the reason that the package does not compile/build/work on that architecture. The bug number MUST be placed in a comment, next to the corresponding ExcludeArch line.
OK: 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. Apply common sense.
NA: The spec file MUST handle locales properly. This is done by using the %find_lang macro. Using %{_datadir}/locale/* is strictly forbidden.[9]
NA: 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. 
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. 
OK: 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. 
OK: A Fedora package must not list a file more than once in the spec file's %files listings. 
OK: Permissions on files must be set properly. Executables should be set with executable permissions, for example. Every %files section must include a %defattr(...) line.
OK: Each package must have a %clean section, which contains rm -rf %{buildroot} (or $RPM_BUILD_ROOT). 
OK: Each package must consistently use macros. 
OK: The package must contain code, or permissable content. 
NA: Large documentation files must go in a -doc subpackage. 
OK: 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. 
NA: Static libraries must be in a -static package. 
NA: Packages containing pkgconfig(.pc) files must 'Requires: pkgconfig' (for directory ownership and usability). 
NA: 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. 
NA: In the vast majority of cases, devel packages must require the base package using a fully versioned dependency: Requires: %{name} = %{version}-%{release}
NA: 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. If you feel that your packaged GUI application does not need a .desktop file, you must put a comment in the spec file with your explanation. 
OK: Packages must not own files or directories already owned by other packages. The rule of thumb here is that the first package to be installed should own the files or directories that other packages may rely upon. This means, for example, that no package in Fedora should ever share ownership with any of the files or directories owned by the filesystem or man package. If you feel that you have a good reason to own a file or directory that another package owns, then please present that at package review time. 
OK: At the beginning of %install, each package MUST run rm -rf %{buildroot} (or $RPM_BUILD_ROOT).
OK: All filenames in rpm packages must be valid UTF-8. 


So this package is approved - you should be able to request CVS now.

Comment 4 Xavier Bachelot 2009-04-23 13:23:25 UTC
Thanks for the review David.

New Package CVS Request
=======================
Package Name: php-geshi
Short Description: Generic syntax highlighter
Owners: xavierb
Branches: F-9 F-10 F-11 EL-5
InitialCC:

Comment 5 Kevin Fenzi 2009-04-23 16:30:18 UTC
cvs done.

Comment 6 Fedora Update System 2009-04-23 21:26:29 UTC
php-geshi-1.0.8.3-1.fc10 has been submitted as an update for Fedora 10.
http://admin.fedoraproject.org/updates/php-geshi-1.0.8.3-1.fc10

Comment 7 Fedora Update System 2009-04-23 21:26:34 UTC
php-geshi-1.0.8.3-1.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/php-geshi-1.0.8.3-1.fc11

Comment 8 Fedora Update System 2009-04-23 21:26:39 UTC
php-geshi-1.0.8.3-1.fc9 has been submitted as an update for Fedora 9.
http://admin.fedoraproject.org/updates/php-geshi-1.0.8.3-1.fc9

Comment 9 Fedora Update System 2009-04-27 21:20:00 UTC
php-geshi-1.0.8.3-1.fc9 has been pushed to the Fedora 9 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2009-04-27 21:30:25 UTC
php-geshi-1.0.8.3-1.fc10 has been pushed to the Fedora 10 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 11 Fedora Update System 2009-05-09 04:26:38 UTC
php-geshi-1.0.8.3-1.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.