Summary: | Review Request: php-oauth - PHP Authentication library for desktop to web applications | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Rakesh Pandit <rpandit> |
Component: | Package Review | Assignee: | Peter Lemenkov <lemenkov> |
Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | rawhide | CC: | fedora-package-review, lemenkov, notting, rpandit |
Target Milestone: | --- | Flags: | lemenkov:
fedora-review+
kevin: fedora-cvs+ |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2008-08-29 10:28:09 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Bug Depends On: | |||
Bug Blocks: | 455211 |
Description
Rakesh Pandit
2008-07-11 16:28:28 UTC
Corrected naming for both spec and package: SRPM: http://rakesh.fedorapeople.org/srpm/php-oauth-1.0-1.fc8.src.rpm SPEC: http://rakesh.fedorapeople.org/spec/php-oauth.spec I messed up these links correct links are: SRPM: http://rakesh.fedorapeople.org/srpm/php-oauth-1.0-2.fc8.src.rpm SPEC: http://rakesh.fedorapeople.org/spec/php-oauth.spec This is not a formal review, but I noticed the following points when following the review guidelines: - MUST: The package must be named according to the Package Naming Guidelines. Error, the package version doesn't meet the https://fedoraproject.org/wiki/Packaging/NamingGuidelines#Snapshot_packages guidelines Maybe the package has also to be renamed with the php-pear standard? See https://www.redhat.com/archives/fedora-packaging/2008-July/msg00023.html for the discussion. - MUST: The sources used to build the package must match the upstream source, as provided in the spec URL. Reviewers should use md5sum for this task. If no upstream URL can be specified for this package, please see the Source URL Guidelines for how to deal with this. Error, the creation of a source package matches https://fedoraproject.org/wiki/Packaging/SourceURL "Using Revision Control", but how can you pretend that it's version 1? SVN checkout doesn't work by the way. >- MUST: The package must be named according to the Package Naming Guidelines. >Error, the package version doesn't meet the >https://fedoraproject.org/wiki/Packaging/NamingGuidelines#Snapshot_packages >guidelines Fixed >Maybe the package has also to be renamed with the php-pear standard? See >https://www.redhat.com/archives/fedora-packaging/2008-July/msg00023.html for the >discussion. Yes, I started the discussion, if you look at next message in thread https://www.redhat.com/archives/fedora-packaging/2008-July/msg00041.html or oauth package status. It is still in proposed state and upstream does not have any pear packaging so it will go as normal php library. >- MUST: The sources used to build the package must match the upstream source, as >provided in the spec URL. Reviewers should use md5sum for this task. If no >upstream URL can be specified for this package, please see the Source URL >Guidelines for how to deal with this. >Error, the creation of a source package matches >https://fedoraproject.org/wiki/Packaging/SourceURL "Using Revision Control", but >how can you pretend that it's version 1? SVN checkout doesn't work by the way. Aah! Actually project site mentions wrong svn checkout link. The correct one is svn co http://oauth.googlecode.com/svn/code/php/ oauth It is mentioned is one of main Oauth class in code base that it is 1.0. I have also verified upstream. New SPEC file: http://rakesh.fedorapeople.org/spec/php-oauth.spec New SRPM: http://rakesh.fedorapeople.org/srpm/php-oauth-1.0-3.svn592.fc8.src.rpm Removing needsponsor, I have sponsored Rakesh. I'll review it. One note before review: * You should post *exact* instructions on how to build exact copy of your tarball. in order to do so, you need to indicate exact svn revision *in* your instructions, not only in Version field. And one more - you should use "svn export" instead of "svn co" and further removing svn-related files. E.g. # svn export -r 592 http://oauth.googlecode.com/svn/code/php/ oauth # tar -czf php-oauth-1.0.tar.gz oauth Apply this change and I'll review it. SRPM: http://rakesh.fedorapeople.org/srpm/php-oauth-1.0-4.svn592.fc9.src.rpm SPEC: http://rakesh.fedorapeople.org/spec/php-oauth.spec Updated. Strange, but I've got different tarball: [petro@Sulaco SOURCES]$ ls -l php-oauth-1.0.tar.gz* -rw-rw-r-- 1 petro petro 10708 2008-08-23 17:52 php-oauth-1.0.tar.gz -rw-rw-r-- 1 petro petro 10800 2008-08-23 17:23 php-oauth-1.0.tar.gz.orig [petro@Sulaco SOURCES] In any case, I just unpacked them and compared with diff - they looks identical. OK. Review: MUST Items: + rpmlint silent. + The package is named according to the Package Naming Guidelines . + The spec file name matches the base package %{name}, in the format %{name}.spec. + The package meets the Packaging Guidelines . + The package licensed with a Fedora approved license and meets the Licensing Guidelines. + The License field in the package spec file matches the actual license. + The spec file written in American English. + The spec file for the package is legible. +/- The sources used to build the package were taken from svn. No official tarball. + The package successfully compiles and builds into binary rpms on at least one supported architecture (ppc). + All build dependencies are listed in BuildRequires. + A package must owns all directories that it creates. + A package does not contain any duplicate files in the %files listing. + Permissions on files are set properly. + The package have a %clean section, which contains rm -rf $RPM_BUILD_ROOT. + The package consistently uses macros, as described in the macros section of Packaging Guidelines . + The package contains code, or permissable content. + All, the package includes as %doc, does not affect the runtime of the application. + The packages does not own files or directories already owned by other packages. + At the beginning of %install, the package runs rm -rf $RPM_BUILD_ROOT. + All filenames in rpm packages are valid UTF-8. There is only one thing remain. Since we using a svn snapshot, we need to change versioning scheme. I advice you to change Release field to 0.4.%{svnrevision}%{?dist} - note leading zero. That allows us to upgrade package from our svn snapshot to official 1.0 tarball (when it will be out). Thanks Updated SPEC: http://rakesh.fedorapeople.org/spec/php-oauth.spec SRPM: http://rakesh.fedorapeople.org/srpm/php-oauth-1.0-0.5.svn592.fc9.src.rpm APPROVED. p.s. don't forget to raise fedora-cvs flag New Package CVS Request ======================= Package Name: php-oauth Short Description: PHP Authentication library for desktop to web applications Owners: rakesh Branches: F-8 F-9 InitialCC: rakesh Cvsextras Commits: yes cvs done. php-oauth-1.0-0.5.svn592.fc8 has been submitted as an update for Fedora 8. http://admin.fedoraproject.org/updates/php-oauth-1.0-0.5.svn592.fc8 php-oauth-1.0-0.5.svn592.fc9 has been submitted as an update for Fedora 9. http://admin.fedoraproject.org/updates/php-oauth-1.0-0.5.svn592.fc9 php-oauth-1.0-0.5.svn592.fc8 has been pushed to the Fedora 8 stable repository. If problems still persist, please make note of it in this bug report. php-oauth-1.0-0.5.svn592.fc9 has been pushed to the Fedora 9 stable repository. If problems still persist, please make note of it in this bug report. |