Mailinglist Archive: opensuse-factory (807 mails)

< Previous Next >
Re: [opensuse-factory] Help with virtualbox


On 02/13/2017 12:14 PM, Larry Finger wrote:
In bsc #1024671, a user has requested that the VNC extension be added to
the host installation. As this code is already in the VirtualBox code
base, and that it is GPLv2 licensed, it seems reasonable to add it. My
problem is specifying the files for the installation. When an osc build
finishes, I see the necessary .so files in two places; however, I am
unable to get the correct specification in the %files section of
virtualbox.spec. The files in question are as follows:

/var/tmp/build-root/standard-x86_64/home/abuild/rpmbuild/BUILD/VirtualBox-5.1.14/out/linux.amd64/release/obj/VBoxVNCMain/VBoxVNCMain.so

/var/tmp/build-root/standard-x86_64/home/abuild/rpmbuild/BUILD/VirtualBox-5.1.14/out/linux.amd64/release/obj/VBoxVNC/VBoxVNC.so

/var/tmp/build-root/standard-x86_64/home/abuild/rpmbuild/BUILD/VirtualBox-5.1.14/out/linux.amd64/release/bin/ExtensionPacks/VNC/linux.amd64/VBoxVNCMain.so

/var/tmp/build-root/standard-x86_64/home/abuild/rpmbuild/BUILD/VirtualBox-5.1.14/out/linux.amd64/release/bin/ExtensionPacks/VNC/linux.amd64/VBoxVNC.so


How should I specify these two files?

Thanks,

Larry

From a quick 5 second look it seems like nothing in the %install section
is copying these files to a sensible location ie somewhere in
%{buildroot}%{_libdir}, then you will be able to also add that location
in the %files section.

--

Simon Lees (Simotek) http://simotek.net

Emergency Update Team keybase.io/simotek
SUSE Linux Adelaide Australia, UTC+10:30
GPG Fingerprint: 5B87 DB9D 88DC F606 E489 CEC5 0922 C246 02F0 014B

< Previous Next >
This Thread
References