%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
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 /launchpad. net/signon- ui /gitlab. com/accounts- sso/signon- ui
-URL: https:/
+URL: https:/
-Source0: https:/ /launchpad. net/signon- ui/trunk/ %{version} /+download/ signon- ui-%{version} .tar.bz2 ui-0.15- fix-qt5- build.patch /gitlab. com/accounts- sso/signon- ui/-/archive/ %{version} -0ubuntu1/ signon- ui-%{version} -0ubuntu1. tar.gz
-
-Patch0: signon-
+Source0: https:/
BuildRequires: make -devel
BuildRequires: qt5-qtbase-devel
@@ -17,6 +15,7 @@
BuildRequires: signon-devel
BuildRequires: libproxy-devel
BuildRequires: libnotify-devel
+BuildRequires: qt5-qtwebengine
Requires: dbus
@@ -35,9 +34,7 @@
%prep ui-%{version} ui-%{version} -0ubuntu1
-%setup -q -n signon-
-
-%patch0 -p1 -b .qt5
+%setup -q -n signon-
%build ROOT=%{ buildroot}
@@ -51,10 +48,6 @@
%install
make install INSTALL_
-# Remove installed tests /%{_bindir} /signon- ui-unittest /%{_bindir} /tst_inactivity _timer /%{_sysconfdir} /signon- ui/webkit- options. d
-rm %{buildroot}
-rm %{buildroot}
-
# Own directory where others can install provider-specific configuration
mkdir -p %{buildroot}
```
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