Bug 706359 - Review Request: lsx - List executables in a directory tree
Summary: Review Request: lsx - List executables in a directory tree
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jaromír Cápík
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-20 08:45 UTC by Petr Šabata
Modified: 2016-02-01 01:54 UTC (History)
5 users (show)

Fixed In Version: lsx-0.1-1.fc15
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-06-21 17:39:10 UTC
Type: ---
Embargoed:
jcapik: fedora-review+
gwync: fedora-cvs+


Attachments (Terms of Use)

Description Petr Šabata 2011-05-20 08:45:14 UTC
Spec URL: http://psabata.fedorapeople.org/pkgs/lsx/lsx.spec
SRPM URL: http://psabata.fedorapeople.org/pkgs/lsx/lsx-0.1-1.fc14.src.rpm
Description:
Prints all executable file names of given absolute paths to standard output.

Comment 1 Jaromír Cápík 2011-06-02 12:34:43 UTC
I'm gonna do this one.

Comment 2 Jaromír Cápík 2011-06-02 13:33:13 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: fedora-14-x86_64

[x]  Rpmlint output:

$ rpmlint lsx-0.1-1.fc14.x86_64.rpm 
lsx.x86_64: W: spelling-error Summary(en_US) executables -> executable, executable s, executants
lsx.x86_64: W: no-manual-page-for-binary lsx
1 packages and 0 specfiles checked; 0 errors, 2 warnings.

$ rpmlint lsx-debuginfo-0.1-1.fc14.x86_64.rpm 
1 packages and 0 specfiles checked; 0 errors, 0 warnings.

$ rpmlint lsx-0.1-1.fc14.src.rpm 
lsx.src: W: spelling-error Summary(en_US) executables -> executable, executable s, executants
1 packages and 0 specfiles checked; 0 errors, 1 warnings.

[x]  Package is not relocatable.
[x]  Package does NOT include BuildRoot tag, clean section or buildroot removal in install section
[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: MIT

[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 matches the upstream source, as provided in the spec URL.

MD5SUM this package    : d48fdce9868b13bf5ef3e7834768f89f
MD5SUM upstream package: d48fdce9868b13bf5ef3e7834768f89f

[x]  Package is not known to require ExcludeArch, OR:

Arches excluded: -
Why: -

[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 -- package requires gettext and uses find_lang, if applicable
[-]  ldconfig called in %post and %postun if required.
[x]  Package must own all directories that it creates.
[-]  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 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.
[-]  All desktop files are installed by desktop-file-install or justified otherwise
[x]  Package does not own files or directories owned by other packages.
[x]  Package does NOT include/bundle any pre-built binaries or libraries, fonts or other general purpose data
[x]  Changelog present in the spec file and is properly formatted
[x]  Package does NOT include Packager, Vendor, Copyright or PreReq tags
[x]  All documentation prefixed with %doc
[x]  No files in %doc are needed at run-time
[x]  Compiler flags honor Fedora defaults or are justified
[x]  Package generates useful debuginfo packages
[x]  Package contains no static executables unless approved by FESCo
[-]  All config files are marked noreplace or justified otherwise
[x]  No config files are located under /usr
[-]  Package contains a SystemV-compatible initscript, if applicable
[-]  makeinstall macro is used only if make install DESTDIR=%{buildroot} does NOT work
[-]  globals used in place of defines
[x]  Package does NOT cause any conflicts
[x]  Package does NOT contain kernel modules
[x]  Final Requires and Provides are sane
[x]  Macros in Summary and description are expandable at build-time"

=== 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: fedora-rawhide-x86_64

[x]  Package should preserve files timestamps
[x]  Package does NOT explicitly BuildRequire bash, bzip2, coreutils, cpio, diffutils, fedora-release, findutils, gawk, gcc, gcc-c++, grep, gzip, info, make, patch, redhat-rpm-config, rpm-build, sed, shadow-utils, tar, unzip, util-linux-ng, which or xz
[x]  Package functions as described.
[-]  Scriptlets must be sane, if used.
[-]  The placement of pkgconfig(.pc) files are correct.
[-]  File based requires are sane.


================
*** APPROVED ***
================

Comment 3 Petr Šabata 2011-06-02 13:38:32 UTC
New Package SCM Request
=======================
Package Name: lsx
Short Description: List executables in a directory tree
Owners: psabata
Branches: f15
InitialCC:

Comment 4 Gwyn Ciesla 2011-06-02 14:36:03 UTC
Git done (by process-git-requests).

Comment 5 Petr Šabata 2011-06-02 14:39:25 UTC
Thank you for the review and the repository.

Comment 6 Fedora Update System 2011-06-02 15:00:02 UTC
lsx-0.1-1.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/lsx-0.1-1.fc15

Comment 7 Fedora Update System 2011-06-03 05:26:44 UTC
lsx-0.1-1.fc15 has been pushed to the Fedora 15 testing repository.

Comment 8 Pavel Alexeev 2011-06-17 14:50:03 UTC
Sorry, but not is it just equivalent to:
find -type f -executable

There much more powerfull also.

Comment 9 Petr Šabata 2011-06-17 14:56:41 UTC
(In reply to comment #8)
> Sorry, but not is it just equivalent to:
> find -type f -executable
> 
> There much more powerfull also.

No, this is not recursive :)

This is a simple tool for a simple thing. Try using that find construct every day -- you'll have to create an alias or a script. Or maybe a binary? And here we are.

Also, this is going to be a dependency for future versions of dmenu, if you need some justifications for it to be in Fedora.

Comment 10 Fedora Update System 2011-06-21 17:39:04 UTC
lsx-0.1-1.fc15 has been pushed to the Fedora 15 stable repository.


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