Accepting request 392931 from home:a_faerber:branches:Virtualization:VMware

Clean up tarball filename

OBS-URL: https://build.opensuse.org/request/show/392931
OBS-URL: https://build.opensuse.org/package/show/Virtualization:VMware/open-vm-tools?expand=0&rev=331
This commit is contained in:
Ken Johnson 2016-04-29 20:54:38 +00:00 committed by Git OBS Bridge
parent 63cbd4ccb9
commit 3839e57ab5
3 changed files with 10 additions and 4 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Apr 29 17:32:37 UTC 2016 - afaerber@suse.de
- Sanitize the filename handling some more. The official GitHub
filename is open-vm-tools-stable-10.0.7.tar.gz.
-------------------------------------------------------------------
Thu Apr 28 15:33:30 UTC 2016 - ken@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package open-vm-tools
#
# Copyright (c) 2016 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2010 Dominique Leuenberger, Amsterdam, Netherlands.
#
# All modifications and additions to the file contributed by third parties
@ -69,14 +69,14 @@
Name: open-vm-tools
%define subname open-vm-tools
%define tarname stable
%define tarname open-vm-tools-stable
Version: 10.0.7
Release: 0
Summary: Open Virtual Machine Tools
License: BSD-3-Clause and GPL-2.0 and LGPL-2.1
Group: System/Emulators/PC
Url: https://github.com/vmware/open-vm-tools
Source: https://github.com/vmware/open-vm-tools/archive/%{tarname}-%{version}.tar.gz
Source: https://github.com/vmware/open-vm-tools/archive/stable-%{version}.tar.gz#/%{tarname}-%{version}.tar.gz
Source1: vmtoolsd
Source2: vmtoolsd.service
Source3: vmware-user-autostart.desktop
@ -235,7 +235,7 @@ Those are the development headers for libvmtools. They are needed
if you intend to create own plugins for vmtoolsd.
%prep
%setup -q -n %{name}-%{tarname}-%{version}/%{subname}
%setup -q -n %{tarname}-%{version}/%{subname}
# fix for an rpmlint warning regarding wrong line feeds
sed -i -e "s/\r//" README
%patch0 -p1