Fedora Account System
Red Hat Associate
Red Hat Customer
Spec URL: https://fedora.juszkiewicz.com.pl/fedora-active-user/fedora-active-user.spec SRPM URL: https://fedora.juszkiewicz.com.pl/fedora-active-user/fedora-active-user-26.04.29-1.fc45.src.rpm Description: This program performs a number of checks to have an educated guess as to whether someone can be consider as 'active' or not within the Fedora project. Fedora Account System Username: hrw The 'fedora-active-user' script is mentioned in the 'non-responding maintainer' process document. But link there goes to 7 years old script which is no longer maintained by its' original author Pierre-Yves Chibon. So I decided to take over the script, rewrote it into working version which queries FAS, Koji, Bodhi, Bugzilla and Fedmsg services to check for activity. The https://fedora.juszkiewicz.com.pl/fedora-active-user/ directory provides spec file, src.rpm file, results of 'fedora-review' run and also results of 'fedpkg mockbuild' run from my system.
Copr build: https://copr.fedorainfracloud.org/coprs/build/10405840 (succeeded) Review template: https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2463785-fedora-active-user/fedora-rawhide-x86_64/10405840-fedora-active-user/fedora-review/review.txt Please take a look if any issues were found. --- This comment was created by the fedora-review-service https://github.com/FrostyX/fedora-review-service If you want to trigger a new Copr build, add a comment containing new Spec and SRPM URLs or [fedora-review-service-build] string.
a couple notes - you should drop the R: python3, it's automagically added by rpmbuild from the shebang - you should be able to drop the manual installation of the license and README files, the %doc and %license tags should take care of that - I would update the Source tag to use %{url} variable (value of the URL tag) for the source archive URL - I would use %{name} instead of the "fedora-active-user" string in the %install and %files section, but that's really more a personal preference than a requirement
This is a review *template*. Besides handling the [ ]-marked tests you are also supposed to fix the template before pasting into bugzilla: - Add issues you find to the list of issues on top. If there isn't such a list, create one. - Add your own remarks to the template checks. - Add new lines marked [!] or [?] when you discover new things not listed by fedora-review. - Change or remove any text in the template which is plain wrong. In this case you could also file a bug against fedora-review - Remove the "[ ] Manual check required", you will not have any such lines in what you paste. - Remove attachments which you deem not really useful (the rpmlint ones are mandatory, though) - Remove this text Package Review ============== Legend: [x] = Pass, [!] = Fail, [-] = Not applicable, [?] = Not evaluated [ ] = Manual review needed ===== 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: "Unknown or generated", "*No copyright* GNU General Public License v2.0 or later", "GNU General Public License, Version 2". 2 files have unknown license. Detailed output of licensecheck in /home/raphael/fedora-review/2463785-fedora-active- user/licensecheck.txt [x]: Package contains no bundled libraries or specifies bundled libraries with Provides: bundled(<libname>) if unbundling is not possible. [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. [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: No rpmlint messages. [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]: The License field must be a valid SPDX expression. [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 must not depend on deprecated() packages. [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]: Large documentation must go in a -doc subpackage. Large could be size (~1MB) or number of files. Note: Documentation size is 984 bytes in 1 files. [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. [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. [-]: Sources are verified with gpgverify first in %prep if upstream publishes signatures. Note: gpgverify is not used. [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]: 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: [!]: Spec file according to URL is the same as in SRPM. Note: Spec file as given by url is not the same as in SRPM (see attached diff). See: (this test has no URL) [x]: Rpmlint is run on all installed packages. Note: No rpmlint messages. Rpmlint ------- Checking: fedora-active-user-26.04.29-1.fc45.noarch.rpm fedora-active-user-26.04.29-1.fc45.src.rpm ============================ rpmlint session starts ============================ rpmlint: 2.8.0 configuration: /usr/lib/python3.14/site-packages/rpmlint/configdefaults.toml /etc/xdg/rpmlint/fedora-spdx-licenses.toml /etc/xdg/rpmlint/fedora.toml /etc/xdg/rpmlint/scoring.toml /etc/xdg/rpmlint/users-groups.toml /etc/xdg/rpmlint/warn-on-functions.toml rpmlintrc: [PosixPath('/tmp/tmpw7x4slav')] checks: 32, packages: 2 2 packages and 0 specfiles checked; 0 errors, 0 warnings, 7 filtered, 0 badness; has taken 0.1 s Rpmlint (installed packages) ---------------------------- ============================ rpmlint session starts ============================ rpmlint: 2.9.0 configuration: /usr/lib/python3.14/site-packages/rpmlint/configdefaults.toml /etc/xdg/rpmlint/fedora-spdx-licenses.toml /etc/xdg/rpmlint/fedora.toml /etc/xdg/rpmlint/scoring.toml /etc/xdg/rpmlint/users-groups.toml /etc/xdg/rpmlint/warn-on-functions.toml checks: 32, packages: 1 1 packages and 0 specfiles checked; 0 errors, 0 warnings, 3 filtered, 0 badness; has taken 0.0 s Source checksums ---------------- https://github.com/hrw/fedora-active-user/archive/refs/tags/26.04.29.tar.gz : CHECKSUM(SHA256) this package : c2c93a7701e51d105f02812b291208d6e02c1f33c88b6c201d736b0d9989edc4 CHECKSUM(SHA256) upstream package : c2c93a7701e51d105f02812b291208d6e02c1f33c88b6c201d736b0d9989edc4 Requires -------- fedora-active-user (rpmlib, GLIBC filtered): /usr/bin/python3 python3 python3-urllib-gssapi Provides -------- fedora-active-user: fedora-active-user Diff spec file in url and in SRPM --------------------------------- --- /home/raphael/fedora-review/2463785-fedora-active-user/srpm/fedora-active-user.spec 2026-04-29 14:15:40.523041117 +0200 +++ /home/raphael/fedora-review/2463785-fedora-active-user/srpm-unpacked/fedora-active-user.spec 2026-04-29 02:00:00.000000000 +0200 @@ -1,2 +1,12 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.8.4) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 1; + base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); + print(release_number + base_release_number - 1); +}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} +## END: Set by rpmautospec + Name: fedora-active-user Version: 26.04.29 @@ -39,3 +49,7 @@ %{_mandir}/man1/fedora-active-user.1* -%autochangelog +%changelog +## START: Generated by rpmautospec +* Wed Apr 29 2026 John Doe <packager> - 26.04.29-1 +- Uncommitted changes +## END: Generated by rpmautospec Generated by fedora-review 0.11.0 (05c5b26) last change: 2025-11-29 Command line :/usr/bin/fedora-review -b 2463785 -v Buildroot used: fedora-rawhide-x86_64 Active plugins: Generic, Shell-api Disabled plugins: Python, Ocaml, Haskell, R, Perl, C/C++, Java, fonts, SugarActivity, PHP Disabled flags: EXARCH, EPEL6, EPEL7, DISTTAG, BATCH
It is a GO from my side. Please mind diff of autospec mentioned below.
Thanks for doing the work to get this usable again and to package it! If I may jump in with one more thing, could you please add "-p" to the "install" commands when you import the package? See https://docs.fedoraproject.org/en-US/packaging-guidelines/#_timestamps.
Spec after changes: - added '-p' to install commands - dropped empty %build/%check - dropped 'python3' dependency - dropped installing doc/license files - renamed Source0 to Source Not going to use %{name} in %{URL}/%{Source} and no %{URL} in %{Source}. Name: fedora-active-user Version: 26.04.29 Release: %autorelease Summary: Check whether a given Fedora developer is still active License: GPL-2.0-or-later URL: https://github.com/hrw/fedora-active-user Source: https://github.com/hrw/fedora-active-user/archive/refs/tags/%{version}.tar.gz BuildArch: noarch # Kerberos support is needed to login to the FAS Requires: python3-urllib-gssapi %description This program performs a number of checks to have an educated guess as to whether someone can be consider as 'active' or not within the Fedora project. %prep %autosetup %install install -p -D -m 0755 fedora_active_user.py %{buildroot}%{_bindir}/fedora-active-user install -p -D -m 0644 fedora-active-user.1 %{buildroot}%{_mandir}/man1/fedora-active-user.1 %files %license gpl-2.0.txt %doc README.md %{_bindir}/fedora-active-user %{_mandir}/man1/fedora-active-user.1* %autochangelog
Updated spec/src.rpm online with above one.
LGTM
The Pagure repository was created at https://src.fedoraproject.org/rpms/fedora-active-user Monitoring: Wasn't able to create project in Anitya. You can create it manually on: `https://release-monitoring.org`