forked from pool/kcalendarcore
Accepting request 914619 from KDE:Frameworks5
- Disable lto for ppc64 builds. OBS-URL: https://build.opensuse.org/request/show/914619 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/kcalendarcore?expand=0&rev=23
This commit is contained in:
commit
da5aadfea3
@ -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>
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user