adapt to the new CMake macros to fix build failure

This commit is contained in:
ChenYanpan 2024-11-15 19:44:27 +08:00
parent 59d0502011
commit 4c86155c4c
No known key found for this signature in database
GPG Key ID: 743990DD9697055F

View File

@ -10,7 +10,7 @@ Name: oxygen-icon-theme
Summary: Oxygen icon theme
Epoch: 1
Version: 5.113.0
Release: 1
Release: 2
License: LGPLv3+
URL: https://techbase.kde.org/Projects/Oxygen
@ -57,15 +57,12 @@ sed -i -e "s|%{version}|%{kf5_version}|g" CMakeLists.txt
%build
mkdir %{_target_platform}
pushd %{_target_platform}
%{cmake_kf5} ..
popd
%make_build -C %{_target_platform}
%{cmake_kf5}
%{cmake_build}
%install
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%{cmake_install}
pushd %{buildroot}%{_kf5_datadir}/icons/oxygen
@ -111,6 +108,9 @@ fi
%changelog
* Sun Nov 17 2024 ChenYanpan <chenyanpan@xfusion.com> - 1:5.113.0-2
- adapt to the new CMake macros to fix build failure
* Mon Jan 08 2024 Tianze Li <litianze@uniontech.com> - 1:5.113.0-1
- Update to 5.113.0