This commit is contained in:
2025-12-10 01:02:30 +08:00
parent ed173b77ab
commit b7c259603f
2 changed files with 13 additions and 13 deletions

View File

@@ -43,17 +43,17 @@
%global _kf6_debugdir %{_kf6_sharedir}/qlogging-categories6
%global _kf6_wallpapersdir %{_kf6_sharedir}/wallpapers
Name: kf6-filesystem
Version: 20251125
Release: %autorelease
Summary: RPM macros for KDE packages using Qt6
License: MIT
Source0: macros.kf6
BuildArch: noarch
Name: kf6-filesystem
Version: 20251125
Release: %autorelease
Summary: RPM macros for KDE packages using Qt6
License: MIT
Source0: macros.kf6
BuildArch: noarch
Requires: cmake
Requires: hicolor-icon-theme
Requires: ninja
Requires: cmake
Requires: hicolor-icon-theme
Requires: ninja
%description
This package contains macros which are used when building KDE packages.

View File

@@ -63,7 +63,7 @@
%kf6_use_make %global __kf6_build_tool %__make
# Run CMake
%cmake_kf6 \
%cmake \
cmake -DCMAKE_BUILD_TYPE:STRING=%{__kf6_build_type} \\\
-DCMAKE_INSTALL_PREFIX:STRING=%{_kf6_prefix} \\\
-S %__kf6_sourcedir \\\
@@ -85,9 +85,9 @@
-DBUILD_TESTING:BOOL=FALSE
# Build the package
%kf6_build \
%cmake_build \
cmake --build %__kf6_builddir %{?_smp_mflags} -v
# Install package
%kf6_install \
%cmake_install \
DESTDIR=%{buildroot} cmake --install %__kf6_builddir -v