Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 669509

Summary: Review Request: drupal6-rules - It allows site administrators to define conditionally executed actions
Product: [Fedora] Fedora Reporter: Peter Borsa <peter.borsa>
Component: Package ReviewAssignee: Paul W. Frields <stickster>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: fedora-package-review, notting, stickster, volker27
Target Milestone: ---Flags: stickster: fedora-review+
j: fedora-cvs+
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: drupal6-rules-1.4-4.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-01-26 17:14:08 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: 662103    

Description Peter Borsa 2011-01-13 20:30:37 UTC
Spec URL: http://asrob.fedorapeople.org/SOURCES/drupal6-rules.spec
SRPM URL: http://asrob.fedorapeople.org/SOURCES/drupal6-rules-1.4-1.fc14.src.rpm
Description: The rules modules allows site administrators to define conditionally executed actions based on occurring events (known as reactive or ECA rules). It's a replacement with more features for the trigger module in core and the successor of the Drupal 5 workflow-ng module.

rpmlint output:

[asrob@alice SPECS]$ rpmlint drupal6-rules.spec ../SRPMS/drupal6-rules-1.4-1.fc14.src.rpm ../RPMS/noarch/drupal6-rules-1.4-1.fc14.noarch.rpm
drupal6-rules.src: W: spelling-error %description -l en_US workflow -> work flow, work-flow, workforce
drupal6-rules.src: W: spelling-error %description -l en_US ng -> mg, n, g
drupal6-rules.noarch: W: spelling-error %description -l en_US workflow -> work flow, work-flow, workforce
drupal6-rules.noarch: W: spelling-error %description -l en_US ng -> mg, n, g
2 packages and 1 specfiles checked; 0 errors, 4 warnings.

koji output:

Task info: http://koji.fedoraproject.org/koji/taskinfo?taskID=2719943
Watching tasks (this may be safely interrupted)...
2719943 build (dist-f14, drupal6-rules-1.4-1.fc14.src.rpm): free
2719943 build (dist-f14, drupal6-rules-1.4-1.fc14.src.rpm): free -> open (ppc06.phx2.fedoraproject.org)
  2719944 buildArch (drupal6-rules-1.4-1.fc14.src.rpm, noarch): free
  2719944 buildArch (drupal6-rules-1.4-1.fc14.src.rpm, noarch): free -> open (x86-17.phx2.fedoraproject.org)
  2719944 buildArch (drupal6-rules-1.4-1.fc14.src.rpm, noarch): open (x86-17.phx2.fedoraproject.org) -> closed
  0 free  1 open  1 done  0 failed
2719943 build (dist-f14, drupal6-rules-1.4-1.fc14.src.rpm): open (ppc06.phx2.fedoraproject.org) -> closed
  0 free  0 open  2 done  0 failed

2719943 build (dist-f14, drupal6-rules-1.4-1.fc14.src.rpm) completed successfully

Comment 1 Volker Fröhlich 2011-01-18 13:42:52 UTC
Please correct the license to GPLv2+.

Comment 3 Paul W. Frields 2011-01-20 01:10:33 UTC
[ O K ] MUST: rpmlint must be run on every package. The output should be posted
in the review.

$ rpmlint rpmbuild/SPECS/drupal6-rules.spec rpmbuild/SRPMS/drupal6-rules-1.4-2.fc14.src.rpm rpmbuild/RPMS/noarch/drupal6-rules-1.4-2.fc14.noarch.rpm 
drupal6-rules.src: W: spelling-error %description -l en_US workflow -> work flow, work-flow, workfare
drupal6-rules.src: W: spelling-error %description -l en_US ng -> mg, n, g
drupal6-rules.noarch: W: spelling-error %description -l en_US workflow -> work flow, work-flow, workfare
drupal6-rules.noarch: W: spelling-error %description -l en_US ng -> mg, n, g
2 packages and 1 specfiles checked; 0 errors, 4 warnings.

All these spelling warnings can be ignored.

[ O K ] MUST: The package must be named according to the Package Naming
Guidelines.

[ O K ] MUST: The spec file name must match the base package %{name}, in the
format %{name}.spec unless your package has an exemption.

[ O K ] MUST: The package must meet the Packaging Guidelines.

[ O K ] MUST: The package must be licensed with a Fedora approved license and
meet the Licensing Guidelines.

[ O K ] MUST: The License field in the package spec file must match the actual
license. 

[ O K ] MUST: 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.

[ O K ] MUST: The spec file must be written in American English. 

[ O K ] MUST: The spec file for the package MUST be legible. 

[ O K ] 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.

$ md5sum rpmbuild/SOURCES/drupal6-rules-1.4/rules-6.x-1.4.tar.gz ; curl -s -o - http://ftp.drupal.org/files/projects/rules-6.x-1.4.tar.gz | md5sum -00d7543f88421950f5b123bf09a7008c  rpmbuild/SOURCES/drupal6-rules-1.4/rules-6.x-1.4.tar.gz
00d7543f88421950f5b123bf09a7008c  -

[ O K ] MUST: The package MUST successfully compile and build into binary rpms
on at least one primary architecture. 

[ O K ] 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. 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. 

[ O K ] MUST: 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.

[ O K ] MUST: The spec file MUST handle locales properly. This is done by using
the %find_lang macro. Using %{_datadir}/locale/* is strictly forbidden.

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

[ O K ] MUST: Packages must 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. Without this, use of Prefix: /usr is
considered a blocker. 

[ O K ] MUST: 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. 

[ O K ] MUST: A Fedora package must not list a file more than once in the spec
file's %files listings. (Notable exception: license texts in specific
situations)

[ O K ] MUST: Permissions on files must be set properly. Executables should be
set with executable permissions, for example. Every %files section must include
a %defattr(...) line. 

[ O K ] MUST: Each package must consistently use macros. 

[ O K ] MUST: The package must contain code, or permissable content. 

[ N/A ] MUST: Large documentation files must go in a -doc subpackage. (The
definition of large is left up to the packager's best judgement, but is not
restricted to size. Large can refer to either size or quantity). 

[ O K ] MUST: 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. 

[ 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: 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. 

[ N/A ] MUST: In the vast majority of cases, devel packages must require the
base package using a fully versioned dependency: Requires: %{name} =
%{version}-%{release} 

[ O K ] MUST: Packages must NOT contain any .la libtool archives, these must be
removed in the spec if they are built.

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

[ O K ] MUST: 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. 

[ O K ] MUST: All filenames in rpm packages must be valid UTF-8.

Module installs cleanly, and appears to work correctly.  APPROVED.

Comment 4 Peter Borsa 2011-01-20 07:12:56 UTC
New Package SCM Request
=======================
Package Name: drupal6-rules
Short Description: It allows site administrators to define conditionally executed actions.
Owners: asrob
Branches: f14 el5 el6
InitialCC:

Comment 5 Jason Tibbitts 2011-01-25 23:42:13 UTC
Git done (by process-git-requests).

Comment 6 Fedora Update System 2011-01-26 16:57:47 UTC
drupal6-rules-1.4-3.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/drupal6-rules-1.4-3.fc14

Comment 7 Fedora Update System 2011-01-26 17:05:05 UTC
drupal6-rules-1.4-3.el5 has been submitted as an update for Fedora EPEL 5.
https://admin.fedoraproject.org/updates/drupal6-rules-1.4-3.el5

Comment 8 Fedora Update System 2011-01-26 17:13:23 UTC
drupal6-rules-1.4-3.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/drupal6-rules-1.4-3.el6

Comment 9 Fedora Update System 2011-01-28 16:59:46 UTC
drupal6-rules-1.4-4.el5 has been submitted as an update for Fedora EPEL 5.
https://admin.fedoraproject.org/updates/drupal6-rules-1.4-4.el5

Comment 10 Fedora Update System 2011-01-28 17:14:21 UTC
drupal6-rules-1.4-4.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/drupal6-rules-1.4-4.el6

Comment 11 Fedora Update System 2011-03-28 17:27:06 UTC
drupal6-rules-1.4-4.el5 has been pushed to the Fedora EPEL 5 stable repository.

Comment 12 Fedora Update System 2011-03-28 17:28:13 UTC
drupal6-rules-1.4-4.el6 has been pushed to the Fedora EPEL 6 stable repository.