Fedora Account System
Red Hat Associate
Red Hat Customer
Spec URL: https://github.com/SimoesCTT/the-level/releases/download/v0.1.0/the-level.spec SRPM URL: https://github.com/SimoesCTT/the-level/releases/download/v0.1.0/the-level-0.1.0-1.fc43.src.rpm Description: The Level provides two small C libraries for zero-copy CPU/GPU shared memory on Linux. chipmem allocates an i915 GEM object, exports it as a DMA-BUF, and provides one explicit coherency handoff. blit is a programmable async 2D engine on the same buffers. Verified on Intel Skylake-U. This is my first package and I need a sponsor. Fedora Account System Username: simoesctt
Cannot find any valid SRPM URL for this ticket. Common causes are: - You didn't specify `SRPM URL: ...` in the ticket description or any of your comments - The URL schema isn't HTTP or HTTPS - The SRPM package linked in your URL doesn't match the package name specified in the ticket summary --- 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.
Spec URL: https://github.com/SimoesCTT/the-level/releases/download/v0.1.0/the-level.spec SRPM URL: https://github.com/SimoesCTT/the-level/releases/download/v0.1.0/the-level-0.1.0-1.fc43.src.rpm
Spec URL: https://download.copr.fedorainfracloud.org/results/simoesctt/the-level/fedora-43-x86_64/11300654-the-level/the-level.spec SRPM URL: https://download.copr.fedorainfracloud.org/results/simoesctt/the-level/fedora-43-x86_64/11300654-the-level/the-level-0.1.0-1.fc43.src.rpm
> %autosetup -n %{name}-%{version} %{name}-%{version} is the default value for the -n option, so you can drop it. > export CFLAGS="%{optflags}" You don't need to do this; CFLAGS/LDFLAGS are exported automatically. > %check > make -C chipmem check || : Why run a test if you're going to ignore the failure? > %files > %dir %{_includedir}/the-level > %{_includedir}/the-level/chipmem.h > %{_includedir}/the-level/blit.h Instead of using "%dir %{_includedir}/the-level and then listing the files inside, you can just use "%{_includedir}/the-level", which will pull in the directory with all the files inside it. Also, consider moving the detailed description to the -devel package, as this spec does not produce the main "the-level" package.
Thanks for the review. All four points addressed: 1. %autosetup without -n. 2. Dropped the export CFLAGS line; the Makefiles append include paths with += and honor the automatic %{optflags}. 3. The chipmem test exits 77 when there is no render node (the mock chroot has no /dev/dri). The Makefile's check target now treats exit 77 as success, so the spec uses plain `make -C chipmem check`. 4. Dropped the -devel subpackage. The package is header-only; there is no main package to describe. The spec now produces a single `the-level` package that owns %{_includedir}/the-level, with %license and %doc. New build: Spec URL: https://download.copr.fedorainfracloud.org/results/simoesctt/the-level/fedora-43-x86_64/11301142-the-level/the-level.spec SRPM URL: https://download.copr.fedorainfracloud.org/results/simoesctt/the-level/fedora-43-x86_64/11301142-the-level/the-level-0.1.0-1.fc43.src.rpm