Accepting request 766921 from home:dimstar:Factory

- BuildRequire pkgconfig(udev) instead of udev: allow OBS to
  shortcut through the -mini flavor.
- Use systemd_ordering in place of systemd_requires: systemd is
  never strictly required to run open-vm-tools.

OBS-URL: https://build.opensuse.org/request/show/766921
OBS-URL: https://build.opensuse.org/package/show/Virtualization:VMware/open-vm-tools?expand=0&rev=383
This commit is contained in:
Dominique Leuenberger 2020-01-24 16:20:33 +00:00 committed by Git OBS Bridge
parent 22ea044bb3
commit ad891d19fe
2 changed files with 12 additions and 4 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Fri Jan 24 14:55:18 UTC 2020 - Dominique Leuenberger <dimstar@opensuse.org>
- BuildRequire pkgconfig(udev) instead of udev: allow OBS to
shortcut through the -mini flavor.
- Use systemd_ordering in place of systemd_requires: systemd is
never strictly required to run open-vm-tools.
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Oct 11 11:47:05 UTC 2019 - Bjørn Lie <bjorn.lie@gmail.com> Fri Oct 11 11:47:05 UTC 2019 - Bjørn Lie <bjorn.lie@gmail.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package open-vm-tools # spec file for package open-vm-tools
# #
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2020 SUSE LLC
# Copyright (c) 2010 Dominique Leuenberger, Amsterdam, Netherlands. # Copyright (c) 2010 Dominique Leuenberger, Amsterdam, Netherlands.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
@ -70,7 +70,7 @@ Release: 0
Summary: Open Virtual Machine Tools Summary: Open Virtual Machine Tools
License: BSD-3-Clause AND GPL-2.0-only AND LGPL-2.1-only License: BSD-3-Clause AND GPL-2.0-only AND LGPL-2.1-only
Group: System/Emulators/PC Group: System/Emulators/PC
Url: https://github.com/vmware/open-vm-tools URL: https://github.com/vmware/open-vm-tools
Source: %{tarname}-%{version}-%{bldnum}.tar.gz Source: %{tarname}-%{version}-%{bldnum}.tar.gz
Source1: vmtoolsd Source1: vmtoolsd
Source2: vmtoolsd.service Source2: vmtoolsd.service
@ -144,7 +144,7 @@ BuildRequires: xml-security-c-devel
%endif %endif
# vmhgfs is always built so fuse is no longer optional # vmhgfs is always built so fuse is no longer optional
BuildRequires: fuse-devel BuildRequires: fuse-devel
BuildRequires: udev BuildRequires: pkgconfig(udev)
%if 0%( pkg-config --exists 'udev > 190' && echo '1' ) == 01 %if 0%( pkg-config --exists 'udev > 190' && echo '1' ) == 01
%define _udevrulesdir /usr/lib/udev/rules.d %define _udevrulesdir /usr/lib/udev/rules.d
%else %else
@ -164,7 +164,7 @@ ExclusiveArch: %ix86 x86_64
Patch0: fix-leaks-Aliases-MappedAliases.patch Patch0: fix-leaks-Aliases-MappedAliases.patch
Patch1: gcc9-static-inline.patch Patch1: gcc9-static-inline.patch
%systemd_requires %systemd_ordering
%description %description
Open Virtual Machine Tools (open-vm-tools) are the open source Open Virtual Machine Tools (open-vm-tools) are the open source