https://bugzilla.redhat.com/show_bug.cgi?id=1433749
Bug ID: 1433749 Summary: Review Request: vrms-rpm - report of installed nonfree software Product: Fedora Version: rawhide Component: Package Review Severity: medium Assignee: nobody@fedoraproject.org Reporter: iwicki.artur@svgames.pl QA Contact: extras-qa@fedoraproject.org CC: package-review@lists.fedoraproject.org
Spec URL: https://svgames.pl/fedora/vrms-rpm.spec SRPM URL: https://svgames.pl/fedora/vrms-rpm-1.0-2.src.rpm Description: This program analyses the list of currently installed RPM packages and reports found nonfree packages to stdout. Fedora Account System Username: suve
The build was successfully tested in koji: https://koji.fedoraproject.org/koji/taskinfo?taskID=18476914
The build was also done in copr and worked successfully for all platforms apart from epel-5-i386, epel-5-x86_64 and fedora-26-ppc64le. (Rather confusing, seeing how this is essentially a bash script + manpage, no compilation needed.) https://copr.fedorainfracloud.org/coprs/suve/vrms-rpm/
I am the upstream developer of this software.
As this is my first submitted package, I am looking for reviews and sponsorship.
https://bugzilla.redhat.com/show_bug.cgi?id=1433749
iwicki.artur@svgames.pl changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |177841 (FE-NEEDSPONSOR)
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=177841 [Bug 177841] Tracker: Review requests from new Fedora packagers who need a sponsor
https://bugzilla.redhat.com/show_bug.cgi?id=1433749
--- Comment #1 from Michael Schwendt bugs.michael@gmx.net --- Small as it may be, but there are still some relevant things in the guidelines:
Name: vrms-rpm
%description vrms-rpm reports nonfree packages installed on the system.
Explaining in the package description what "vrms" means would be good. Is it based one "Virtual Richard M. Stallman"?
Release: 2
https://fedoraproject.org/wiki/Packaging:Versioning#Simple_versioning
License: GPLv3
https://fedoraproject.org/wiki/Packaging:LicensingGuidelines#License_Text
# Archive generated from git repository # No modifications made Source0: %{name}-%{version}.zip
https://fedoraproject.org/wiki/Packaging:SourceURL
install -m 755 %{_builddir}/%{name}-%{version}/vrms-rpm.sh %{buildroot}%{_bindir}/vrms-rpm install -m 644 %{_builddir}/%{name}-%{version}/vrms-rpm.man %{buildroot}%{_mandir}/man1/vrms-rpm.1
Examine the rpmbuild build output and notice that at the start of every main spec file section, such as %prep, %build, %install, %clean, rpmbuild enters the builddir automatically. If it doesn't, adjust the %setup macro in the %prep section appropriately. It is not necessary to specify the full source path like you've done it here.
%files %{_mandir}/man1/vrms-rpm.1.gz
The more flexible notation for manual pages is
%{_mandir}/man1/vrms-rpm.1*
to cover any compressor and even disabled compression.
https://bugzilla.redhat.com/show_bug.cgi?id=1433749
--- Comment #2 from iwicki.artur@svgames.pl --- (In reply to Michael Schwendt from comment #1)
Explaining in the package description what "vrms" means would be good. Is it based one "Virtual Richard M. Stallman"?
It is a clone of said software. Would something like 'vrms-rpm ("virtual Richard M. Stallman") reports...' suffice?
As for the release number: This is the spec file I used for the copr build; I had to re-package that one, hence the greater release number. I have now bumped it to 3 after making further changes to the spec file. (Although I've noticed that I've missed the %{dist} tag requirement, thank you for that.)
Regarding the licence: I have added the licence file in the %files section, as instructed on the wiki page.
Regarding the Source0 URL: I added a tag in the git repo and switched to using a generated tarball for the source.
Thank you for your notes regarding the builddir and the manpage notation. I have made appropriate changes to the spec file.
Updated links to the spec file and the SRPM: https://svgames.pl/fedora/vrms-rpm-1.0-3.spec https://svgames.pl/fedora/vrms-rpm-1.0-3.src.rpm
Once again, a link to the koji build: https://koji.fedoraproject.org/koji/taskinfo?taskID=18528835
https://bugzilla.redhat.com/show_bug.cgi?id=1433749
--- Comment #3 from Iwicki Artur iwicki.artur@svgames.pl --- I have made a new upstream release.
Updated links to the spec file and the SRPM: https://svgames.pl/fedora/vrms-rpm-1.1-1.spec https://svgames.pl/fedora/vrms-rpm-1.1-1.src.rpm
koji build: https://koji.fedoraproject.org/koji/taskinfo?taskID=18845206 copr build: https://copr.fedorainfracloud.org/coprs/suve/vrms-rpm/build/537305/
https://bugzilla.redhat.com/show_bug.cgi?id=1433749
--- Comment #4 from Dominik 'Rathann' Mierzejewski dominik@greysector.net --- You should use install with -p option (in addition to -m) for installing files into their destination location in %install. Otherwise they get package-build-time timestamps.
https://fedoraproject.org/wiki/Packaging:Guidelines#Timestamps
https://bugzilla.redhat.com/show_bug.cgi?id=1433749
--- Comment #5 from Iwicki Artur iwicki.artur@svgames.pl --- Thank you. Fixed.
spec: https://svgames.pl/fedora/vrms-rpm-1.1-2.spec srpm: https://svgames.pl/fedora/vrms-rpm-1.1-2.src.rpm
koji: https://koji.fedoraproject.org/koji/taskinfo?taskID=19007901 copr: https://copr.fedorainfracloud.org/coprs/suve/vrms-rpm/build/539934/
https://bugzilla.redhat.com/show_bug.cgi?id=1433749
Neal Gompa ngompa13@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ngompa13@gmail.com Assignee|nobody@fedoraproject.org |ngompa13@gmail.com Flags| |fedora-review?
--- Comment #6 from Neal Gompa ngompa13@gmail.com --- I'll take this review formally.
I've also seen you do at least one informal review[1], showing that you understand the guidelines, so I'll be happy to sponsor you as well (since no one else has said they'll sponsor you).
[1]: https://bugzilla.redhat.com/1444518
https://bugzilla.redhat.com/show_bug.cgi?id=1433749
--- Comment #7 from Iwicki Artur iwicki.artur@svgames.pl --- I ran fedora-review on the package and a minor issue with the dist-tag came up, so I made a new release.
spec: https://svgames.pl/fedora/vrms-rpm-1.1-3.spec srpm: https://svgames.pl/fedora/vrms-rpm-1.1-3.src.rpm
koji: https://koji.fedoraproject.org/koji/taskinfo?taskID=19641736 copr: https://copr.fedorainfracloud.org/coprs/suve/vrms-rpm/build/554436/
Thank you for sponsorship, Neal. I'm still fairly new to RPM packaging, so I prefer to be cautious about reviewing (nothing worse than giving out bad advice). Still, I have done another two reviews. [1] [2]
https://bugzilla.redhat.com/1451298 https://bugzilla.redhat.com/1450572
https://bugzilla.redhat.com/show_bug.cgi?id=1433749
--- Comment #8 from Iwicki Artur iwicki.artur@svgames.pl --- I have made a new upstream release. This one required some more significant changes to the spec file, as localised files and a Makefile were introduced.
spec: https://svgames.pl/fedora/vrms-rpm-1.2-1.spec srpm: https://svgames.pl/fedora/vrms-rpm-1.2-1.src.rpm
koji: https://koji.fedoraproject.org/koji/taskinfo?taskID=19804618 copr: https://copr.fedorainfracloud.org/coprs/suve/vrms-rpm/build/560464/
Ignore the lone failed chroot for copr; the logs say it failed to install bash during the mock-build.
https://bugzilla.redhat.com/show_bug.cgi?id=1433749
--- Comment #9 from Neal Gompa ngompa13@gmail.com ---
URL: https://github.com/%%7Bgithubowner%7D/%%7Bname%7D/ Source0: %{url}archive/%{gittag0}.tar.gz#/%{name}-%{gittag0}.tar.gz
Please adjust the URL structure to be properly segmented. For example:
URL: https://github.com/%%7Bgithubowner%7D/%%7Bname%7D Source0: %{url}/archive/%{gittag0}/%{name}-%{gittag0}.tar.gz
make build PREFIX=/usr %{?_smp_mflags}
Please use %{_prefix} for PREFIX= value. Also, as an alternative, you can simplify this with "%make_build PREFIX=%{_prefix}"
make install PREFIX=%{buildroot}/usr %{?_smp_mflags}
Use %{buildroot}%{_prefix} here. Also, consider supporting DESTDIR so that the standard %make_install macro works.
https://bugzilla.redhat.com/show_bug.cgi?id=1433749
--- Comment #10 from Neal Gompa ngompa13@gmail.com ---
%{find_lang} %{name} --with-man
Please use "%find_lang" instead of "%{find_lang}", as it helps identify it as a parameterized macro.
https://bugzilla.redhat.com/show_bug.cgi?id=1433749
--- Comment #11 from Iwicki Artur iwicki.artur@svgames.pl --- Adjusted the URL and the %find_lang usage as asked.
I've actually tried using %{prefix}, but that didn't work. Didn't think about trying the underscored version... Fixed. Did not use the %make_build macro, as that results in a "make" call, whereas the project requires "make build" (default target just prints some help text).
spec: https://svgames.pl/fedora/vrms-rpm-1.2-2.spec srpm: https://svgames.pl/fedora/vrms-rpm-1.2-2.src.rpm
koji: https://koji.fedoraproject.org/koji/taskinfo?taskID=19816977 copr: https://copr.fedorainfracloud.org/coprs/suve/vrms-rpm/build/561094/
https://bugzilla.redhat.com/show_bug.cgi?id=1433749
--- Comment #12 from Neal Gompa ngompa13@gmail.com --- 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: vrms-rpm-1.2-2.spec should be vrms-rpm.spec See: http://fedoraproject.org/wiki/Packaging/NamingGuidelines#Spec_file_name
===== 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: "CDDL CeCILL-B CC by", "GPL (v3)", "*No copyright* GPL (v3)", "Unknown or generated". 6 files have unknown license. Detailed output of licensecheck in /home/makerpm/1433749-vrms- rpm-1.2-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]: The spec file handles locales properly. [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]: Package is not known to require an ExcludeArch tag. [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]: 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]: File names are valid UTF-8. [x]: Large documentation must go in a -doc subpackage. Large could be size (~1MB) or number of files. Note: Documentation size is 0 bytes in 0 files. [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. [x]: 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]: 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]: Uses parallel make %{?_smp_mflags} macro. [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: vrms-rpm-1.2-2.fc27.noarch.rpm vrms-rpm-1.2-2.fc27.src.rpm vrms-rpm.noarch: W: spelling-error %description -l en_US Stallman -> Stall man, Stall-man, Stableman vrms-rpm.src: W: spelling-error %description -l en_US Stallman -> Stall man, Stall-man, Stableman 2 packages and 0 specfiles checked; 0 errors, 2 warnings.
Rpmlint (installed packages) ---------------------------- sh: /usr/bin/python: No such file or directory vrms-rpm.noarch: W: spelling-error %description -l en_US Stallman -> Stall man, Stall-man, Stableman 1 packages and 0 specfiles checked; 0 errors, 1 warnings.
Requires -------- vrms-rpm (rpmlib, GLIBC filtered): /bin/bash bash gettext grep
Provides -------- vrms-rpm: vrms-rpm
Source checksums ---------------- https://github.com/suve/vrms-rpm/archive/release-1.2.tar.gz#/vrms-rpm-releas... : CHECKSUM(SHA256) this package : 9ae6a24cc70366683fee33ce6dfdd4abc5663cf1ddb419cf73924fe129437185 CHECKSUM(SHA256) upstream package : 9ae6a24cc70366683fee33ce6dfdd4abc5663cf1ddb419cf73924fe129437185
Generated by fedora-review 0.6.1 (f03e4e7) last change: 2016-05-02 Command line :/bin/fedora-review -b 1433749 -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
https://bugzilla.redhat.com/show_bug.cgi?id=1433749
Neal Gompa ngompa13@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flags|fedora-review? |fedora-review+
--- Comment #13 from Neal Gompa ngompa13@gmail.com --- Make sure that the spec file is vrms-rpm.spec on import into Dist-Git. Otherwise, looks good to me.
PACKAGE APPROVED.
https://bugzilla.redhat.com/show_bug.cgi?id=1433749
Neal Gompa ngompa13@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks|177841 (FE-NEEDSPONSOR) |
--- Comment #14 from Neal Gompa ngompa13@gmail.com --- I have sponsored you into the packager group. Welcome to the Fedora Packagers group!
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=177841 [Bug 177841] Tracker: Review requests from new Fedora packagers who need a sponsor
https://bugzilla.redhat.com/show_bug.cgi?id=1433749
--- Comment #15 from Gwyn Ciesla limburgher@gmail.com --- Package request has been approved: https://admin.fedoraproject.org/pkgdb/package/rpms/vrms-rpm
https://bugzilla.redhat.com/show_bug.cgi?id=1433749
--- Comment #16 from Fedora Update System updates@fedoraproject.org --- vrms-rpm-1.2-2.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-7867abc53f
https://bugzilla.redhat.com/show_bug.cgi?id=1433749
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |MODIFIED
https://bugzilla.redhat.com/show_bug.cgi?id=1433749
--- Comment #17 from Fedora Update System updates@fedoraproject.org --- vrms-rpm-1.2-2.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2017-b845d4ecb4
https://bugzilla.redhat.com/show_bug.cgi?id=1433749
--- Comment #18 from Fedora Update System updates@fedoraproject.org --- vrms-rpm-1.2-2.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-78b01e2393
https://bugzilla.redhat.com/show_bug.cgi?id=1433749
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|MODIFIED |ON_QA
--- Comment #19 from Fedora Update System updates@fedoraproject.org --- vrms-rpm-1.2-2.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-78b01e2393
https://bugzilla.redhat.com/show_bug.cgi?id=1433749
--- Comment #20 from Fedora Update System updates@fedoraproject.org --- vrms-rpm-1.2-2.el6 has been submitted as an update to Fedora EPEL 6. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-98ccd46108
https://bugzilla.redhat.com/show_bug.cgi?id=1433749
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ON_QA |MODIFIED
https://bugzilla.redhat.com/show_bug.cgi?id=1433749
--- Comment #21 from Fedora Update System updates@fedoraproject.org --- vrms-rpm-1.2-2.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-bbbae25d00
https://bugzilla.redhat.com/show_bug.cgi?id=1433749
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|MODIFIED |ON_QA
--- Comment #22 from Fedora Update System updates@fedoraproject.org --- vrms-rpm-1.2-2.fc24 has been pushed to the Fedora 24 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-b845d4ecb4
https://bugzilla.redhat.com/show_bug.cgi?id=1433749
--- Comment #23 from Fedora Update System updates@fedoraproject.org --- vrms-rpm-1.2-2.fc25 has been pushed to the Fedora 25 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-7867abc53f
https://bugzilla.redhat.com/show_bug.cgi?id=1433749
--- Comment #24 from Fedora Update System updates@fedoraproject.org --- vrms-rpm-1.2-2.el6 has been pushed to the Fedora EPEL 6 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-98ccd46108
https://bugzilla.redhat.com/show_bug.cgi?id=1433749
--- Comment #25 from Fedora Update System updates@fedoraproject.org --- vrms-rpm-1.2-2.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-bbbae25d00
https://bugzilla.redhat.com/show_bug.cgi?id=1433749
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ON_QA |CLOSED Resolution|--- |ERRATA Last Closed| |2017-06-13 09:35:04
--- Comment #26 from Fedora Update System updates@fedoraproject.org --- vrms-rpm-1.2-2.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.
https://bugzilla.redhat.com/show_bug.cgi?id=1433749
--- Comment #27 from Fedora Update System updates@fedoraproject.org --- vrms-rpm-1.2-2.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.
https://bugzilla.redhat.com/show_bug.cgi?id=1433749
--- Comment #28 from Fedora Update System updates@fedoraproject.org --- vrms-rpm-1.2-2.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.
https://bugzilla.redhat.com/show_bug.cgi?id=1433749
--- Comment #29 from Fedora Update System updates@fedoraproject.org --- vrms-rpm-1.2-2.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.
https://bugzilla.redhat.com/show_bug.cgi?id=1433749
--- Comment #30 from Fedora Update System updates@fedoraproject.org --- vrms-rpm-1.2-2.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.
package-review@lists.fedoraproject.org