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

Loading…
Cancel
Save