https://bugzilla.redhat.com/show_bug.cgi?id=1809261
Bug ID: 1809261 Summary: Review Request: fixedptc - Fixed point math header only library for C Product: Fedora Version: rawhide Hardware: All OS: Linux Status: NEW Component: Package Review Severity: medium Priority: medium Assignee: nobody@fedoraproject.org Reporter: dwrobel@ertelnet.rybnik.pl QA Contact: extras-qa@fedoraproject.org CC: package-review@lists.fedoraproject.org Target Milestone: --- Classification: Fedora
Spec URL: https://dwrobel.fedorapeople.org/projects/rpmbuild/SPECS/fixedptc.spec SRPM URL: https://dwrobel.fedorapeople.org/projects/rpmbuild/SRPMS/fixedptc-0-1.202002... Description: Development package for fixed point math header only library for C.
Features: - 32-bit and 64-bit precision support (for compilers with __int128_t extensions like gcc) - Arbitrary precision point (e.g. 24.8 or 32.32) - Pure header-only - Pure integer-only (suitable for kernels, embedded CPUs, etc)
Fedora Account System Username: dwrobel
COPR build: https://copr.fedorainfracloud.org/coprs/dwrobel/fixedptc/
https://bugzilla.redhat.com/show_bug.cgi?id=1809261
Damian Wrobel dwrobel@ertelnet.rybnik.pl changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |1809262
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=1809262 [Bug 1809262] Review Request: rtl-wmbus - Software defined receiver for wireless M-Bus with RTL-SDR
https://bugzilla.redhat.com/show_bug.cgi?id=1809261
Artur Iwicki fedora@svgames.pl changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fedora@svgames.pl Doc Type|--- |If docs needed, set a value
--- Comment #1 from Artur Iwicki fedora@svgames.pl ---
export CFLAGS="%{optflags}" LDFLAGS="%{__global_ldflags}"
Use the %set_build_flags macro instead.
# Note: we do not have a separate license file, # however, the header file contains the text of the license.
You should extract the licence from the file, e.g. using awk or head.
https://bugzilla.redhat.com/show_bug.cgi?id=1809261
--- Comment #2 from Damian Wrobel dwrobel@ertelnet.rybnik.pl --- (In reply to Artur Iwicki from comment #1)
Use the %set_build_flags macro instead.
Done.
You should extract the licence from the file, e.g. using awk or head.
I would prefer not to generate the license file, if possible. So, I contacted upstream to consider to include a separate license text file [1].
[1] https://sourceforge.net/p/fixedptc/code/merge-requests/2/
https://bugzilla.redhat.com/show_bug.cgi?id=1809261
--- Comment #3 from Damian Wrobel dwrobel@ertelnet.rybnik.pl --- (In reply to Damian Wrobel from comment #2)
(In reply to Artur Iwicki from comment #1)
As I didn't receive response from upstream I added a generated version of the license text.
Please find updated spec and SRPM: Spec URL: https://dwrobel.fedorapeople.org/projects/rpmbuild/SPECS/fixedptc.spec SRPM URL: https://dwrobel.fedorapeople.org/projects/rpmbuild/SRPMS/fixedptc-0-3.202002...
https://bugzilla.redhat.com/show_bug.cgi?id=1809261
Robert-André Mauchin zebob.m@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |POST CC| |zebob.m@gmail.com Assignee|nobody@fedoraproject.org |zebob.m@gmail.com Flags| |fedora-review+
--- Comment #4 from Robert-André Mauchin zebob.m@gmail.com --- - Same issue with changelog, version-release are incorrects
%changelog * Wed Mar 18 2020 Damian Wrobel dwrobel@ertelnet.rybnik.pl - 0-3.20200228hgb8acfec - Add generated license text
* Tue Mar 03 2020 Damian Wrobel dwrobel@ertelnet.rybnik.pl - 0-2.20200228hgb8acfec - Use %%set_build_flags
* Mon Mar 02 2020 Damian Wrobel dwrobel@ertelnet.rybnik.pl - 0-1.20200228hgb8acfec - Remove patches upstream merged
* Fri Feb 28 2020 Damian Wrobel dwrobel@ertelnet.rybnik.pl - 0-1.20150308hg80b0448 - Initial RPM release.
- %forgemeta -v
Remove -v before importing in Koji, it can cause issues with fedpkg.
Package approved. Please fix the aforementioned issues before import.
Package Review ==============
Legend: [x] = Pass, [!] = Fail, [-] = Not applicable, [?] = Not evaluated [ ] = Manual review needed
===== MUST items =====
C/C++: [x]: Header files in -devel subpackage, if present.
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", "BSD 2-clause "Simplified" License". 5 files have unknown license. Detailed output of licensecheck in /home/bob/packaging/review/fixedptc/review-fixedptc/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. [-]: 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 10240 bytes in 1 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 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: [-]: 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). [?]: 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. [-]: 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. [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: fixedptc-devel-0-3.20200228hgb8acfec.fc33.noarch.rpm fixedptc-0-3.20200228hgb8acfec.fc33.src.rpm fixedptc-devel.noarch: W: spelling-error %description -l en_US gcc -> cc, g cc, gulch fixedptc.src: E: no-description-tag fixedptc.src: E: specfile-error Setting %{forgeurl0} = https://sourceforge.net/projects/fixedptc/ fixedptc.src: E: specfile-error Setting %{forgesource0} = https://sourceforge.net/code-snapshots/hg/f/fi/fixedptc/code/fixedptc-code-b... fixedptc.src: E: specfile-error Setting %{forgesetupargs0} = -n fixedptc-code-b8acfecf8c010b0c003bbd04df62f89afbca1e20 fixedptc.src: E: specfile-error Setting %{archivename0} = fixedptc-code fixedptc.src: E: specfile-error Setting %{archiveext0} = zip fixedptc.src: E: specfile-error Setting %{scm0} = hg fixedptc.src: E: specfile-error Setting %{commit0} = b8acfecf8c010b0c003bbd04df62f89afbca1e20 fixedptc.src: E: specfile-error Setting %{version0} = 0 fixedptc.src: E: specfile-error Setting %{date0} = 20200228 fixedptc.src: E: specfile-error Setting %{extractdir} = fixedptc-code fixedptc.src: E: specfile-error Setting %{distprefix} = .20200228hgb8acfec fixedptc.src: E: specfile-error Setting %{extractdir0} = fixedptc-code fixedptc.src: E: specfile-error Setting %{distprefix0} = .20200228hgb8acfec 2 packages and 0 specfiles checked; 14 errors, 1 warnings.
https://bugzilla.redhat.com/show_bug.cgi?id=1809261
--- Comment #5 from Damian Wrobel dwrobel@ertelnet.rybnik.pl --- (In reply to Robert-André Mauchin from comment #4)
- Same issue with changelog, version-release are incorrects
%changelog
Fixed
- %forgemeta -v
Fixed.
Thank you very much for the review.
https://bugzilla.redhat.com/show_bug.cgi?id=1809261
--- Comment #6 from Gwyn Ciesla gwync@protonmail.com --- (fedscm-admin): The Pagure repository was created at https://src.fedoraproject.org/rpms/fixedptc
https://bugzilla.redhat.com/show_bug.cgi?id=1809261
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|POST |MODIFIED
--- Comment #7 from Fedora Update System updates@fedoraproject.org --- FEDORA-2020-7c40dbb62d has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2020-7c40dbb62d
https://bugzilla.redhat.com/show_bug.cgi?id=1809261
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|MODIFIED |ON_QA
--- Comment #8 from Fedora Update System updates@fedoraproject.org --- FEDORA-2020-c5a68c90e4 has been pushed to the Fedora 32 testing repository. In short time you'll be able to install the update with the following command: `sudo dnf install --enablerepo=updates-testing --advisory=FEDORA-2020-c5a68c90e4 *` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-c5a68c90e4
See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
https://bugzilla.redhat.com/show_bug.cgi?id=1809261
--- Comment #9 from Fedora Update System updates@fedoraproject.org --- FEDORA-2020-7c40dbb62d has been pushed to the Fedora 31 testing repository. In short time you'll be able to install the update with the following command: `sudo dnf install --enablerepo=updates-testing --advisory=FEDORA-2020-7c40dbb62d *` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-7c40dbb62d
See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
https://bugzilla.redhat.com/show_bug.cgi?id=1809261
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ON_QA |CLOSED Resolution|--- |ERRATA Last Closed| |2020-04-01 00:18:05
--- Comment #10 from Fedora Update System updates@fedoraproject.org --- FEDORA-2020-c5a68c90e4 has been pushed to the Fedora 32 stable repository. If problem still persists, please make note of it in this bug report.
https://bugzilla.redhat.com/show_bug.cgi?id=1809261
--- Comment #11 from Fedora Update System updates@fedoraproject.org --- FEDORA-2020-c5a68c90e4 has been pushed to the Fedora 32 stable repository. If problem still persists, please make note of it in this bug report.
https://bugzilla.redhat.com/show_bug.cgi?id=1809261
--- Comment #12 from Fedora Update System updates@fedoraproject.org --- FEDORA-2020-7c40dbb62d has been pushed to the Fedora 31 stable repository. If problem still persists, please make note of it in this bug report.
package-review@lists.fedoraproject.org