Bug 1210054 - Review Request: rc - Re-implementation for Unix of the Plan 9 shell
Summary: Review Request: rc - Re-implementation for Unix of the Plan 9 shell
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Zbigniew Jędrzejewski-Szmek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-04-08 19:17 UTC by Robert Scheck
Modified: 2015-05-26 21:30 UTC (History)
3 users (show)

Fixed In Version: rc-1.7.3-1.el5
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-05-20 18:50:47 UTC
Type: ---
Embargoed:
zbyszek: fedora-review+
gwync: fedora-cvs+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 242537 0 low CLOSED Review Request: mksh - MirBSD enhanced version of the Korn Shell 2021-02-22 00:41:40 UTC

Internal Links: 242537

Description Robert Scheck 2015-04-08 19:17:49 UTC
Spec URL: http://labs.linuxnetz.de/bugzilla/rc.spec
SRPM URL: http://labs.linuxnetz.de/bugzilla/rc-1.7.2-1.src.rpm
Description: Rc is a command interpreter for Plan 9 that provides
similar facilities to UNIX's Bourne shell, with some small additions
and less idiosyncratic syntax. This is a re-implementation for Unix,
by Byron Rakitzis, of the Plan 9 shell.

Fedora Account System Username: robert

This package is intended for all Fedora branches (including EPEL 5)
and modelled after the mksh package (there some changes happened when
this package got re-reviewed for RHEL 6 inclusion).

Comment 1 Robert Scheck 2015-04-08 19:28:44 UTC
I think the license is "zlib", but I would appreciate a careful cross-check.

Comment 2 Toby Goodwin 2015-04-18 18:05:46 UTC
Upstream maintainer here. I've been talking to Robert by email, and have concluded that I should make a new release incorporating the patch, plus another couple of issues that turned up when I made an informal review of the package, plus re-licensing under ZlibWithAcknowledgement. I'll have this ready in the next couple of days.

Comment 3 Zbigniew Jędrzejewski-Szmek 2015-05-09 18:28:53 UTC
The license is pretty much the same as zlib, as you say. Labelling it as zlib is acceptable imo.

There are no new packages for Fedora <= 20, so you can simplify the conditionals.
%if 0%{?fedora} < 17 && 0%{?rhel} < 7 → %if 0%{?rhel} < 7
%if 0%{?fedora} >= 17 || 0%{?rhel} >= 7 → %if 0%{?fedora} || 0%{?rhel} >= 7

Change autoreconf -f to autoreconf -fiv (or similar). It fails otherwise:
configure.ac:15: error: required file './compile' not found

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

C/C++:
[x]: Package does not contain kernel modules.
[x]: Package contains no static executables.
[x]: Package does not contain any libtool archives (.la)
[x]: Rpath absent or only used for internal libs.

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: "Unknown or generated". 50 files have unknown license. Detailed
     output of licensecheck in /var/tmp/review-rc/licensecheck.txt
[x]: %build honors applicable compiler flags or justifies otherwise.
[x]: Package contains no bundled libraries without FPC exception.
[x]: Changelog in prescribed format.
[x]: Sources contain only permissible code or content.
[-]: Each %files section contains %defattr if rpm < 4.4
     Note: %defattr present but not needed
The intest it to package for old EPELs.

[-]: 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.
[-]: 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]: Useful -debuginfo package or justification otherwise.
[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 61440 bytes in 5 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]: All build dependencies are listed in BuildRequires, except for any
     that are listed in the exceptions section of Packaging Guidelines.
[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:
[-]: Buildroot is not present
     Note: Buildroot: present but not needed
Old EPELs...

[-]: Package has no %clean section with rm -rf %{buildroot} (or
     $RPM_BUILD_ROOT)
     Note: %clean present but not required
[-]: 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.
[-]: Patches link to upstream bugs/comments/lists or are otherwise
     justified.
[-]: 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.
[-]: %check is present and all tests pass.
[x]: Packages should try to preserve timestamps of original installed
     files.
[x]: Packager, Vendor, PreReq, Copyright tags should not be in spec file
[x]: Sources can be downloaded from URI in Source: tag
[x]: Reviewer should test that the package builds in mock.
[x]: No file requires outside of /etc, /bin, /sbin, /usr/bin, /usr/sbin.
[x]: Uses parallel make %{?_smp_mflags} macro.
[x]: SourceX is a working URL.
[x]: Spec use %global instead of %define unless justified.

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

Generic:
[!]: Package should not use obsolete m4 macros
     Note: Some obsoleted macros found, see the attachment.
     See: https://fedorahosted.org/FedoraReview/wiki/AutoTools
@Toby: this one is for you! See AutoTools section below.

[x]: Rpmlint is run on debuginfo package(s).
     Note: No rpmlint messages.
[x]: Rpmlint is run on all installed packages.
     Note: No rpmlint messages.
[x]: Large data in /usr/share should live in a noarch subpackage if package
     is arched.
[x]: Spec file according to URL is the same as in SRPM.


Rpmlint
-------
Checking: rc-1.7.2-1.fc22.i686.rpm
          rc-1.7.2-1.fc22.src.rpm
rc.src: W: strange-permission rc-1.7.2-check.patch 0600L
rc.src:16: W: unversioned-explicit-provides /bin/rc
2 packages and 0 specfiles checked; 0 errors, 2 warnings.




Rpmlint (debuginfo)
-------------------
Checking: rc-debuginfo-1.7.2-1.fc22.i686.rpm
1 packages and 0 specfiles checked; 0 errors, 0 warnings.





Rpmlint (installed packages)
----------------------------
2 packages and 0 specfiles checked; 0 errors, 0 warnings.



Requires
--------
rc (rpmlib, GLIBC filtered):
    /bin/sh
    grep
    libc.so.6
    libreadline.so.6
    libtinfo.so.5
    rtld(GNU_HASH)
    sed



Provides
--------
rc:
    /bin/rc
    rc
    rc(x86-32)



Source checksums
----------------
http://static.tobold.org/rc/rc-1.7.2.tar.gz :
  CHECKSUM(SHA256) this package     : 04e762d15cccb3c3191a0f40e5158f176a21707f89cb9e0b04c8085ea7246be5
  CHECKSUM(SHA256) upstream package : 04e762d15cccb3c3191a0f40e5158f176a21707f89cb9e0b04c8085ea7246be5


AutoTools: Obsoleted m4s found
------------------------------
  AM_PROG_CC_STDC found in: rc-1.7.2/configure.ac:16
  AM_CONFIG_HEADER found in: rc-1.7.2/configure.ac:12


Generated by fedora-review 0.5.3 (bcf15e3) last change: 2015-05-04
Command line :/usr/bin/fedora-review -n rc -m fedora-22-i386 -o-n
Buildroot used: fedora-22-i386
Active plugins: Generic, Shell-api, C/C++
Disabled plugins: Java, Python, fonts, SugarActivity, Ocaml, Perl, Haskell, R, PHP, Ruby
Disabled flags: EXARCH, DISTTAG, EPEL5, BATCH, EPEL6


OK, no real issues. Package is APPROVED.

Comment 4 Robert Scheck 2015-05-09 18:50:09 UTC
Zbigniew, thank you very much for the review! I will try to address the
points you mentioned.


New Package SCM Request
=======================
Package Name: rc
Short Description: Re-implementation for Unix of the Plan 9 shell
Upstream URL: http://tobold.org/article/rc
Owners: robert
Branches: f22 f21 f20 epel7 el6 el5
InitialCC:

Comment 5 Gwyn Ciesla 2015-05-09 19:53:30 UTC
Git done (by process-git-requests).

Comment 6 Toby Goodwin 2015-05-09 20:52:30 UTC
That's fantastic news! Thanks for your input everyone.

Robert, did you get a chance to update for the new release? It fixes that odd autoreconf issue, and also incorporates the patch.

Comment 7 Fedora Update System 2015-05-09 23:46:28 UTC
rc-1.7.3-1.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/rc-1.7.3-1.fc22

Comment 8 Fedora Update System 2015-05-09 23:47:06 UTC
rc-1.7.3-1.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/rc-1.7.3-1.fc21

Comment 9 Fedora Update System 2015-05-09 23:48:10 UTC
rc-1.7.3-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/rc-1.7.3-1.fc20

Comment 10 Fedora Update System 2015-05-10 01:25:57 UTC
rc-1.7.3-1.el7 has been submitted as an update for Fedora EPEL 7.
https://admin.fedoraproject.org/updates/rc-1.7.3-1.el7

Comment 11 Fedora Update System 2015-05-10 01:26:33 UTC
rc-1.7.3-1.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/rc-1.7.3-1.el6

Comment 12 Fedora Update System 2015-05-10 01:27:03 UTC
rc-1.7.3-1.el5 has been submitted as an update for Fedora EPEL 5.
https://admin.fedoraproject.org/updates/rc-1.7.3-1.el5

Comment 13 Fedora Update System 2015-05-11 00:53:55 UTC
rc-1.7.3-1.el5 has been pushed to the Fedora EPEL 5 testing repository.

Comment 14 Fedora Update System 2015-05-20 18:50:47 UTC
rc-1.7.3-1.fc20 has been pushed to the Fedora 20 stable repository.

Comment 15 Fedora Update System 2015-05-20 18:51:30 UTC
rc-1.7.3-1.fc21 has been pushed to the Fedora 21 stable repository.

Comment 16 Fedora Update System 2015-05-26 03:52:19 UTC
rc-1.7.3-1.fc22 has been pushed to the Fedora 22 stable repository.

Comment 17 Fedora Update System 2015-05-26 21:27:49 UTC
rc-1.7.3-1.el7 has been pushed to the Fedora EPEL 7 stable repository.

Comment 18 Fedora Update System 2015-05-26 21:29:41 UTC
rc-1.7.3-1.el6 has been pushed to the Fedora EPEL 6 stable repository.

Comment 19 Fedora Update System 2015-05-26 21:30:23 UTC
rc-1.7.3-1.el5 has been pushed to the Fedora EPEL 5 stable repository.


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