Comment 5 for bug 2036333

Revision history for this message
In , imanolbarba (imanolbarba-redhat-bugs) wrote :

I was able to fix the mentioned bug by updating the `signon-ui` package as indicated by the reporter.

Just keep it mind it's not just updating the version, it's changing the upstream URL to a fork of the original package.

I was able to build the package that fix the bug applying the following changes to the SPEC file for the `signon-ui` package:

```
--- signon-ui.spec.orig 2023-08-15 20:48:44.395812563 +0200
+++ signon-ui.spec 2023-08-15 21:27:53.028272559 +0200
@@ -1,14 +1,12 @@
 Name: signon-ui
-Version: 0.15
+Version: 0.17+15.10.20150810
 Release: 19%{?dist}
 Summary: Online Accounts Sign-on Ui

 License: GPLv3
-URL: https://launchpad.net/signon-ui
+URL: https://gitlab.com/accounts-sso/signon-ui

-Source0: https://launchpad.net/signon-ui/trunk/%{version}/+download/signon-ui-%{version}.tar.bz2
-
-Patch0: signon-ui-0.15-fix-qt5-build.patch
+Source0: https://gitlab.com/accounts-sso/signon-ui/-/archive/%{version}-0ubuntu1/signon-ui-%{version}-0ubuntu1.tar.gz

 BuildRequires: make
 BuildRequires: qt5-qtbase-devel
@@ -17,6 +15,7 @@
 BuildRequires: signon-devel
 BuildRequires: libproxy-devel
 BuildRequires: libnotify-devel
+BuildRequires: qt5-qtwebengine-devel

 Requires: dbus

@@ -35,9 +34,7 @@

 %prep
-%setup -q -n signon-ui-%{version}
-
-%patch0 -p1 -b .qt5
+%setup -q -n signon-ui-%{version}-0ubuntu1

 %build
@@ -51,10 +48,6 @@
 %install
 make install INSTALL_ROOT=%{buildroot}

-# Remove installed tests
-rm %{buildroot}/%{_bindir}/signon-ui-unittest
-rm %{buildroot}/%{_bindir}/tst_inactivity_timer
-
 # Own directory where others can install provider-specific configuration
 mkdir -p %{buildroot}/%{_sysconfdir}/signon-ui/webkit-options.d
```

Interesting tidbits:
- Requires 1 new dependency
- no patches required
- Had to change the version references around a bit because the upstream url is adding the `-0ubuntu1` release to the version number