Bug 813416

Summary: Review Request: drupal6-views_bonus - miscellaneous features that aren't distributed by Views itself
Product: [Fedora] Fedora Reporter: Anderson Silva <ansilva>
Component: Package ReviewAssignee: Wesley Hearn <whearn>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: notting, package-review, shawn, whearn
Target Milestone: ---Flags: whearn: fedora-review+
gwync: fedora-cvs+
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: drupal6-views_bonus-1.1-4.fc17 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-05-04 15:58:26 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Anderson Silva 2012-04-17 17:34:00 UTC
Spec URL: http://people.redhat.com/~ansilva/drupal6-views_bonus.spec
SRPM URL: http://people.redhat.com/~ansilva/drupal6-views_bonus-1.1-2.fc16.src.rpm
Description: This group of modules is sort of a recipe module that makes things easier by showing how to integrate some other modules as well as providing miscellaneous features that aren't distributed by Views itself.

Comment 1 Wesley Hearn 2012-04-20 17:40:16 UTC
I will take this

Comment 2 Wesley Hearn 2012-04-20 20:00:25 UTC
Spec file is named wrong. Should be named drupal6-views_bonus.spec, 
http://fedoraproject.org/wiki/Packaging/NamingGuidelines#Spec_file_name

Comment 3 Anderson Silva 2012-04-20 20:04:17 UTC
it is named: drupal6-views_bonus.spec (there is a "views-bonus" on the host, but the link above it so drupal6-views_bonus.spec

Comment 4 Wesley Hearn 2012-04-20 20:08:25 UTC
[0]whearn@Doom:~/Downloads $ rpm -qlp drupal6-views_bonus-1.1-2.fc16.src.rpm 
LICENSE.txt
drupal6-views-bonus.spec
views_bonus-6.x-1.1.tar.gz

Comment 5 Anderson Silva 2012-04-20 20:19:42 UTC
doh! can you wget the src rpm again... it should be fixed.

Comment 6 Wesley Hearn 2012-04-20 20:36:17 UTC
Ok, one small thing left it looks like, the README.txt should be listed in %doc.

Comment 8 Wesley Hearn 2012-04-23 14:06:33 UTC
You forgot to add the README.txt to exclude. 
It should be something like

  48 %doc LICENSE.txt README.txt
  49 %exclude %{drupal_modules}/%{modname}/LICENSE.txt
  50 %exclude %{drupal_modules}/%{modname}/README.txt

Comment 10 Wesley Hearn 2012-04-24 13:08:39 UTC
Good: MUST: rpmlint must be run on the source rpm and all binary rpms the build produces. The output should be posted in the review.
[0]whearn@Desktop:/var/lib/mock/fedora-16-x86_64/result $ ls
build.log                                  root.log
drupal6-views_bonus-1.1-4.fc16.noarch.rpm  state.log
drupal6-views_bonus-1.1-4.fc16.src.rpm
[09:03 AM]
[0]whearn@Desktop:/var/lib/mock/fedora-16-x86_64/result $ rpmlint drupal6*.rpm
2 packages and 0 specfiles checked; 0 errors, 0 warnings.


Good: MUST: The package must be named according to the Package Naming Guidelines .
Good: MUST: The spec file name must match the base package %{name}, in the format %{name}.spec unless your package has an exemption. 
Good: MUST: The package must meet the Packaging Guidelines .
Good: MUST: The package must be licensed with a Fedora approved license and meet the Licensing Guidelines .
See Note: MUST: The License field in the package spec file must match the actual license. 
Good: 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.
Good: MUST: The spec file must be written in American English. 
Good: MUST: The spec file for the package MUST be legible. 
Good: 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.
[0]whearn@Doom:~/rpmbuild/SOURCES $ md5sum views_bonus-6.x-1.1.tar.gz 
160b37741523d9d833a206da0a7b101c  views_bonus-6.x-1.1.tar.gz
[03:54 PM]
[0]whearn@Doom:~/rpmbuild/SOURCES $ curl http://ftp.drupal.org/files/projects/views_bonus-6.x-1.1.tar.gz | md5sum -
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 17832  100 17832    0     0   168k      0 --:--:-- --:--:-- --:--:--  272k
160b37741523d9d833a206da0a7b101c  -

noarch: MUST: The package MUST successfully compile and build into binary rpms on at least one primary architecture. 
noarch: 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. 
Good: 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.
Good: MUST: The spec file MUST handle locales properly. This is done by using the %find_lang macro. Using %{_datadir}/locale/* is strictly forbidden.
noarch: 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. 
Good: MUST: Packages must NOT bundle copies of system libraries.
Good: 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. 
Good: 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. 
Good: 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)
Good: MUST: Permissions on files must be set properly. Executables should be set with executable permissions, for example. 
Good: MUST: Each package must consistently use macros. 
Good: MUST: The package must contain code, or permissable content. 
Good: 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). 
Good: 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. 
Good: MUST: Static libraries must be in a -static package. 
Good: MUST: Development files must be in a -devel package. 
Good: MUST: In the vast majority of cases, devel packages must require the base package using a fully versioned dependency: Requires: %{name}%{?_isa} = %{version}-%{release} 
Good: MUST: Packages must NOT contain any .la libtool archives, these must be removed in the spec if they are built.
Good: 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. 
Good: 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. 
Good: MUST: All filenames in rpm packages must be valid UTF-8.

NOTE: Please submit a patch upstream for the LICENSE.txt so they will update theirs with the correct address of the FSF.

Comment 11 Anderson Silva 2012-04-24 13:31:19 UTC
New Package SCM Request
=======================
Package Name: drupal6-views_bonus
Short Description: Views Bonus module for Drupal6
Owners: afsilva
Branches: f16 f17 el6

Comment 12 Gwyn Ciesla 2012-04-24 13:37:48 UTC
Git done (by process-git-requests).

Comment 13 Fedora Update System 2012-04-25 17:40:37 UTC
drupal6-views_bonus-1.1-4.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/drupal6-views_bonus-1.1-4.el6

Comment 14 Fedora Update System 2012-04-25 17:55:50 UTC
drupal6-views_bonus-1.1-4.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/drupal6-views_bonus-1.1-4.fc16

Comment 15 Fedora Update System 2012-04-25 17:57:01 UTC
drupal6-views_bonus-1.1-4.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/drupal6-views_bonus-1.1-4.fc17

Comment 16 Fedora Update System 2012-04-26 19:29:37 UTC
drupal6-views_bonus-1.1-4.fc17 has been pushed to the Fedora 17 testing repository.

Comment 17 Fedora Update System 2012-05-04 15:58:26 UTC
drupal6-views_bonus-1.1-4.el6 has been pushed to the Fedora EPEL 6 stable repository.

Comment 18 Fedora Update System 2012-05-04 20:27:53 UTC
drupal6-views_bonus-1.1-4.fc16 has been pushed to the Fedora 16 stable repository.

Comment 19 Fedora Update System 2012-05-04 23:08:21 UTC
drupal6-views_bonus-1.1-4.fc17 has been pushed to the Fedora 17 stable repository.

Comment 20 Shawn Iwinski 2013-03-23 05:14:58 UTC
Package Change Request
======================
Package Name: drupal6-views_bonus
New Branches: el5
Owners: ansilva siwinski
InitialCC: 

Adding el5 branch to follow most other drupal6 packages.

Comment 21 Gwyn Ciesla 2013-03-23 12:55:36 UTC
Git done (by process-git-requests).