Fix cmake builddir creation
This commit is contained in:
parent
334a2266d4
commit
f84726eeaf
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
Name: tigervnc
|
Name: tigervnc
|
||||||
Version: 1.13.1
|
Version: 1.13.1
|
||||||
Release: 9%{?dist}
|
Release: 10%{?dist}
|
||||||
Summary: A TigerVNC remote display system
|
Summary: A TigerVNC remote display system
|
||||||
|
|
||||||
%global _hardened_build 1
|
%global _hardened_build 1
|
||||||
@ -211,7 +211,7 @@ export CXXFLAGS="$CFLAGS -std=c++11"
|
|||||||
%if 0%{?fedora} >= 35 || 0%{?rhel} >= 10
|
%if 0%{?fedora} >= 35 || 0%{?rhel} >= 10
|
||||||
%define __cmake_builddir %{_target_platform}
|
%define __cmake_builddir %{_target_platform}
|
||||||
|
|
||||||
mkdir -p %{%__cmake_builddir}
|
mkdir -p %{__cmake_builddir}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%cmake -DCMAKE_INSTALL_UNITDIR=%{_unitdir}
|
%cmake -DCMAKE_INSTALL_UNITDIR=%{_unitdir}
|
||||||
@ -262,6 +262,7 @@ popd
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%cmake_install
|
%cmake_install
|
||||||
rm -f %{buildroot}%{_docdir}/%{name}-%{version}/{README.rst,LICENCE.TXT}
|
rm -f %{buildroot}%{_docdir}/%{name}-%{version}/{README.rst,LICENCE.TXT}
|
||||||
@ -383,6 +384,9 @@ fi
|
|||||||
%{_datadir}/icons/hicolor/*/apps/*
|
%{_datadir}/icons/hicolor/*/apps/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Dec 20 2023 Peter Hutterer <peter.hutterer@redhat.com> - 1.13.1-10
|
||||||
|
- Fix cmake builddir creation
|
||||||
|
|
||||||
* Wed Dec 13 2023 Jan Grulich <jgrulich@redhat.com> - 1.13.1-9
|
* Wed Dec 13 2023 Jan Grulich <jgrulich@redhat.com> - 1.13.1-9
|
||||||
- Rebuild for Xorg CVEs
|
- Rebuild for Xorg CVEs
|
||||||
Fixes: CVE-2023-6377, CVE-2023-6478
|
Fixes: CVE-2023-6377, CVE-2023-6478
|
||||||
|
Loading…
Reference in New Issue
Block a user