!3 fixed kpeoplevcard build failure in openEuler-24.03-LTS-SP1:epol
From: @chenyanpanX Reviewed-by: @misaka00251 Signed-off-by: @misaka00251
This commit is contained in:
commit
670da1ac15
@ -1,6 +1,6 @@
|
|||||||
Name: kpeoplevcard
|
Name: kpeoplevcard
|
||||||
Version: 0.1
|
Version: 0.1
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: Expose VCard contacts to KPeople
|
Summary: Expose VCard contacts to KPeople
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
URL: https://invent.kde.org/pim/kpeoplevcard
|
URL: https://invent.kde.org/pim/kpeoplevcard
|
||||||
@ -36,14 +36,12 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
|
|||||||
%autosetup -n %{name}-%{version}
|
%autosetup -n %{name}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
mkdir %{_target_platform}
|
%{cmake_kf5}
|
||||||
pushd %{_target_platform}
|
%{cmake_build}
|
||||||
%{cmake_kf5} ..
|
|
||||||
popd
|
|
||||||
%make_build -C %{_target_platform}
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
%{cmake_install}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license COPYING
|
%license COPYING
|
||||||
@ -53,5 +51,8 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
|||||||
%{_kf5_libdir}/cmake/KF5PeopleVCard
|
%{_kf5_libdir}/cmake/KF5PeopleVCard
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Nov 15 2024 ChenYanpan <chenyanpan@xfusion.com> - 0.1-2
|
||||||
|
- adapt to the new CMake macros to fix build failure
|
||||||
|
|
||||||
* Mon Sep 11 2023 misaka00251 <liuxin@iscas.ac.cn> - 0.1-1
|
* Mon Sep 11 2023 misaka00251 <liuxin@iscas.ac.cn> - 0.1-1
|
||||||
- Init packge
|
- Init packge
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user