Bug 2207838 - Review Request: libei - Library for Emulated Input
Summary: Review Request: libei - Library for Emulated Input
Keywords:
Status: CLOSED RAWHIDE
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: http://gitlab.freedesktop.org/libinpu...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-05-17 05:32 UTC by Peter Hutterer
Modified: 2023-05-18 05:40 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-05-18 05:40:30 UTC
Type: ---
Embargoed:
ngompa13: fedora-review+


Attachments (Terms of Use)
The .spec file difference from Copr build 5927056 to 5927057 (2.27 KB, patch)
2023-05-17 06:24 UTC, Fedora Review Service
no flags Details | Diff
The .spec file difference from Copr build 5927057 to 5929565 (3.53 KB, patch)
2023-05-17 23:55 UTC, Fedora Review Service
no flags Details | Diff

Description Peter Hutterer 2023-05-17 05:32:03 UTC
Spec URL: https://people.freedesktop.org/~whot/libei/libei.spec
SRPM URL: https://people.freedesktop.org/~whot/libei/libei-0.99.1-1.fc38.src.rpm
Description: 
  libei is a library to Emulate Input. It allows clients to talk to                                                                         
  an EIS implementatation (Emulated Input Server), typically a Wayland compositor                                                             
  and send input events via that connection. The EIS implementation                                                                           
  replays those events as if they came from physical devices.  
Fedora Account System Username: whot

Comment 1 Fedora Review Service 2023-05-17 05:34:49 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/5927016
(failed)

Build log:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2207838-libei/fedora-rawhide-x86_64/05927016-libei/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 Fedora Review Service 2023-05-17 06:09:42 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/5927056
(failed)

Build log:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2207838-libei/fedora-rawhide-x86_64/05927056-libei/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 4 Peter Hutterer 2023-05-17 06:11:09 UTC
sigh, probably helps if I copy to the right host... let's try again:

Spec URL: https://people.freedesktop.org/~whot/libei/libei.spec
SRPM URL: https://people.freedesktop.org/~whot/libei/libei-0.99.1-1.fc38.src.rpm

Comment 5 Fedora Review Service 2023-05-17 06:24:07 UTC
Created attachment 1964988 [details]
The .spec file difference from Copr build 5927056 to 5927057

Comment 6 Fedora Review Service 2023-05-17 06:24:09 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/5927057
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2207838-libei/fedora-rawhide-x86_64/05927057-libei/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 7 Neal Gompa 2023-05-17 16:18:33 UTC
Taking this review.

Comment 8 Neal Gompa 2023-05-17 16:33:10 UTC
> %ldconfig_scriptlets

This can be dropped because it doesn't do anything since RHEL 8 / Fedora 28.

Comment 9 Neal Gompa 2023-05-17 16:57:36 UTC
Spec review:

> BuildRequires:  git-core
> BuildRequires:  meson gcc libxml2 pkgconf-pkg-config systemd-devel
> BuildRequires:  python3 python3-attrs python3-jinja2
> BuildRequires:  python3-rpm-macros

Having each dependency on its own line is preferred, since it makes easier to diff over time

> %package -n libeis-devel
> Summary:        Library for Emulated Input Serverse Development Package
> Requires:       %{name}%{?_isa} = %{version}-%{release}

This must require libeis, not libei

> %package -n liboeffis-devel
> Summary:        Library for XDG RemoteDesktop Portal Setup Development Package
> Requires:       %{name}%{?_isa} = %{version}-%{release}

This must require liboeffis, not libei

> %ldconfig_scriptlets

This can be dropped because it doesn't do anything since RHEL 8 / Fedora 28.

> %doc COPYING

This must be "%license COPYING".

Comment 10 Peter Hutterer 2023-05-17 23:42:48 UTC
Thanks for the review, everything addressed including one extra issue: libeis/liboeffis don't need to Requires: libei, so dropped that line
No more %{name} usage either, spelled out the individual package names everywhere. Less chance of that being wrong.

Spec URL: https://people.freedesktop.org/~whot/libei/libei.spec
SRPM URL: https://people.freedesktop.org/~whot/libei/libei-0.99.1-2.fc38.src.rpm


Note for us puny humans: I bumped to -2 so the src.rpm file name has changed.

Comment 11 Fedora Review Service 2023-05-17 23:55:14 UTC
Created attachment 1965294 [details]
The .spec file difference from Copr build 5927057 to 5929565

Comment 12 Fedora Review Service 2023-05-17 23:55:15 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/5929565
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2207838-libei/fedora-rawhide-x86_64/05929565-libei/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-05-18 01:06:17 UTC
Another small thing:

> %{_libdir}/libei.so.*
> [...]
> %{_libdir}/libeis.so.*
> [...]
> %{_libdir}/liboeffis.so.*

The soversions need to be tracked directly in the spec file so that soname bumps are noticed.

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

Comment 14 Peter Hutterer 2023-05-18 02:21:17 UTC
Fixed, thanks. Bumped to -3, just ftr.

Spec URL: https://people.freedesktop.org/~whot/libei/libei.spec
SRPM URL: https://people.freedesktop.org/~whot/libei/libei-0.99.1-3.fc38.src.rpm

Comment 15 Neal Gompa 2023-05-18 02:25:29 UTC
Everything looks good now, so...

PACKAGE APPROVED.

Comment 16 Fedora Admin user for bugzilla script actions 2023-05-18 02:35:23 UTC
The Pagure repository was created at https://src.fedoraproject.org/rpms/libei

Comment 17 Peter Hutterer 2023-05-18 05:40:30 UTC
libei-0.99.1-1.fc39 is now in rawhide

F38 builds will be as soon as koji lets me build them. Thanks for the quick review!


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