Fedora Account System
Red Hat Associate
Red Hat Customer
Spec URL: https://rathann.fedorapeople.org/review/cvt12/cvt12.spec SRPM URL: https://rathann.fedorapeople.org/review/cvt12/cvt12-0-0.1.20221228git6f66135.fc38.src.rpm Description: CVT (Coordinated Video Timings) modeline calculator with CVT v1.2 timings. This is a modified CVT modeline calculator based on cvt by erich, which is based on GTF modeline calculator by Andy Ritger. This modified version adds support for CVT v1.2 (VESA-2013-3 v1.2). Fedora Account System Username: rathann
> Version: 0 > Release: 0.1.%{date}git%{shortcommit}%{?dist} The Versioning Guidelines now recommend to put the date-git-commit part as part of Version, using the caret notation: "Version: 0^%{date}git%{shortcommit}". https://docs.fedoraproject.org/en-US/packaging-guidelines/Versioning/#_handling_non_sorting_versions_with_tilde_dot_and_caret > %build > %set_build_flags Starting with Fedora 36, the build flags are set automatically and calling %set_build_flags manually is no longer needed. https://fedoraproject.org/wiki/Changes/SetBuildFlagsBuildCheck
Spec URL: https://rathann.fedorapeople.org/review/cvt12/cvt12.spec SRPM URL: https://rathann.fedorapeople.org/review/cvt12/cvt12-0%5e20221228git6f66135-1.fc38.src.rpm * Tue Oct 10 2023 Dominik Mierzejewski <dominik> 0^20221228git6f66135-1 - change versioning scheme to caret notation - drop redundant set_build_flags macro call Thanks for the comments!
Copr build: https://copr.fedorainfracloud.org/coprs/build/6513049 (succeeded) Review template: https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2240336-cvt12/fedora-rawhide-x86_64/06513049-cvt12/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.
rpmlint complains: > cvt12.x86_64: W: position-independent-executable-suggested /usr/bin/cvt12 Looking at the build log, while Fedora's CFLAGS are used during the build, this is not the case with LDFLAGS. You can use CFLAGS="$CFLAGS $LDFLAGS" in the %make_build invocation, or - looking at how simplistic the upstream Makefile is - you could just call gcc directly. By the way, since upstream does not ship a separate license file, you can use the following awk snippet to extract the opening comment, which contains the license text, from the source code: > awk '1;/\*\//{exit}' < cvt12.c > LICENSE
(In reply to Artur Frenszek-Iwicki from comment #4) > rpmlint complains: > > cvt12.x86_64: W: position-independent-executable-suggested /usr/bin/cvt12 > Looking at the build log, while Fedora's CFLAGS are used during the build, > this is not the case with LDFLAGS. > You can use CFLAGS="$CFLAGS $LDFLAGS" in the %make_build invocation, or - > looking at how simplistic > the upstream Makefile is - you could just call gcc directly. Done. > By the way, since upstream does not ship a separate license file, you can > use the following awk snippet > to extract the opening comment, which contains the license text, from the > source code: > > awk '1;/\*\//{exit}' < cvt12.c > LICENSE This is not required and the file this produces still has C comments in it. Spec URL: https://rathann.fedorapeople.org/review/cvt12/cvt12.spec SRPM URL: https://rathann.fedorapeople.org/review/cvt12/cvt12-0%5e20221228git6f66135-2.fc38.src.rpm * Thu Feb 01 2024 Dominik Mierzejewski <dominik> 0^20221228git6f66135-2 - ensure Fedora LDFLAGS are also used during build Thanks for the tips. Is there anything else preventing this package from being approved?
Created attachment 2014379 [details] The .spec file difference from Copr build 6513049 to 6979730
Copr build: https://copr.fedorainfracloud.org/coprs/build/6979730 (succeeded) Review template: https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2240336-cvt12/fedora-rawhide-x86_64/06979730-cvt12/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.
Ping.
Sorry for no response. It seems fedora-review is currently broken: https://pagure.io/FedoraReview/issue/510 I'll try to do the review manually tomorrow.
Package approved. Personally I still encourage you to use the proposed awk trick to get the license info in a separate file, as otherwise the binary RPM ships only with an executable and without the actual license text - but reading through the Packaging Guidelines, doing this isn't required. So I guess it's okay like this. Package Review ============== Legend: [x] = Pass [!] = Fail [-] = Not applicable [?] = Not evaluated ===== MUST items ===== C/C++: [-]: Provides: bundled(gnulib) in place as required. Note: Sources not installed [x]: Package does not contain kernel modules. [x]: If your application is a C or C++ application you must list a BuildRequires against gcc, gcc-c++ or clang. [x]: Package does not contain any libtool archives (.la) [x]: Package contains no static executables. [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]: 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]: License field in the package spec file matches the actual license. Note: Checking patched sources after %prep for licenses. No licenses found. Please check the source files for licenses manually. [-]: License file installed when any subpackage combination is installed. [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. [-]: 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]: Useful -debuginfo package or justification otherwise. [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]: 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 1261 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. Link to successful scratch build in koji: https://koji.fedoraproject.org/koji/taskinfo?taskID=114710658 [-]: %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]: Fully versioned dependency in subpackages if applicable. [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 debuginfo package(s). Note: No rpmlint messages. [x]: Rpmlint is run on all installed packages. Note: There are rpmlint messages (see attachment). [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: cvt12-0^20221228git6f66135-2.fc41.x86_64.rpm cvt12-debuginfo-0^20221228git6f66135-2.fc41.x86_64.rpm cvt12-debugsource-0^20221228git6f66135-2.fc41.x86_64.rpm cvt12-0^20221228git6f66135-2.fc41.src.rpm ============== rpmlint session starts ============= rpmlint: 2.5.0 configuration: /usr/lib/python3.12/site-packages/rpmlint/configdefaults.toml /etc/xdg/rpmlint/fedora-legacy-licenses.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/tmp1hjlz2z3')] checks: 32, packages: 4 cvt12.src: E: spelling-error ('modeline', 'Summary(en_US) modeline -> modeling, mode line, mode-line') cvt12.src: E: spelling-error ('modeline', '%description -l en_US modeline -> modeling, mode line, mode-line') cvt12.x86_64: E: spelling-error ('modeline', 'Summary(en_US) modeline -> modeling, mode line, mode-line') cvt12.x86_64: E: spelling-error ('modeline', '%description -l en_US modeline -> modeling, mode line, mode-line') cvt12.x86_64: W: no-manual-page-for-binary cvt12 ====== 4 packages and 0 specfiles checked; 4 errors, 1 warnings, 16 filtered, 4 badness; has taken 0.8 s ====== Rpmlint (debuginfo) ------------------- Checking: cvt12-debuginfo-0^20221228git6f66135-2.fc41.x86_64.rpm ============== rpmlint session starts ============= rpmlint: 2.5.0 configuration: /usr/lib/python3.12/site-packages/rpmlint/configdefaults.toml /etc/xdg/rpmlint/fedora-legacy-licenses.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/tmpa9p5ucec')] checks: 32, packages: 1 ================= 1 packages and 0 specfiles checked; 0 errors, 0 warnings, 5 filtered, 0 badness; has taken 0.2 s ====== Rpmlint (installed packages) ---------------------------- ============================ rpmlint session starts ============================ rpmlint: 2.5.0 configuration: /usr/lib/python3.12/site-packages/rpmlint/configdefaults.toml /etc/xdg/rpmlint/fedora-legacy-licenses.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: 3 cvt12.x86_64: E: spelling-error ('modeline', 'Summary(en_US) modeline -> modeling, mode line, mode-line') cvt12.x86_64: E: spelling-error ('modeline', '%description -l en_US modeline -> modeling, mode line, mode-line') cvt12.x86_64: W: no-manual-page-for-binary cvt12 3 packages and 0 specfiles checked; 2 errors, 1 warnings, 13 filtered, 2 badness; has taken 0.6 s Source checksums ---------------- https://github.com/kevinlekiller/cvt_modeline_calculator_12/archive/6f66135104dc50425c904898822d49c50e130751/cvt12-6f66135.tar.gz : CHECKSUM(SHA256) this package : f76d2c7712234629e88cf629204ee2def26c842fe5fdf2df3db500397f3d0283 CHECKSUM(SHA256) upstream package : f76d2c7712234629e88cf629204ee2def26c842fe5fdf2df3db500397f3d0283 Requires -------- cvt12 (rpmlib, GLIBC filtered): libc.so.6()(64bit) libm.so.6()(64bit) rtld(GNU_HASH) cvt12-debuginfo (rpmlib, GLIBC filtered): cvt12-debugsource (rpmlib, GLIBC filtered): Provides -------- cvt12: cvt12 cvt12(x86-64) cvt12-debuginfo: cvt12-debuginfo cvt12-debuginfo(x86-64) debuginfo(build-id) cvt12-debugsource: cvt12-debugsource cvt12-debugsource(x86-64) Generated by fedora-review 0.10.0 (e79b66b) last change: 2023-07-24 Command line :/usr/bin/fedora-review -b 2240336 Buildroot used: fedora-rawhide-x86_64 Active plugins: Shell-api, Generic, C/C++ Disabled plugins: PHP, Ocaml, Python, fonts, R, Perl, Haskell, Java, SugarActivity Disabled flags: EXARCH, EPEL6, EPEL7, DISTTAG, BATCH
The Pagure repository was created at https://src.fedoraproject.org/rpms/cvt12
FEDORA-2024-7817e3166e (cvt12-0^20221228git6f66135-2.fc39) has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2024-7817e3166e
FEDORA-2024-8e4dce8d0b (cvt12-0^20221228git6f66135-2.fc40) has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2024-8e4dce8d0b
FEDORA-2024-8e4dce8d0b has been pushed to the Fedora 40 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf install --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-8e4dce8d0b \*` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-8e4dce8d0b See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2024-7817e3166e has been pushed to the Fedora 39 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf install --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-7817e3166e \*` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-7817e3166e See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2024-7817e3166e (cvt12-0^20221228git6f66135-2.fc39) has been pushed to the Fedora 39 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2024-8e4dce8d0b (cvt12-0^20221228git6f66135-2.fc40) has been pushed to the Fedora 40 stable repository. If problem still persists, please make note of it in this bug report.