forked from pool/kcalendarcore
This commit is contained in:
parent
54bd1ba527
commit
1908a88df0
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 27 13:10:38 UTC 2021 - Christophe Giboudeaux <christophe@krop.fr>
|
||||
|
||||
- Disable lto for ppc64 builds.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 6 12:11:29 UTC 2021 - Christophe Giboudeaux <christophe@krop.fr>
|
||||
|
||||
|
@ -35,6 +35,7 @@ Source1: https://download.kde.org/stable/frameworks/%{_tar_path}/%{name}-
|
||||
Source2: frameworks.keyring
|
||||
%endif
|
||||
BuildRequires: extra-cmake-modules >= %{_kf5_version}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: cmake(LibIcal) >= 3.0
|
||||
BuildRequires: cmake(Qt5Core) >= 5.15.0
|
||||
BuildRequires: cmake(Qt5Gui) >= 5.15.0
|
||||
@ -76,12 +77,18 @@ develop applications making use of KCalendarCore.
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
%ifarch ppc64
|
||||
%define _lto_cflags %{nil}
|
||||
%endif
|
||||
|
||||
%cmake_kf5 -d build
|
||||
%cmake_build
|
||||
|
||||
%install
|
||||
%kf5_makeinstall -C build
|
||||
|
||||
%fdupes %{buildroot}%{_kf5_includedir}
|
||||
|
||||
%post -n libKF5CalendarCore5 -p /sbin/ldconfig
|
||||
%postun -n libKF5CalendarCore5 -p /sbin/ldconfig
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user