Bug 2207838

Summary: Review Request: libei - Library for Emulated Input
Product: [Fedora] Fedora Reporter: Peter Hutterer <peter.hutterer>
Component: Package ReviewAssignee: Neal Gompa <ngompa13>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: ngompa13, ofourdan, package-review
Target Milestone: ---Flags: ngompa13: fedora-review+
Target Release: ---   
Hardware: All   
OS: Linux   
URL: http://gitlab.freedesktop.org/libinput/libei
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-05-18 05:40:30 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
The .spec file difference from Copr build 5927056 to 5927057
none
The .spec file difference from Copr build 5927057 to 5929565 none

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!