Bug 1430364 - Review Request: argbash - Bash argument parsing code generator
Summary: Review Request: argbash - Bash argument parsing code generator
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: James Hogarth
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-03-08 13:07 UTC by Stephen Gallagher
Modified: 2017-11-11 02:55 UTC (History)
5 users (show)

Fixed In Version: argbash-2.5.0-1.fc28
Clone Of:
Environment:
Last Closed: 2017-11-01 00:05:03 UTC
Type: ---
Embargoed:
james.hogarth: fedora-review+


Attachments (Terms of Use)

Description Stephen Gallagher 2017-03-08 13:07:12 UTC
Spec URL: https://sgallagh.fedorapeople.org/packagereview/argbash/argbash.spec
SRPM URL: https://sgallagh.fedorapeople.org/packagereview/argbash/argbash-2.3.0-0.1.fc26.src.rpm
Description:
Argbash helps your shell scripts to accept arguments.
You declare what arguments you want your script to accept and Argbash
generates the shell code that parses them from the command-line and exposes
passed values as shell variables.

Help message is also generated, and helpful error messages are dispatched
if the script is called with arguments that conflict with the interface.

Fedora Account System Username: sgallagh

Comment 1 Stephen Gallagher 2017-03-08 13:07:43 UTC
COPR: https://copr.fedorainfracloud.org/coprs/sgallagh/argbash/

Comment 2 Matthew Smith 2017-05-23 21:45:24 UTC
Just to start with, this is an informal review and I am not a packager.

>srpm/argbash.spec:48: E: hardcoded-library-path in %{_prefix}/lib/argbash/

I think that %{_prefix}/lib/argbash/ should be changed to %{_libdir}/argbash

>argbash.noarch: W: no-manual-page-for-binary argbash
>argbash.noarch: W: no-manual-page-for-binary argbash-1to2
>argbash.noarch: W: no-manual-page-for-binary argbash-init

Additionally there are no manpages, however I don't think that this is a big issue because of the built in help.

Other than that looks good to me :)

Comment 3 James Hogarth 2017-05-23 21:55:05 UTC
No need to block Stephen's on needing a sponsor :)

The best way to carry out a review, especially whilst learning, is to use the fedora-review tool and to paste the results of using it in the review.

Whilst I'm here I might as well pick this up :)

Matt if you can do the fedora-review magic, and then I'll review your findings and confirm with the official review.

Comment 4 Matěj Týč 2017-05-23 22:40:55 UTC
Hello guys,
I am the upstream developer, so you can count on me if you would like to provide me with feedback regarding the packaging.
FYI, the spec file is part of the git repository on Github:
https://github.com/matejak/argbash/blob/master/resources/packages/rpm/argbash.spec.in

Comment 5 Matthew Smith 2017-05-24 10:43:12 UTC
Apologies, here is my updated (unofficial) review.

Package Review
==============

Legend:
[x] = Pass, [!] = Fail, [-] = Not applicable, [?] = Not evaluated

Issues:
=======
- All build dependencies are listed in BuildRequires, except for any that
  are listed in the exceptions section of Packaging Guidelines.
  Note: These BR are not needed: coreutils make bash
  See: http://fedoraproject.org/wiki/Packaging/Guidelines#Exceptions_2


===== MUST items =====

Generic:
[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.
     Note: Checking patched sources after %prep for licenses. Licenses
     found: "BSD (3 clause)", "Unknown or generated", "*No copyright* BSD
     (unspecified)". 106 files have unknown license. Detailed output of
     licensecheck in /home/matt/1430364-argbash/licensecheck.txt
[x]: Package contains no bundled libraries without FPC exception.
[x]: Changelog in prescribed format.
[x]: Sources contain only permissible code or content.
[-]: Package contains desktop file if it is a GUI application.
[x]: Development files must be in a -devel package
[x]: Package uses nothing in %doc for runtime.
[!]: Package consistently uses macros (instead of hard-coded directory
     names).
[x]: Package is named according to the Package Naming Guidelines.
[x]: Package does not generate any conflict.
[x]: Package obeys FHS, except libexecdir and /usr/target.
[-]: If the package is a rename of another package, proper Obsoletes and
     Provides are present.
[x]: Requires correct, justified where necessary.
[x]: Spec file is legible and written in American English.
[-]: Package contains systemd file(s) if in need.
[x]: Package is not known to require an ExcludeArch tag.
[-]: Large documentation must go in a -doc subpackage. Large could be size
     (~1MB) or number of files.
     Note: Documentation size is 20480 bytes in 2 files.
[x]: Package complies to the Packaging Guidelines
[x]: Package successfully compiles and builds into binary rpms on at least
     one supported primary architecture.
[x]: Package installs properly.
[x]: Rpmlint is run on all rpms the build produces.
     Note: There are rpmlint messages (see attachment).
[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 %license.
[x]: Package requires other packages for directories it uses.
[x]: Package must own all directories that it creates.
[x]: Package does not own files or directories owned by other packages.
[x]: Package uses either %{buildroot} or $RPM_BUILD_ROOT
[x]: Package does not run rm -rf %{buildroot} (or $RPM_BUILD_ROOT) at the
     beginning of %install.
[x]: Macros in Summary, %description expandable at SRPM build time.
[x]: Dist tag is present.
[x]: Package does not contain duplicates in %files.
[x]: Permissions on files are set properly.
[x]: Package use %makeinstall only when make install DESTDIR=... doesn't
     work.
[x]: Package is named using only allowed ASCII characters.
[x]: Package does not use a name that already exists.
[x]: Package is not relocatable.
[x]: Sources used to build the package match the upstream source, as
     provided in the spec URL.
[x]: Spec file name must match the spec package %{name}, in the format
     %{name}.spec.
[x]: File names are valid UTF-8.
[x]: Packages must not store files under /srv, /opt or /usr/local

===== SHOULD items =====

Generic:
[x]: If the source package does not include license text(s) as a separate
     file from upstream, the packager SHOULD query upstream to include it.
[x]: Final provides and requires are sane (see attachments).
[x]: Package functions as described.
[!]: 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.
[-]: Package should compile and build into binary rpms on all supported
     architectures.
[x]: %check is present and all tests pass.
[x]: Packages should try to preserve timestamps of original installed
     files.
[x]: Reviewer should test that the package builds in mock.
[x]: Buildroot is not present
[x]: Package has no %clean section with rm -rf %{buildroot} (or
     $RPM_BUILD_ROOT)
[x]: No file requires outside of /etc, /bin, /sbin, /usr/bin, /usr/sbin.
[x]: Packager, Vendor, PreReq, Copyright tags should not be in spec file
[x]: Sources can be downloaded from URI in Source: tag
[x]: SourceX is a working URL.
[x]: Spec use %global instead of %define unless justified.

===== EXTRA items =====

Generic:
[x]: Rpmlint is run on all installed packages.
     Note: There are rpmlint messages (see attachment).
[x]: Spec file according to URL is the same as in SRPM.


Rpmlint
-------
Checking: argbash-2.3.0-0.1.fc27.noarch.rpm
          argbash-2.3.0-0.1.fc27.src.rpm
argbash.noarch: W: only-non-binary-in-usr-lib
argbash.noarch: W: no-manual-page-for-binary argbash
argbash.noarch: W: no-manual-page-for-binary argbash-1to2
argbash.noarch: W: no-manual-page-for-binary argbash-init
argbash.src:48: E: hardcoded-library-path in %{_prefix}/lib/argbash/
2 packages and 0 specfiles checked; 1 errors, 4 warnings.




Rpmlint (installed packages)
----------------------------
sh: /usr/bin/python: No such file or directory
argbash.noarch: W: only-non-binary-in-usr-lib
argbash.noarch: W: no-manual-page-for-binary argbash
argbash.noarch: W: no-manual-page-for-binary argbash-1to2
argbash.noarch: W: no-manual-page-for-binary argbash-init
1 packages and 0 specfiles checked; 0 errors, 4 warnings.



Requires
--------
argbash (rpmlib, GLIBC filtered):
    /bin/bash
    autoconf
    bash
    coreutils



Provides
--------
argbash:
    argbash



Source checksums
----------------
https://github.com/matejak/argbash/archive/2.3.0/argbash-2.3.0.tar.gz :
  CHECKSUM(SHA256) this package     : e54019a6d15becada69979391adf5a68ad8c0acb4a8149c55b9deecf81f90af8
  CHECKSUM(SHA256) upstream package : e54019a6d15becada69979391adf5a68ad8c0acb4a8149c55b9deecf81f90af8


Generated by fedora-review 0.6.1 (f03e4e7) last change: 2016-05-02
Command line :/usr/bin/fedora-review -b 1430364 -o=--no-bootstrap-chroot -m fedora-rawhide-x86_64
Buildroot used: fedora-rawhide-x86_64
Active plugins: Generic, Shell-api
Disabled plugins: Java, C/C++, Python, fonts, SugarActivity, Ocaml, Perl, Haskell, R, PHP
Disabled flags: EXARCH, DISTTAG, EPEL5, BATCH, EPEL6

Comment 6 Stephen Gallagher 2017-05-24 17:01:06 UTC
(In reply to Matthew Smith from comment #5)
> Apologies, here is my updated (unofficial) review.
> 
> Package Review
> ==============
> 
> Legend:
> [x] = Pass, [!] = Fail, [-] = Not applicable, [?] = Not evaluated
> 
> Issues:
> =======
> - All build dependencies are listed in BuildRequires, except for any that
>   are listed in the exceptions section of Packaging Guidelines.
>   Note: These BR are not needed: coreutils make bash
>   See: http://fedoraproject.org/wiki/Packaging/Guidelines#Exceptions_2
> 

https://fedoraproject.org/wiki/Packaging:Guidelines#BuildRequires_2 says:

"you should not assume any other packages are present as RPM dependencies and anything brought into the buildroot by the build system may change over time."

I'm not sure which old list you were looking at, but these days it's generally considered to be better if we explicitly include anything we know that we rely upon. Redundancy is less of a problem than missing something.

> ===== SHOULD items =====
> 
> Generic:
> [x]: If the source package does not include license text(s) as a separate
>      file from upstream, the packager SHOULD query upstream to include it.
> [x]: Final provides and requires are sane (see attachments).
> [x]: Package functions as described.
> [!]: Latest version is packaged.

Well, 2.3.0 was the latest when I initially submitted this :)

I'll update to 2.4.0 with my next pass.

> 
> Rpmlint
> -------
> Checking: argbash-2.3.0-0.1.fc27.noarch.rpm
>           argbash-2.3.0-0.1.fc27.src.rpm
> argbash.noarch: W: only-non-binary-in-usr-lib
> argbash.noarch: W: no-manual-page-for-binary argbash
> argbash.noarch: W: no-manual-page-for-binary argbash-1to2
> argbash.noarch: W: no-manual-page-for-binary argbash-init

Upstream has no manpages.

> argbash.src:48: E: hardcoded-library-path in %{_prefix}/lib/argbash/
> 2 packages and 0 specfiles checked; 1 errors, 4 warnings.
> 

Fixed.

Comment 8 Matthew Smith 2017-05-26 07:32:36 UTC
Sorry for the delay, here is my review of 2.4.0

Package Review
==============

Legend:
[x] = Pass, [!] = Fail, [-] = Not applicable, [?] = Not evaluated


===== MUST items =====

Generic:
[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.
     Note: Checking patched sources after %prep for licenses. Licenses
     found: "BSD (3 clause)", "Unknown or generated", "*No copyright* BSD
     (unspecified)". 107 files have unknown license. Detailed output of
     licensecheck in /home/matt/1430364-argbash-2.4.0-0.1/licensecheck.txt
[x]: Package contains no bundled libraries without FPC exception.
[x]: Changelog in prescribed format.
[x]: Sources contain only permissible code or content.
[-]: Package contains desktop file if it is a GUI application.
[x]: Development files must be in a -devel package
[x]: Package uses nothing in %doc for runtime.
[x]: Package consistently uses macros (instead of hard-coded directory
     names).
[x]: Package is named according to the Package Naming Guidelines.
[x]: Package does not generate any conflict.
[x]: Package obeys FHS, except libexecdir and /usr/target.
[x]: If the package is a rename of another package, proper Obsoletes and
     Provides are present.
[x]: Requires correct, justified where necessary.
[x]: Spec file is legible and written in American English.
[-]: Package contains systemd file(s) if in need.
[x]: Package is not known to require an ExcludeArch tag.
[-]: Large documentation must go in a -doc subpackage. Large could be size
     (~1MB) or number of files.
     Note: Documentation size is 20480 bytes in 2 files.
[x]: Package complies to the Packaging Guidelines
[x]: Package successfully compiles and builds into binary rpms on at least
     one supported primary architecture.
[x]: Package installs properly.
[x]: Rpmlint is run on all rpms the build produces.
     Note: There are rpmlint messages (see attachment).
[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 %license.
[x]: Package requires other packages for directories it uses.
[x]: Package must own all directories that it creates.
[x]: Package does not own files or directories owned by other packages.
[x]: Package uses either %{buildroot} or $RPM_BUILD_ROOT
[x]: Package does not run rm -rf %{buildroot} (or $RPM_BUILD_ROOT) at the
     beginning of %install.
[x]: Macros in Summary, %description expandable at SRPM build time.
[x]: Dist tag is present.
[x]: Package does not contain duplicates in %files.
[x]: Permissions on files are set properly.
[x]: Package use %makeinstall only when make install DESTDIR=... doesn't
     work.
[x]: Package is named using only allowed ASCII characters.
[x]: Package does not use a name that already exists.
[x]: Package is not relocatable.
[x]: Sources used to build the package match the upstream source, as
     provided in the spec URL.
[x]: File names are valid UTF-8.
[x]: Packages must not store files under /srv, /opt or /usr/local

===== SHOULD items =====

Generic:
[x]: If the source package does not include license text(s) as a separate
     file from upstream, the packager SHOULD query upstream to include it.
[x]: Final provides and requires are sane (see attachments).
[x]: Package functions as described.
[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.
[-]: Package should compile and build into binary rpms on all supported
     architectures.
[x]: %check is present and all tests pass.
[x]: Packages should try to preserve timestamps of original installed
     files.
[x]: Reviewer should test that the package builds in mock.
[x]: Buildroot is not present
[x]: Package has no %clean section with rm -rf %{buildroot} (or
     $RPM_BUILD_ROOT)
[x]: No file requires outside of /etc, /bin, /sbin, /usr/bin, /usr/sbin.
[x]: Packager, Vendor, PreReq, Copyright tags should not be in spec file
[x]: Sources can be downloaded from URI in Source: tag
[x]: SourceX is a working URL.
[x]: Spec use %global instead of %define unless justified.

===== EXTRA items =====

Generic:
[x]: Rpmlint is run on all installed packages.
     Note: There are rpmlint messages (see attachment).
[x]: Spec file according to URL is the same as in SRPM.


Rpmlint
-------
Checking: argbash-2.4.0-0.1.fc27.noarch.rpm
          argbash-2.4.0-0.1.fc27.src.rpm
argbash.noarch: W: only-non-binary-in-usr-lib
argbash.noarch: W: no-manual-page-for-binary argbash
argbash.noarch: W: no-manual-page-for-binary argbash-1to2
argbash.noarch: W: no-manual-page-for-binary argbash-init
argbash.src:48: W: libdir-macro-in-noarch-package (main package) %{_libdir}/argbash/
2 packages and 0 specfiles checked; 0 errors, 5 warnings.




Rpmlint (installed packages)
----------------------------
sh: /usr/bin/python: No such file or directory
argbash.noarch: W: only-non-binary-in-usr-lib
argbash.noarch: W: no-manual-page-for-binary argbash
argbash.noarch: W: no-manual-page-for-binary argbash-1to2
argbash.noarch: W: no-manual-page-for-binary argbash-init
1 packages and 0 specfiles checked; 0 errors, 4 warnings.



Requires
--------
argbash (rpmlib, GLIBC filtered):
    /bin/bash
    autoconf
    bash
    coreutils



Provides
--------
argbash:
    argbash



Source checksums
----------------
https://github.com/matejak/argbash/archive/2.4.0/argbash-2.4.0.tar.gz :
  CHECKSUM(SHA256) this package     : e48a19ba70cf88a5133a03f72cd9840e278676273081f5fcab03e154fad57c44
  CHECKSUM(SHA256) upstream package : e48a19ba70cf88a5133a03f72cd9840e278676273081f5fcab03e154fad57c44


Generated by fedora-review 0.6.1 (f03e4e7) last change: 2016-05-02
Command line :/usr/bin/fedora-review -b 1430364 -o=--no-bootstrap-chroot -m fedora-rawhide-x86_64
Buildroot used: fedora-rawhide-x86_64
Active plugins: Generic, Shell-api
Disabled plugins: Java, C/C++, Python, fonts, SugarActivity, Ocaml, Perl, Haskell, R, PHP
Disabled flags: EXARCH, DISTTAG, EPEL5, BATCH, EPEL6

Comment 9 Stephen Gallagher 2017-05-26 12:17:49 UTC
(In reply to Matthew Smith from comment #8)

> argbash.src:48: W: libdir-macro-in-noarch-package (main package)
> %{_libdir}/argbash/

Oh, right. *That's* why I hadn't been using %{_libdir} originally. I couldn't remember why I hadn't moved it, but it's because it needs to be consistent regardless of which architecture it ends up installed on.

I'll switch that back.

Comment 11 Stephen Gallagher 2017-08-31 21:09:11 UTC
PING? This has gone unattended for a while.

Comment 12 James Hogarth 2017-10-13 10:35:37 UTC
Apologies for the delay...

Package Review
==============

Legend:
[x] = Pass, [!] = Fail, [-] = Not applicable, [?] = Not evaluated


Issues:
=======
- Spec file name must match the spec package %{name}, in the format
  %{name}.spec.
  Note: argbash-2.4.0-0.2.spec should be argbash.spec
  See:
  http://fedoraproject.org/wiki/Packaging/NamingGuidelines#Spec_file_name
    - On import please ensure this is named appropriately
- Shell script uses sed
    - Please add to requires to be explicit
- Shell script uses grep
    - Please add to requires to be explicit
- Latest version is 2.5.0
    - Not a blocker - assume you'll be updating
- The makefile installs without -p on the cp
    - Not a blocker - suggest upstream be notified about -p
- Is /lib/argbash appropriate since it's non-binary arch independant files?
    - A better prefix given the nature of the files might be /usr/share/argbash
    - Not convinced it's a blocker as I think it still falls within FHS overall,
      but it is worth considering the most appropriate location for the *.m4 files
      and it feels to me like /usr/share is far more appropriate.

===== MUST items =====

Generic:
[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.
     Note: Checking patched sources after %prep for licenses. Licenses
     found: "BSD (3 clause)", "Unknown or generated", "*No copyright* BSD
     (unspecified)". 107 files have unknown license. Detailed output of
     licensecheck in /home/james/workspace/fedora-
     scm/1430364-argbash-2.4.0-0.2/licensecheck.txt
[x]: Package contains no bundled libraries without FPC exception.
[x]: Changelog in prescribed format.
[x]: Sources contain only permissible code or content.
[-]: Package contains desktop file if it is a GUI application.
[-]: Development files must be in a -devel package
[x]: Package uses nothing in %doc for runtime.
[x]: Package consistently uses macros (instead of hard-coded directory
     names).
[x]: Package is named according to the Package Naming Guidelines.
[x]: Package does not generate any conflict.
[x]: Package obeys FHS, except libexecdir and /usr/target.
[-]: If the package is a rename of another package, proper Obsoletes and
     Provides are present.
[!]: Requires correct, justified where necessary.
[x]: Spec file is legible and written in American English.
[-]: Package contains systemd file(s) if in need.
[x]: Package is not known to require an ExcludeArch tag.
[-]: Large documentation must go in a -doc subpackage. Large could be size
     (~1MB) or number of files.
     Note: Documentation size is 20480 bytes in 2 files.
[x]: Package complies to the Packaging Guidelines
[x]: Package successfully compiles and builds into binary rpms on at least
     one supported primary architecture.
[x]: Package installs properly.
[x]: Rpmlint is run on all rpms the build produces.
     Note: There are rpmlint messages (see attachment).
[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 %license.
[x]: Package requires other packages for directories it uses.
[x]: Package must own all directories that it creates.
[x]: Package does not own files or directories owned by other packages.
[x]: Package uses either %{buildroot} or $RPM_BUILD_ROOT
[x]: Package does not run rm -rf %{buildroot} (or $RPM_BUILD_ROOT) at the
     beginning of %install.
[x]: Macros in Summary, %description expandable at SRPM build time.
[x]: Dist tag is present.
[x]: Package does not contain duplicates in %files.
[x]: Permissions on files are set properly.
[x]: Package use %makeinstall only when make install DESTDIR=... doesn't
     work.
[x]: Package is named using only allowed ASCII characters.
[x]: Package does not use a name that already exists.
[x]: Package is not relocatable.
[x]: Sources used to build the package match the upstream source, as
     provided in the spec URL.
[x]: File names are valid UTF-8.
[x]: Packages must not store files under /srv, /opt or /usr/local

===== SHOULD items =====

Generic:
[-]: If the source package does not include license text(s) as a separate
     file from upstream, the packager SHOULD query upstream to include it.
[!]: Final provides and requires are sane (see attachments).
[x]: Package functions as described.
[!]: 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]: Package should compile and build into binary rpms on all supported
     architectures.
[x]: %check is present and all tests pass.
[!]: Packages should try to preserve timestamps of original installed
     files.
[x]: Reviewer should test that the package builds in mock.
[x]: Buildroot is not present
[x]: Package has no %clean section with rm -rf %{buildroot} (or
     $RPM_BUILD_ROOT)
[x]: No file requires outside of /etc, /bin, /sbin, /usr/bin, /usr/sbin.
[x]: Packager, Vendor, PreReq, Copyright tags should not be in spec file
[x]: Sources can be downloaded from URI in Source: tag
[x]: SourceX is a working URL.
[x]: Spec use %global instead of %define unless justified.

===== EXTRA items =====

Generic:
[x]: Rpmlint is run on all installed packages.
     Note: There are rpmlint messages (see attachment).
[x]: Spec file according to URL is the same as in SRPM.


Rpmlint
-------
Checking: argbash-2.4.0-0.2.fc28.noarch.rpm
          argbash-2.4.0-0.2.fc28.src.rpm
argbash.noarch: W: only-non-binary-in-usr-lib
argbash.noarch: W: no-manual-page-for-binary argbash
argbash.noarch: W: no-manual-page-for-binary argbash-1to2
argbash.noarch: W: no-manual-page-for-binary argbash-init
argbash.src:34: E: hardcoded-library-path in %{_prefix}/lib
argbash.src:47: E: hardcoded-library-path in %{_prefix}/lib/argbash/
2 packages and 0 specfiles checked; 2 errors, 4 warnings.




Rpmlint (installed packages)
----------------------------
sh: /usr/bin/python: No such file or directory
argbash.noarch: W: invalid-url URL: https://argbash.io <urlopen error [Errno -2] Name or service not known>
argbash.noarch: W: only-non-binary-in-usr-lib
argbash.noarch: W: no-manual-page-for-binary argbash
argbash.noarch: W: no-manual-page-for-binary argbash-1to2
argbash.noarch: W: no-manual-page-for-binary argbash-init
1 packages and 0 specfiles checked; 0 errors, 5 warnings.



Requires
--------
argbash (rpmlib, GLIBC filtered):
    /bin/bash
    autoconf
    bash
    coreutils



Provides
--------
argbash:
    argbash



Source checksums
----------------
https://github.com/matejak/argbash/archive/2.4.0/argbash-2.4.0.tar.gz :
  CHECKSUM(SHA256) this package     : e48a19ba70cf88a5133a03f72cd9840e278676273081f5fcab03e154fad57c44
  CHECKSUM(SHA256) upstream package : e48a19ba70cf88a5133a03f72cd9840e278676273081f5fcab03e154fad57c44


Generated by fedora-review 0.6.1 (f03e4e7) last change: 2016-05-02
Command line :/usr/bin/fedora-review -m fedora-rawhide-x86_64 -b 1430364
Buildroot used: fedora-rawhide-x86_64
Active plugins: Generic, Shell-api
Disabled plugins: Java, C/C++, Python, fonts, SugarActivity, Ocaml, Perl, Haskell, R, PHP
Disabled flags: EXARCH, DISTTAG, EPEL5, BATCH, EPEL6


== Summary ==

I need some convincing on /usr/lib/argbash being the appropriate location for the *.m4 files used by argbash, especially since the makefile allows this to be relocated.

It feels like this goes against the spirit of FHS, even if I agree it's not against the letter. Usually application data, as opposed to libraries that get imported or linked, go in /usr/share/<app> and the files involved feel more like that type of thing ... as a library would be sourced rather than run via a tool.

Provide an argument for that pretty please?

Other than that the requires should explicitly include grep and sed as argbash directly executes these.

Comment 13 Stephen Gallagher 2017-10-16 14:11:18 UTC
Spec: https://sgallagh.fedorapeople.org/packagereview/argbash/argbash.spec
SRPM: https://sgallagh.fedorapeople.org/packagereview/argbash/argbash-2.5.0-0.3.fc27.src.rpm
Scratch-build: https://koji.fedoraproject.org/koji/taskinfo?taskID=22485375


BTW, the actual spec file inside the SRPM was never argbash-2.4.0-0.2.spec. I had just renamed the version I uploaded to fedorapeople so that it could be compared with the prior version. I've since renamed it to just argbash.spec

You convinced me that it belongs in /usr/share, so I made that change. I also added the missing `Requires:`.

I've submitted a patch upstream for `cp -p` at https://github.com/matejak/argbash/pull/28

Comment 14 James Hogarth 2017-10-16 14:15:03 UTC
Heh I figured as much ... but fedora-review was whining so thought it sensible to include a brief comment covering that ;)

Based on the changes made marking this APPROVED.

Comment 15 Gwyn Ciesla 2017-10-16 15:11:07 UTC
(fedrepo-req-admin):  The Pagure repository was created at https://src.fedoraproject.org/rpms/argbash

Comment 16 Fedora Update System 2017-10-17 12:16:24 UTC
argbash-2.5.0-1.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-938c06956c

Comment 17 Fedora Update System 2017-10-17 12:16:30 UTC
argbash-2.5.0-1.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-46fa5bf882

Comment 18 Fedora Update System 2017-10-17 12:16:37 UTC
argbash-2.5.0-1.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-8b7539b95b

Comment 19 Fedora Update System 2017-10-17 18:52:23 UTC
argbash-2.5.0-1.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-8b7539b95b

Comment 20 Fedora Update System 2017-10-18 02:17:22 UTC
argbash-2.5.0-1.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-938c06956c

Comment 21 Fedora Update System 2017-10-18 02:22:22 UTC
argbash-2.5.0-1.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-46fa5bf882

Comment 22 Fedora Update System 2017-11-01 00:05:03 UTC
argbash-2.5.0-1.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.

Comment 23 Fedora Update System 2017-11-07 22:15:05 UTC
argbash-2.5.0-1.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.

Comment 24 Fedora Update System 2017-11-11 02:55:50 UTC
argbash-2.5.0-1.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.


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