Bug 2175162 - Review Request: vkroots - A stupid simple method of making Vulkan layers, at home!
Summary: Review Request: vkroots - A stupid simple method of making Vulkan layers, at ...
Keywords:
Status: CLOSED DUPLICATE of bug 2226546
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Neal Gompa
QA Contact: Fedora Extras Quality Assurance
URL: https://github.com/Joshua-Ashton/vkroots
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-03-03 12:22 UTC by Onuralp Sezer
Modified: 2023-07-25 21:16 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-07-25 21:16:26 UTC
Type: ---
Embargoed:
ngompa13: fedora-review?


Attachments (Terms of Use)
The .spec file difference from Copr build 5589456 to 5589497 (1.56 KB, patch)
2023-03-03 12:51 UTC, Jakub Kadlčík
no flags Details | Diff
The .spec file difference from Copr build 5589497 to 5589666 (1.42 KB, patch)
2023-03-03 13:32 UTC, Jakub Kadlčík
no flags Details | Diff

Description Onuralp Sezer 2023-03-03 12:22:44 UTC
Spec URL: https://thunderbirdtr.fedorapeople.org/vkroots.spec
SRPM URL: https://thunderbirdtr.fedorapeople.org/vkroots-0-1.20230303git2675710.fc38.src.rpm
Description: A stupid simple method of making Vulkan layers, at home!
Fedora Account System Username: thunderbirdtr

Comment 1 Neal Gompa 2023-03-03 12:24:19 UTC
Taking this review.

Comment 2 Jakub Kadlčík 2023-03-03 12:26:21 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/5589456
(failed)

Build log:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2175162-vkroots/fedora-rawhide-x86_64/05589456-vkroots/builder-live.log.gz

Please make sure the package builds successfully at least for Fedora Rawhide.

- If the build failed for unrelated reasons (e.g. temporary network
  unavailability), please ignore it.
- If the build failed because of missing BuildRequires, please make sure they
  are listed in the "Depends On" field


---
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.

Comment 3 Neal Gompa 2023-03-03 12:32:41 UTC
Spec review
===========

> %global git_date %%(date +'%Y%m%d')

This date needs to be fixed, not floating. Base it on the commit date.

> Version:        0
> Release:        1.%{git_date}git%{shortcommit}%{?dist}

Please use modern snapshot versioning. It'd look something like this:

> Version:        0^%{git_date}git%{shortcommit}
> Release:        1%{?dist}

Cf. https://docs.fedoraproject.org/en-US/packaging-guidelines/Versioning/#_snapshots

> Source:         https://github.com/Joshua-Ashton/vkroots/archive/%{commit}/%{name}-%{shortcommit}.tar.gz

The source can be simplified to "%{url}/archive/%{commit}/%{name}-%{shortcommit}.tar.gz"

> License:        LGPL-2.1-only

The license is "LGPL-2.1-or-later AND (Apache-2.0 or MIT)"

Comment 4 Neal Gompa 2023-03-03 12:35:51 UTC
You're also missing "BuildRequires: meson".

Comment 6 Onuralp Sezer 2023-03-03 12:45:16 UTC
All done.

Comment 7 Neal Gompa 2023-03-03 12:45:59 UTC
> BuildArch:      noarch

You can't have header only libraries be noarch.

Comment 8 Onuralp Sezer 2023-03-03 12:47:54 UTC
I removed it.

Comment 9 Neal Gompa 2023-03-03 12:48:34 UTC
> %post -p /sbin/ldconfig

Not needed.

Comment 10 Onuralp Sezer 2023-03-03 12:50:27 UTC
I removed it.

Comment 11 Jakub Kadlčík 2023-03-03 12:51:25 UTC
Created attachment 1947689 [details]
The .spec file difference from Copr build 5589456 to 5589497

Comment 12 Jakub Kadlčík 2023-03-03 12:51:27 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/5589497
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2175162-vkroots/fedora-rawhide-x86_64/05589497-vkroots/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.

Comment 13 Neal Gompa 2023-03-03 12:59:46 UTC
Two things left:

* You need to put everything into a devel subpackage
* You need to file an upstream issue for vkroots to include copies of the licenses referenced, since I could not find any...

Comment 14 Onuralp Sezer 2023-03-03 13:18:59 UTC
I added everything under devel subpackage.
Github issue opened for license https://github.com/Joshua-Ashton/vkroots/issues/4

Comment 16 Jakub Kadlčík 2023-03-03 13:32:53 UTC
Created attachment 1947693 [details]
The .spec file difference from Copr build 5589497 to 5589666

Comment 17 Jakub Kadlčík 2023-03-03 13:32:55 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/5589666
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2175162-vkroots/fedora-rawhide-x86_64/05589666-vkroots/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.

Comment 18 Neal Gompa 2023-06-06 06:42:16 UTC
Are you going to make an updated package snapshot that contains the licensing stuff now that's fixed upstream?

Comment 20 Neal Gompa 2023-07-25 21:13:12 UTC
This looks good to me, but because this BZ is owned by Onuralp, please create a new BZ and close this one as a dupe of that one.

(Onuralp is not around at this time because he's dealing with other things...)

Comment 21 František Zatloukal 2023-07-25 21:16:26 UTC

*** This bug has been marked as a duplicate of bug 2226546 ***


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