Change cmake macros to fix FTBFS

f40
Mukundan Ragavan 5 years ago
parent 4b624a2221
commit f0b4e9ec98

@ -1,9 +1,9 @@
%global __cmake_in_source_build 1
%undefine __cmake_in_source_build
%global _hardened_build 1
Name: nextcloud-client
Version: 2.6.5
Release: 5%{?dist}
Release: 6%{?dist}
Summary: The Nextcloud Client
# -libs are LGPLv2+, rest GPLv2
@ -148,17 +148,12 @@ The nextcloud desktop client dolphin extension.
%build
mkdir build
pushd build
%cmake_kf5 .. -DCMAKE_SHARED_LINKER_FLAGS="-Wl,--as-needed"
make %{?_smp_mflags}
popd
%cmake -DCMAKE_SHARED_LINKER_FLAGS="-Wl,--as-needed"
%cmake_build
%install
pushd build
make install DESTDIR=%{buildroot}
popd
%cmake_install
%find_lang client --with-qt
mkdir -p %{buildroot}%{_datadir}/appdata/
install -m 644 %{SOURCE1} %{buildroot}%{_datadir}/appdata/nextcloud.appdata.xml
@ -231,6 +226,9 @@ appstream-util validate-relax --nonet %{buildroot}%{_datadir}/appdata/nextcloud.
%endif
%changelog
* Tue Aug 04 2020 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 2.6.5-6
- Change cmake macros to fix FTBFS
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.5-5
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild

Loading…
Cancel
Save