[packages/kp6-discover] - fix bcond with_fwupd
witekfl
witekfl at pld-linux.org
Fri Jul 5 16:44:17 CEST 2024
commit 63e56cbdca87cb0882259ad05af8b9edfd45f1da
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date: Fri Jul 5 16:07:58 2024 +0200
- fix bcond with_fwupd
kp6-discover.spec | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/kp6-discover.spec b/kp6-discover.spec
index 65eba45..bf60669 100644
--- a/kp6-discover.spec
+++ b/kp6-discover.spec
@@ -1,7 +1,7 @@
#
# Conditional build:
%bcond_with tests # build with tests
-%bcond_with fwupd # build with fwupd
+%bcond_without fwupd # build without fwupd
%define kdeplasmaver 6.1.2
%define qtver 5.15.2
%define kpname discover
@@ -29,7 +29,7 @@ BuildRequires: Qt6Widgets-devel >= %{qtver}
BuildRequires: Qt6Xml-devel >= %{qtver}
BuildRequires: cmake >= 3.16.0
BuildRequires: flatpak-devel >= 1.14.5
-%{?with fwupd:BuildRequires: fwupd-devel >= 1.9.4}
+%{?with_fwupd:BuildRequires: fwupd-devel >= 1.9.4}
BuildRequires: kf6-extra-cmake-modules >= 1.4.0
BuildRequires: kf6-karchive-devel
BuildRequires: kf6-kconfig-devel
@@ -95,7 +95,7 @@ rm -rf $RPM_BUILD_ROOT
%files -f discover.lang
%defattr(644,root,root,755)
%dir %{_libdir}/qt6/plugins/discover
-%{?with fwupd:%attr(755,root,root) %{_libdir}/qt6/plugins/discover/fwupd-backend.so}
+%{?with_fwupd:%attr(755,root,root) %{_libdir}/qt6/plugins/discover/fwupd-backend.so}
%{_desktopdir}/org.kde.discover.desktop
%attr(755,root,root) %{_bindir}/plasma-discover
%{_libdir}/plasma-discover
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/kp6-discover.git/commitdiff/63e56cbdca87cb0882259ad05af8b9edfd45f1da
More information about the pld-cvs-commit
mailing list