Removed %defattr and BuildRoot.
- Added ExclusiveArch. - Replaced /usr/sbin/ldconfig with /sbin/ldconfig.
This commit is contained in:
parent
42f92c73e3
commit
0074804eff
@ -6,12 +6,11 @@
|
||||
|
||||
Name: open-vm-tools
|
||||
Version: %{toolsversion}
|
||||
Release: 11%{?dist}
|
||||
Release: 12%{?dist}
|
||||
Summary: Open VMware Tools for virtual machines hosted on VMware
|
||||
Group: Applications/System
|
||||
License: GPLv2
|
||||
URL: http://%{name}.sourceforge.net/
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
Source0: http://sourceforge.net/projects/%{name}/files/%{name}/stable-%{majorversion}.x/%{name}-%{version}-%{toolsbuild}.tar.gz
|
||||
Source1: %{name}.service
|
||||
|
||||
@ -38,6 +37,8 @@ Requires(post): systemd
|
||||
Requires(preun): systemd
|
||||
Requires(postun): systemd
|
||||
|
||||
ExclusiveArch: %{ix86} x86_64
|
||||
|
||||
%description
|
||||
The %{name} project is an open source implementation of VMware Tools. It
|
||||
is a suite of open source virtualization utilities and drivers to improve the
|
||||
@ -107,22 +108,21 @@ install -p -m 644 -D %{SOURCE1} %{buildroot}%{_unitdir}/%{toolsdaemon}.service
|
||||
# upstream
|
||||
|
||||
%post
|
||||
/usr/sbin/ldconfig
|
||||
/sbin/ldconfig
|
||||
%systemd_post %{toolsdaemon}.service
|
||||
|
||||
%preun
|
||||
%systemd_preun %{toolsdaemon}.service
|
||||
|
||||
%postun
|
||||
/usr/sbin/ldconfig
|
||||
/sbin/ldconfig
|
||||
%systemd_postun_with_restart %{toolsdaemon}.service
|
||||
|
||||
%post devel -p /usr/sbin/ldconfig
|
||||
%post devel -p /sbin/ldconfig
|
||||
|
||||
%postun devel -p /usr/sbin/ldconfig
|
||||
%postun devel -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS ChangeLog COPYING NEWS README
|
||||
%config(noreplace) %{_sysconfdir}/pam.d/*
|
||||
%{_sysconfdir}/vmware-tools/
|
||||
@ -147,14 +147,12 @@ install -p -m 644 -D %{SOURCE1} %{buildroot}%{_unitdir}/%{toolsdaemon}.service
|
||||
%{_unitdir}/%{toolsdaemon}.service
|
||||
|
||||
%files desktop
|
||||
%defattr(-,root,root,-)
|
||||
%{_sysconfdir}/xdg/autostart/*.desktop
|
||||
%{_bindir}/vmware-user-suid-wrapper
|
||||
%{_bindir}/vmware-vmblock-fuse
|
||||
%{_libdir}/%{name}/plugins/vmusr/
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%doc docs/api/build/*
|
||||
%{_includedir}/vmGuestLib/
|
||||
%{_libdir}/pkgconfig/*.pc
|
||||
@ -163,6 +161,11 @@ install -p -m 644 -D %{SOURCE1} %{buildroot}%{_unitdir}/%{toolsdaemon}.service
|
||||
%{_libdir}/libvmtools.so
|
||||
|
||||
%changelog
|
||||
* Wed Apr 24 2013 Ravindra Kumar <ravindrakumar at vmware.com> - 9.2.2-12
|
||||
- Removed %%defattr and BuildRoot.
|
||||
- Added ExclusiveArch.
|
||||
- Replaced /usr/sbin/ldconfig with /sbin/ldconfig.
|
||||
|
||||
* Mon Apr 22 2013 Ravindra Kumar <ravindrakumar at vmware.com> - 9.2.2-11
|
||||
- Removed the conditional steps for old versions of Fedora and RHEL.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user