From f2bc1f536f68a931e8573dbfedec9fd31d4eb266 Mon Sep 17 00:00:00 2001 From: Ravindra Kumar Date: Tue, 6 Aug 2013 16:19:04 -0700 Subject: [PATCH] Fixes for bug 990547, 990549, 990552 --- open-vm-tools.spec | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/open-vm-tools.spec b/open-vm-tools.spec index 4a1ab2e..99d15af 100644 --- a/open-vm-tools.spec +++ b/open-vm-tools.spec @@ -1,3 +1,4 @@ +%global _hardened_build 1 %global majorversion 9.2 %global minorversion 3 %global toolsbuild 1031360 @@ -6,7 +7,7 @@ Name: open-vm-tools Version: %{toolsversion} -Release: 9%{?dist} +Release: 10%{?dist} Summary: Open VMware Tools for virtual machines hosted on VMware Group: Applications/System License: GPLv2 @@ -89,6 +90,9 @@ chmod a-x %{buildroot}%{_sysconfdir}/pam.d/* # Remove the DOS line endings sed -i "s|\r||g" README +# Remove "Encoding" key from the "Desktop Entry" +sed -i "s|^Encoding.*$||g" %{buildroot}%{_sysconfdir}/xdg/autostart/vmware-user.desktop + # Remove unnecessary files from packaging find %{buildroot}%{_libdir} -name '*.la' -delete rm -fr %{buildroot}%{_defaultdocdir} @@ -135,7 +139,7 @@ install -p -m 644 -D %{SOURCE1} %{buildroot}%{_unitdir}/%{toolsdaemon}.service %{_libdir}/%{name}/plugins/common/*.so %dir %{_libdir}/%{name}/plugins/vmsvc %{_libdir}/%{name}/plugins/vmsvc/*.so -%{_sbindir}/mount.vmhgfs +%exclude %{_sbindir}/mount.vmhgfs %{_datadir}/%{name}/ %exclude /sbin/ %{_unitdir}/%{toolsdaemon}.service @@ -155,6 +159,11 @@ install -p -m 644 -D %{SOURCE1} %{buildroot}%{_unitdir}/%{toolsdaemon}.service %{_libdir}/libvmtools.so %changelog +* Tue Aug 08 2013 Ravindra Kumar - 9.2.3-10 +- Added options for hardening build (bug 990549) +- Excluded unwanted file mount.vmhgfs from packaging (bug 990547) +- Removed deprecated key "Encoding" from "Desktop Entry" (bug 990552) + * Sat Aug 03 2013 Fedora Release Engineering - 9.2.3-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild