Fix build on CentOS/RHEL 7

epel9
Simone Caronni 4 years ago
parent f6afb8d063
commit 47922cb585

@ -2,7 +2,7 @@
Name: remmina Name: remmina
Version: 1.4.9 Version: 1.4.9
Release: 1%{?dist} Release: 2%{?dist}
Summary: Remote Desktop Client Summary: Remote Desktop Client
License: GPLv2+ and MIT License: GPLv2+ and MIT
URL: http://remmina.org URL: http://remmina.org
@ -254,7 +254,7 @@ export CFLAGS="%{optflags} -I%{_includedir}/harfbuzz"
export CFLAGS="%{optflags} -std=gnu99" export CFLAGS="%{optflags} -std=gnu99"
%endif %endif
%cmake \ %cmake3 \
-DCMAKE_INSTALL_LIBDIR=%{_lib} \ -DCMAKE_INSTALL_LIBDIR=%{_lib} \
-DCMAKE_INSTALL_PREFIX=%{_prefix} \ -DCMAKE_INSTALL_PREFIX=%{_prefix} \
-DWITH_APPINDICATOR=ON \ -DWITH_APPINDICATOR=ON \
@ -268,10 +268,10 @@ export CFLAGS="%{optflags} -std=gnu99"
-DWITH_TELEPATHY=OFF \ -DWITH_TELEPATHY=OFF \
-DWITH_VTE=ON -DWITH_VTE=ON
%cmake_build %cmake3_build
%install %install
%cmake_install %cmake3_install
mkdir -p %{buildroot}/%{_libdir}/cmake/%{name}/ mkdir -p %{buildroot}/%{_libdir}/cmake/%{name}/
cp -pr cmake/*.cmake %{buildroot}/%{_libdir}/cmake/%{name}/ cp -pr cmake/*.cmake %{buildroot}/%{_libdir}/cmake/%{name}/
@ -357,6 +357,9 @@ appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/*.appdat
%{_mandir}/man1/remmina-gnome.1.* %{_mandir}/man1/remmina-gnome.1.*
%changelog %changelog
* Mon Nov 30 2020 Simone Caronni <negativo17@gmail.com> - 1.4.9-2
- Fix build on CentOS/RHEL 7.
* Mon Nov 30 2020 Simone Caronni <negativo17@gmail.com> - 1.4.9-1 * Mon Nov 30 2020 Simone Caronni <negativo17@gmail.com> - 1.4.9-1
- Update to 1.4.9. - Update to 1.4.9.

Loading…
Cancel
Save