Bug 474744 - Review Request: supybot-fedora - Plugin for Supybot to interact with Fedora services
Summary: Review Request: supybot-fedora - Plugin for Supybot to interact with Fedora s...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: manuel wolfshant
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-12-05 04:42 UTC by Jon Stanley
Modified: 2014-11-12 23:02 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-12-09 11:39:23 UTC
Type: ---
Embargoed:
manuel.wolfshant: fedora-review+
gwync: fedora-cvs+


Attachments (Terms of Use)

Description Jon Stanley 2008-12-05 04:42:59 UTC
SRPM URL: http://jstanley.fedorapeople.org/supybot-fedora-0.2-2.fc9.src.rpm
Spec URL: http://jstanley.fedorapeople.org/supybot-fedora.spec
Description:

A Supybot plugin which provides access to Fedora information. Implements a
variety of commands, such as:

 * fas
 * fasinfo
 * ext
 * bug
 * whoowns

These provide various information from the Fedora Package Database and
Account System and provide it via IRC

Comment 1 Ian Weller 2008-12-05 04:47:57 UTC
I would approve this because it seems perfectly fine, but since I *am* upstream I think another set of eyes would be the proper way to do things here. Sorry, Jon ;)

Comment 2 manuel wolfshant 2008-12-05 10:48:31 UTC
there are several tiny problems:
- the correct Source0 is https://fedorahosted.org/releases/s/u/%{name}-%{version}.tar.bz2https://fedorahosted.org/releases/s/u/%name/%{name}-%{version}.tar.bz2
- the spec file name as included in the src.rpm should be supybot-fedora, not supybot-koji
- %install lacks rm -rf $RPM_BUILD_ROOT


Otherwise things seem pretty much OK, please come back with a correct src.rpm and I'll do a full review

PS: is BR python-devel really needed? http://fedoraproject.org/wiki/Packaging/Python claims BR: python is enough

Comment 3 manuel wolfshant 2008-12-05 11:34:01 UTC
obviously correct Source0 should have read https://fedorahosted.org/releases/s/u/%name/%{name}-%{version}.tar.bz2

Comment 4 Jon Stanley 2008-12-06 01:53:55 UTC
Yeah, I think just python works fine.  python-devel was in the template that rpmdev-newspec gave me, so I just kept it.

Why would %install clean out the buildroot, %clean is for that, no? :)

I was packaging both plugins at the same time and might have had directory confusion, accounting for the wrong spec in the SRPM :(

All fixed now, same spec, http://jstanley.fedorapeople.org/supybot-fedora-0.2-3.fc9.src.rpm for the SRPM

Comment 5 Jon Stanley 2008-12-06 02:07:05 UTC
Oops, sorry about the %install comment, was thinking about the wrong end of the build process there :)  Fixed in the SRPM above.

Comment 6 manuel wolfshant 2008-12-06 10:58:28 UTC
Package Review
==============

Key:
 - = N/A
 x = Check
 ! = Problem
 ? = Not evaluated

=== REQUIRED ITEMS ===
 [x] Package is named according to the Package Naming Guidelines.
 [x] Spec file name must match the base package %{name}, in the format %{name}.spec.
 [x] Package meets the Packaging Guidelines.
 [x] Package successfully compiles and builds into binary rpms on at least one supported architecture.
     Tested on: devel/x86_64
 [x] Rpmlint output:
source RPM: empty
binary RPM:empty
 [x] Package is not relocatable.
 [x] Buildroot is correct (%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n))
 [x] Package is licensed with an open-source compatible license and meets other legal requirements as defined in the legal section of Packaging Guidelines.
 [!] License field in the package spec file matches the actual license.
     License type as specidied by spec:BSD with advertising
     License type from source: New BSD (no advertising, 3 clause)
==> I might be wrong here but http://fedoraproject.org/wiki/Licensing/BSD#3ClauseBSD seems closer to the license in the source file
 [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] Spec file is legible and written in American English.
 [x] Sources used to build the package do not match the upstream source, as provided in the spec URL.
     SHA1SUM : 526dd710f7c130808798474873b1621b6bd29ff9 supybot-fedora-0.2.tar.bz2
 [x] Package is not known to require ExcludeArch.
 [x] All build dependencies are listed in BuildRequires, except for any that are listed in the exceptions section of Packaging Guidelines.
 [-] The spec file handles locales properly.
 [-] ldconfig called in %post and %postun if required.
 [x] Package must own all directories that it creates.
 [x] Package requires other packages for directories it uses.
 [x] Package does not contain duplicates in %files.
 [x] Permissions on files are set properly.
 [x] Package has a %clean section, which contains rm -rf $RPM_BUILD_ROOT
 [x] Package consistently uses macros.
 [x] Package contains code, or permissable content.
 [-] Large documentation files are in a -doc subpackage, if required.
 [x] Package uses nothing in %doc for runtime.
 [-] Header files in -devel subpackage, if present.
 [-] Static libraries in -devel subpackage, if present.
 [-] Package requires pkgconfig, if .pc files are present.
 [-] Development .so files in -devel subpackage, if present.
 [-] Fully versioned dependency in subpackages, if present.
 [x] Package does not contain any libtool archives (.la).
 [-] Package contains a properly installed %{name}.desktop file if it is a GUI application.
 [x] Package does not own files or directories owned by other packages.

=== SUGGESTED ITEMS ===
 [x] Latest version is packaged.
 [x] Package does not include license text files separate from upstream.
 [-] Description and summary sections in the package spec file contains translations for supported Non-English languages, if available.
 [x] Reviewer should test that the package builds in mock.
     Tested on: devel/x86_64
 [x] Package should compile and build into binary rpms on all supported architectures.
     Tested on:package is noarch, should work on any arch with a proper python
 [?] Package functions as described.
 [-] Scriptlets must be sane, if used.
 [-] The placement of pkgconfig(.pc) files is correct.
 [-] File based requires are sane.

=== Note ===
Please recheck the license before doing the commit. I think that http://fedoraproject.org/wiki/Licensing/BSD#3ClauseBSD is the correct one to be used in the spec and not http://fedoraproject.org/wiki/Licensing/BSD#BSDwithAdvertising

APPROVED

Comment 7 Jon Stanley 2008-12-07 21:04:42 UTC
New Package CVS Request
=======================
Package Name: supybot-fedora
Short Description: Supybot plugin to interact with Fedora services
Owners: jstanley
Branches: EL-5 F-9 F-10
InitialCC:

Comment 8 Kevin Fenzi 2008-12-08 00:38:10 UTC
cvs done.

Comment 9 Fedora Update System 2008-12-08 01:51:36 UTC
supybot-fedora-0.2-4.fc9 has been submitted as an update for Fedora 9.
http://admin.fedoraproject.org/updates/supybot-fedora-0.2-4.fc9

Comment 10 Fedora Update System 2008-12-09 11:39:20 UTC
supybot-fedora-0.2-4.fc9 has been pushed to the Fedora 9 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 11 Kevin Fenzi 2014-11-12 22:19:07 UTC
Package Change Request
======================
Package Name: supybot-fedora
New Branches: epel7
Owners: kevin
InitialCC:

Comment 12 Gwyn Ciesla 2014-11-12 23:02:07 UTC
Git done (by process-git-requests).


Note You need to log in before you can comment on or make changes to this bug.