Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package discover for openSUSE:Factory 
checked in at 2023-12-21 23:37:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/discover (Old)
 and      /work/SRC/openSUSE:Factory/.discover.new.1840 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "discover"

Thu Dec 21 23:37:43 2023 rev:139 rq:1133972 version:5.27.10

Changes:
--------
--- /work/SRC/openSUSE:Factory/discover/discover.changes        2023-12-07 
19:09:59.862356233 +0100
+++ /work/SRC/openSUSE:Factory/.discover.new.1840/discover.changes      
2023-12-21 23:37:45.112652574 +0100
@@ -1,0 +2,7 @@
+Fri Dec 15 08:52:06 UTC 2023 - Christophe Marin <[email protected]>
+
+- Update appstream build requirement for compatibility with 1.0.0
+  (boo#1217047)
+- Remove obsolete version checks
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ discover.spec ++++++
--- /var/tmp/diff_new_pack.wV1AoY/_old  2023-12-21 23:37:45.880680582 +0100
+++ /var/tmp/diff_new_pack.wV1AoY/_new  2023-12-21 23:37:45.884680727 +0100
@@ -17,9 +17,6 @@
 
 
 %bcond_without released
-# Version in Leap 15.2 is too old
-%global have_fwupd (0%{?suse_version} > 1500 || 0%{?sle_version} >= 150300)
-
 Name:           discover
 Version:        5.27.10
 Release:        0
@@ -39,7 +36,7 @@
 BuildRequires:  flatpak-devel
 BuildRequires:  kf5-filesystem
 BuildRequires:  update-desktop-files
-BuildRequires:  cmake(AppStreamQt) >= 0.11.1
+BuildRequires:  (cmake(AppStreamQt5) >= 1.0.0 or cmake(AppStreamQt) < 1.0.0)
 BuildRequires:  cmake(KF5Archive)
 BuildRequires:  cmake(KF5Attica)
 BuildRequires:  cmake(KF5Config)
@@ -74,18 +71,14 @@
 BuildRequires:  cmake(Qt5Widgets)
 BuildRequires:  cmake(Qt5Xml)
 BuildRequires:  cmake(packagekitqt5) >= 1.0.1
-%if %{have_fwupd}
 BuildRequires:  pkgconfig(fwupd) >= 1.0.6
-%endif
 Requires:       kdeclarative-components
 Requires:       kirigami2
 Requires:       kuserfeedback-imports
 Requires:       libqt5-qtquickcontrols2
 Recommends:     %{name}-backend-packagekit
 Recommends:     %{name}-lang
-%if 0%{?suse_version} > 1500 || 0%{?sle_version} >= 150100
 Recommends:     %{name}-backend-flatpak
-%endif
 # Conflicts with plasma5-pk-updates
 # Recommends:     %%{name}-notifier
 Recommends:     %{name}-backend-fwupd
@@ -101,7 +94,7 @@
 Requires:       %{name} = %{version}
 # Technically libdiscover and not the backend implements AppStream support, but
 # it's useless without system package management
-Requires:       AppStream
+%requires_eq    AppStream
 Requires:       PackageKit
 Requires:       appstream-provider
 
@@ -144,15 +137,15 @@
 %autosetup -p1
 
 %build
-  %cmake_kf5 -d build
-  %cmake_build
+%cmake_kf5 -d build
+%cmake_build
 
 %install
-  %kf5_makeinstall -C build
-  %suse_update_desktop_file -r org.kde.discover Qt KDE System PackageManager
+%kf5_makeinstall -C build
+%suse_update_desktop_file -r org.kde.discover Qt KDE System PackageManager
 
-  # Even without the snap backend, this is installed...
-  rm %{buildroot}%{_kf5_applicationsdir}/org.kde.discover.snap.desktop
+# Even without the snap backend, this is installed...
+rm %{buildroot}%{_kf5_applicationsdir}/org.kde.discover.snap.desktop
 
 %find_lang libdiscover %{name}.lang
 %find_lang plasma-discover %{name}.lang
@@ -185,7 +178,6 @@
 %{_kf5_sharedir}/libdiscover/categories/packagekit-backend-categories.xml
 %{_kf5_appstreamdir}/org.kde.discover.packagekit.appdata.xml
 
-%if 0%{?suse_version} > 1500 || 0%{?sle_version} >= 150100
 %files backend-flatpak
 %license LICENSES/*
 %{_kf5_plugindir}/discover/flatpak-backend.so
@@ -193,13 +185,10 @@
 %{_kf5_appstreamdir}/org.kde.discover.flatpak.appdata.xml
 %{_kf5_applicationsdir}/org.kde.discover-flatpak.desktop
 %{_kf5_iconsdir}/hicolor/*/apps/flatpak-discover.svg
-%endif
 
-%if %{have_fwupd}
 %files backend-fwupd
 %license LICENSES/*
 %{_kf5_plugindir}/discover/fwupd-backend.so
-%endif
 
 %files notifier -f notifier.lang
 %license LICENSES/*

Reply via email to