Bug 2230617
| Summary: | Review Request: half - A C++ half-precision floating point type | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Tom Rix <trix> | ||||
| Component: | Package Review | Assignee: | Neal Gompa <ngompa13> | ||||
| Status: | ASSIGNED --- | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | rawhide | CC: | ngompa13, package-review | ||||
| Target Milestone: | --- | Flags: | ngompa13:
fedora-review?
|
||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Linux | ||||||
| URL: | http://sourceforge.net/projects/half | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | Type: | --- | |||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Bug Depends On: | |||||||
| Bug Blocks: | 1011110 | ||||||
| Attachments: |
|
||||||
|
Description
Tom Rix
2023-08-09 18:11:56 UTC
Copr build: https://copr.fedorainfracloud.org/coprs/build/6261352 (succeeded) Review template: https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2230617-half/fedora-rawhide-x86_64/06261352-half/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. Taking this review. Initial spec review: > BuildArch: noarch This is not allowed on the main package, only on the devel subpackage. Cf. https://docs.fedoraproject.org/en-US/packaging-guidelines/#_packaging_header_only_libraries > rm -rf %{name}-%{version} > unzip -d %{name}-%{version} %{SOURCE0} > cd %{name}-%{version} This can be simplified to "%autosetup -c" > # change dos endings to unix > sed -i "s|\r||g" include/half.hpp > sed -i "s|\r||g" LICENSE.txt > sed -i "s|\r||g" README.txt I'm a bit wary of using sed for this when "dos2unix" is perfectly suitable here. Add "BuildRequires: dos2unix" and use the tool for this instead. > cd %{name}-%{version} This is no longer required, since %autosetup configures the %install phase correctly > mkdir -p %{buildroot}%{_docdir}/%{name}/ > install -m 644 LICENSE.txt %{buildroot}%{_docdir}/%{name}/ > install -m 644 README.txt %{buildroot}%{_docdir}/%{name}/ This can all be dropped, because we can manage this from %files... > %doc %{_docdir}/%{name}/README.txt > %license %{_docdir}/%{name}/LICENSE.txt This can be replaced with "%doc README.txt" and "%license LICENSE.txt". Spec URL: https://trix.fedorapeople.org/half.spec SRPM URL: https://trix.fedorapeople.org/half-2.2.0-2.fc40.src.rpm Thanks for the pointer on autosetup! Created attachment 1983920 [details]
The .spec file difference from Copr build 6261352 to 6314082
Copr build: https://copr.fedorainfracloud.org/coprs/build/6314082 (succeeded) Review template: https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2230617-half/fedora-rawhide-x86_64/06314082-half/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. |