Fixes for bug 990547, 990549, 990552

This commit is contained in:
Ravindra Kumar 2013-08-06 16:19:04 -07:00
parent 9a27d3c320
commit f2bc1f536f

View File

@ -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 <ravindrakumar@vmware.com> - 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 <rel-eng@lists.fedoraproject.org> - 9.2.3-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild