1
0
forked from pool/kcalendarcore
Christophe Giboudeaux 2021-08-27 13:10:43 +00:00 committed by Git OBS Bridge
parent 54bd1ba527
commit 1908a88df0
2 changed files with 12 additions and 0 deletions

View File

@ -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> Fri Aug 6 12:11:29 UTC 2021 - Christophe Giboudeaux <christophe@krop.fr>

View File

@ -35,6 +35,7 @@ Source1: https://download.kde.org/stable/frameworks/%{_tar_path}/%{name}-
Source2: frameworks.keyring Source2: frameworks.keyring
%endif %endif
BuildRequires: extra-cmake-modules >= %{_kf5_version} BuildRequires: extra-cmake-modules >= %{_kf5_version}
BuildRequires: fdupes
BuildRequires: cmake(LibIcal) >= 3.0 BuildRequires: cmake(LibIcal) >= 3.0
BuildRequires: cmake(Qt5Core) >= 5.15.0 BuildRequires: cmake(Qt5Core) >= 5.15.0
BuildRequires: cmake(Qt5Gui) >= 5.15.0 BuildRequires: cmake(Qt5Gui) >= 5.15.0
@ -76,12 +77,18 @@ develop applications making use of KCalendarCore.
%autosetup -p1 %autosetup -p1
%build %build
%ifarch ppc64
%define _lto_cflags %{nil}
%endif
%cmake_kf5 -d build %cmake_kf5 -d build
%cmake_build %cmake_build
%install %install
%kf5_makeinstall -C build %kf5_makeinstall -C build
%fdupes %{buildroot}%{_kf5_includedir}
%post -n libKF5CalendarCore5 -p /sbin/ldconfig %post -n libKF5CalendarCore5 -p /sbin/ldconfig
%postun -n libKF5CalendarCore5 -p /sbin/ldconfig %postun -n libKF5CalendarCore5 -p /sbin/ldconfig