Bug 476525 - Review Request: python-zc-lockfile - Basic Inter-Process Locks
Summary: Review Request: python-zc-lockfile - Basic Inter-Process Locks
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Fabian Affolter
QA Contact: Fedora Extras Quality Assurance
Depends On: 476524
Blocks: 476600
TreeView+ depends on / blocked
Reported: 2008-12-15 12:47 UTC by Conrad Meyer
Modified: 2009-08-09 05:34 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2009-08-09 05:34:44 UTC
Type: ---
mail: fedora-review+
j: fedora-cvs+

Attachments (Terms of Use)

Description Conrad Meyer 2008-12-15 12:47:42 UTC
Spec URL: http://konradm.fedorapeople.org/fedora/SPECS/python-zc-lockfile.spec
SRPM URL: http://konradm.fedorapeople.org/fedora/SRPMS/python-zc-lockfile-1.0.0-1.fc9.src.rpm
The zc.lockfile package provides a basic portable implementation of
interprocess locks using lock files. The purpose if not specifically
to lock files, but to simply provide locks with an implementation based
on file-locking primitives. Of course, these locks could be used to
mediate access to other files. For example, the ZODB file storage
implementation uses file locks to mediate access to file-storage
database files. The database files and lock file files are separate files.

Comment 1 Jason Tibbitts 2009-06-27 07:30:34 UTC
This one also fails to build due to missing setuptools:

+ /usr/bin/python setup.py build
Traceback (most recent call last):
  File "setup.py", line 17, in <module>
    from setuptools import setup, find_packages
ImportError: No module named setuptools

Comment 3 Fabian Affolter 2009-07-09 16:23:05 UTC
In the meantime '%define' should be replaced with '%global' as in the other packages.

Package Review


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

 [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: F11/i386
 [x] Rpmlint output:
     Source RPM:
     [fab@laptop09 SRPMS]$ rpmlint python-zc-lockfile-1.0.0-2.fc10.src.rpm
     1 packages and 0 specfiles checked; 0 errors, 0 warnings.
     Binary RPM(s):
     [fab@laptop09 noarch]$ rpmlint python-zc-lockfile-1.0.0-2.fc11.noarch.rpm 
     1 packages and 0 specfiles checked; 0 errors, 0 warnings.
 [x] Package is not relocatable
 [x] Buildroot is correct
     master   : %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
     spec file: %{_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.
 [x] License field in the package spec file matches the actual license
     License type: ZPLv2.1
 [-] 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 matches the upstream source, as provided
in the spec URL
     Upstream source: 6cf83766ef9935c33e240b0904c7a45e
     Build source:    6cf83766ef9935c33e240b0904c7a45e
 [x] Package is not known to require ExcludeArch
 [x] Architecture independent packages have: BuildArch: noarch
 [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.  %find_lang used for locales
 [-] %{optflags} or RPM_OPT_FLAGS are honoured
 [-] ldconfig called in %post and %postun if required
 [x] %install starts with rm -rf %{buildroot} or $RPM_BUILD_ROOT
 [x] Package must own all directories that it creates
 [x] Package requires other packages for directories it uses
 [x] Package does not own files or directories owned by other packages
 [x] Package does not contain duplicates in %files
 [x] Permissions on files are set properly. %defattr(-,root,root,-) is in every %files section
 [x] Package uses nothing in %doc for runtime
 [x] Package has a %clean section, which contains rm -rf %{buildroot} or $RPM_BUILD_ROOT
 [x] Included tests passed successfully 
 [x] Package consistently uses macros
 [x] Package contains code, or permissable content
 [x] Included filenames are in UTF-8

 [-] Large documentation files are in a -doc subpackage, if required
 [-] Header files (.h) in -devel subpackage, if present
 [-] Fully versioned dependency in subpackage, if present
 [-] Static libraries (.a) in -static subpackage, if present
 [-] Package requires pkgconfig, if .pc files are present
 [-] Development .so files in -devel subpackage, if present
 [-] Package does not contain any libtool archives (.la)
 [-] -debuginfo subpackage is present and looks complete
 [x] No pre-built binaries (.a, .so*, executable)
 [-] Package contains a properly installed .desktop file if it is a GUI application
 [-] Follows desktop entry spec
 [-] Valid .desktop Name
 [-] Valid .desktop GenericName
 [-] Valid .desktop Categories
 [-] Valid .desktop StartupNotify
 [-] .desktop file installed with desktop-file-install in %install

 [-] Timestamps preserved with cp and install
 [-] Uses parallel make (%{?_smp_mflags})
 [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
 [?] Reviewer should test that the package builds in mock
     Tested on: F11/i386
 [x] Package should compile and build into binary RPMs on all supported
     Tested:  http://koji.fedoraproject.org/koji/taskinfo?taskID=1463566
 [x] Package functions as described
 [-] Scriptlets must be sane, if used
 [-] The placement of pkgconfig(.pc) files is correct
 [-] File based requires are sane
 [x] Changelog in allowed format

I see no further blocker, package APPROVED

Comment 4 Conrad Meyer 2009-07-09 18:09:05 UTC
Thanks for the review, Fabian!

New Package CVS Request
Package Name: python-zc-lockfile
Short Description: Basic Inter-Process Locks
Owners: konradm
Branches: F-11

Comment 5 Jason Tibbitts 2009-07-10 03:40:02 UTC
CVS done.

Comment 6 Conrad Meyer 2009-08-09 05:34:44 UTC
Build in rawhide: http://koji.fedoraproject.org/koji/taskinfo?taskID=1592527

Sorry for the delay.

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