Accepting request 1133364 from home:krop:Appstream
- Update appstream build requirement for compatibility with 1.0.0 (boo#1217047) - Remove obsolete version checks OBS-URL: https://build.opensuse.org/request/show/1133364 OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/discover?expand=0&rev=347
This commit is contained in:
committed by
Git OBS Bridge
parent
a9ae6d2a39
commit
c8563d2344
@@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Dec 15 08:52:06 UTC 2023 - Christophe Marin <christophe@krop.fr>
|
||||||
|
|
||||||
|
- Update appstream build requirement for compatibility with 1.0.0
|
||||||
|
(boo#1217047)
|
||||||
|
- Remove obsolete version checks
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Dec 6 11:45:59 UTC 2023 - Fabian Vogt <fabian@ritter-vogt.de>
|
Wed Dec 6 11:45:59 UTC 2023 - Fabian Vogt <fabian@ritter-vogt.de>
|
||||||
|
|
||||||
|
@@ -17,9 +17,6 @@
|
|||||||
|
|
||||||
|
|
||||||
%bcond_without released
|
%bcond_without released
|
||||||
# Version in Leap 15.2 is too old
|
|
||||||
%global have_fwupd (0%{?suse_version} > 1500 || 0%{?sle_version} >= 150300)
|
|
||||||
|
|
||||||
Name: discover
|
Name: discover
|
||||||
Version: 5.27.10
|
Version: 5.27.10
|
||||||
Release: 0
|
Release: 0
|
||||||
@@ -39,7 +36,7 @@ BuildRequires: extra-cmake-modules >= 5.98.0
|
|||||||
BuildRequires: flatpak-devel
|
BuildRequires: flatpak-devel
|
||||||
BuildRequires: kf5-filesystem
|
BuildRequires: kf5-filesystem
|
||||||
BuildRequires: update-desktop-files
|
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(KF5Archive)
|
||||||
BuildRequires: cmake(KF5Attica)
|
BuildRequires: cmake(KF5Attica)
|
||||||
BuildRequires: cmake(KF5Config)
|
BuildRequires: cmake(KF5Config)
|
||||||
@@ -74,18 +71,14 @@ BuildRequires: cmake(Qt5WebView)
|
|||||||
BuildRequires: cmake(Qt5Widgets)
|
BuildRequires: cmake(Qt5Widgets)
|
||||||
BuildRequires: cmake(Qt5Xml)
|
BuildRequires: cmake(Qt5Xml)
|
||||||
BuildRequires: cmake(packagekitqt5) >= 1.0.1
|
BuildRequires: cmake(packagekitqt5) >= 1.0.1
|
||||||
%if %{have_fwupd}
|
|
||||||
BuildRequires: pkgconfig(fwupd) >= 1.0.6
|
BuildRequires: pkgconfig(fwupd) >= 1.0.6
|
||||||
%endif
|
|
||||||
Requires: kdeclarative-components
|
Requires: kdeclarative-components
|
||||||
Requires: kirigami2
|
Requires: kirigami2
|
||||||
Requires: kuserfeedback-imports
|
Requires: kuserfeedback-imports
|
||||||
Requires: libqt5-qtquickcontrols2
|
Requires: libqt5-qtquickcontrols2
|
||||||
Recommends: %{name}-backend-packagekit
|
Recommends: %{name}-backend-packagekit
|
||||||
Recommends: %{name}-lang
|
Recommends: %{name}-lang
|
||||||
%if 0%{?suse_version} > 1500 || 0%{?sle_version} >= 150100
|
|
||||||
Recommends: %{name}-backend-flatpak
|
Recommends: %{name}-backend-flatpak
|
||||||
%endif
|
|
||||||
# Conflicts with plasma5-pk-updates
|
# Conflicts with plasma5-pk-updates
|
||||||
# Recommends: %%{name}-notifier
|
# Recommends: %%{name}-notifier
|
||||||
Recommends: %{name}-backend-fwupd
|
Recommends: %{name}-backend-fwupd
|
||||||
@@ -101,7 +94,7 @@ Group: System/GUI/KDE
|
|||||||
Requires: %{name} = %{version}
|
Requires: %{name} = %{version}
|
||||||
# Technically libdiscover and not the backend implements AppStream support, but
|
# Technically libdiscover and not the backend implements AppStream support, but
|
||||||
# it's useless without system package management
|
# it's useless without system package management
|
||||||
Requires: AppStream
|
%requires_eq AppStream
|
||||||
Requires: PackageKit
|
Requires: PackageKit
|
||||||
Requires: appstream-provider
|
Requires: appstream-provider
|
||||||
|
|
||||||
@@ -185,7 +178,6 @@ user to install them using Discover.
|
|||||||
%{_kf5_sharedir}/libdiscover/categories/packagekit-backend-categories.xml
|
%{_kf5_sharedir}/libdiscover/categories/packagekit-backend-categories.xml
|
||||||
%{_kf5_appstreamdir}/org.kde.discover.packagekit.appdata.xml
|
%{_kf5_appstreamdir}/org.kde.discover.packagekit.appdata.xml
|
||||||
|
|
||||||
%if 0%{?suse_version} > 1500 || 0%{?sle_version} >= 150100
|
|
||||||
%files backend-flatpak
|
%files backend-flatpak
|
||||||
%license LICENSES/*
|
%license LICENSES/*
|
||||||
%{_kf5_plugindir}/discover/flatpak-backend.so
|
%{_kf5_plugindir}/discover/flatpak-backend.so
|
||||||
@@ -193,13 +185,10 @@ user to install them using Discover.
|
|||||||
%{_kf5_appstreamdir}/org.kde.discover.flatpak.appdata.xml
|
%{_kf5_appstreamdir}/org.kde.discover.flatpak.appdata.xml
|
||||||
%{_kf5_applicationsdir}/org.kde.discover-flatpak.desktop
|
%{_kf5_applicationsdir}/org.kde.discover-flatpak.desktop
|
||||||
%{_kf5_iconsdir}/hicolor/*/apps/flatpak-discover.svg
|
%{_kf5_iconsdir}/hicolor/*/apps/flatpak-discover.svg
|
||||||
%endif
|
|
||||||
|
|
||||||
%if %{have_fwupd}
|
|
||||||
%files backend-fwupd
|
%files backend-fwupd
|
||||||
%license LICENSES/*
|
%license LICENSES/*
|
||||||
%{_kf5_plugindir}/discover/fwupd-backend.so
|
%{_kf5_plugindir}/discover/fwupd-backend.so
|
||||||
%endif
|
|
||||||
|
|
||||||
%files notifier -f notifier.lang
|
%files notifier -f notifier.lang
|
||||||
%license LICENSES/*
|
%license LICENSES/*
|
||||||
|
Reference in New Issue
Block a user