Bug 2036105 - Review Request: spirv-llvm8.0-translator - LLVM 8.0 to SPIRV Translator
Summary: Review Request: spirv-llvm8.0-translator - LLVM 8.0 to SPIRV Translator
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Neal Gompa
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 2036104
Blocks: 2036109
TreeView+ depends on / blocked
 
Reported: 2021-12-29 18:06 UTC by František Zatloukal
Modified: 2022-01-26 17:46 UTC (History)
4 users (show)

Fixed In Version: spirv-llvm8.0-translator-8-1.20211223gita44863e.fc36
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-01-20 23:30:08 UTC
Type: Bug
Embargoed:
ngompa13: fedora-review+


Attachments (Terms of Use)

Comment 1 František Zatloukal 2021-12-29 18:09:39 UTC
FYI: Just found out I'll need to add date/shortcommit into the nvr as it's a git snapshot really.

Comment 3 Jun.Miao 2022-01-11 05:26:33 UTC
> Source0:        https://github.com/KhronosGroup/SPIRV-LLVM-Translator/archive/%{commit}/%{upstream_name}-%{shortcommit}.tar.gz

Please use proper SourceURL form as proscribed in the Guidelines: https://docs.fedoraproject.org/en-US/packaging-guidelines/SourceURL/#_git_tags
In this case, that'd be "%{url}/archive/%{commit}/%{upstream_name}-%{shortcommit}.tar.gz"

Comment 5 František Zatloukal 2022-01-19 13:32:43 UTC
(In reply to Jun.Miao from comment #3)
> > Source0:        https://github.com/KhronosGroup/SPIRV-LLVM-Translator/archive/%{commit}/%{upstream_name}-%{shortcommit}.tar.gz
> 
> Please use proper SourceURL form as proscribed in the Guidelines:
> https://docs.fedoraproject.org/en-US/packaging-guidelines/SourceURL/
> #_git_tags
> In this case, that'd be
> "%{url}/archive/%{commit}/%{upstream_name}-%{shortcommit}.tar.gz"

Addressed, added license into the package.

Comment 6 Neal Gompa 2022-01-20 13:25:12 UTC
Taking this review.

Comment 7 Neal Gompa 2022-01-20 13:26:10 UTC
>        -DLLVM_DIR=/usr/lib64/llvm8.0/lib/cmake/llvm \


This should use %{_libdir} rather than hardcoded /usr/lib64.

Comment 9 Neal Gompa 2022-01-20 14:58:51 UTC
Review notes:

* Packaging complies with the guidelines
* Package builds and installs
* No serious issues from rpmlint
* Licensing is correct and license files are correctly installed

PACKAGE APPROVED.

Comment 10 Gwyn Ciesla 2022-01-20 16:07:03 UTC
(fedscm-admin):  The Pagure repository was created at https://src.fedoraproject.org/rpms/spirv-llvm8.0-translator

Comment 11 František Zatloukal 2022-01-20 23:30:08 UTC
Built in rawhide: spirv-llvm8.0-translator-8-1.20211223gita44863e.fc36

Comment 12 Dominik 'Rathann' Mierzejewski 2022-01-26 08:23:26 UTC
@fzatlouk please don't use globs for SONAMEs, you might miss SONAME bumps:

https://src.fedoraproject.org/rpms/spirv-llvm8.0-translator/blob/rawhide/f/spirv-llvm8.0-translator.spec#_74
%{_libdir}/libLLVMSPIRVLib.so.*

	
%files devel
%dir %{_includedir}/LLVMSPIRVLib/
%{_includedir}/LLVMSPIRVLib/

The %dir line is redundant.

Comment 13 František Zatloukal 2022-01-26 17:46:24 UTC
Thanks, should be addressed in spirv-llvm8.0-translator-8-2.20211223gita44863e.fc36 . The soname bump is technically impossible here, since it's just equal to llvm8.0 major, which will always be 8. Changed it though, there is no harm in doing that.


Note You need to log in before you can comment on or make changes to this bug.