https://bugzilla.rpmfusion.org/show_bug.cgi?id=5103

FeRD (Frank Dana) <ferd...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ferd...@gmail.com

--- Comment #5 from FeRD (Frank Dana) <ferd...@gmail.com> ---
In spec-requires speak, those extra requirements would be (not too many
surprises):

BuildRequires:  libarchive-devel
BuildRequires:  xz-devel
BuildRequires:  bzip2-devel
BuildRequires:  zlib-devel
BuildRequires:  lz4-devel
BuildRequires:  lzo-devel
BuildRequires:  openssl-devel

> - Is this package can build in mock ?

@Klaas: You can find out by installing mock and mock-rpmfusion-free. Then you
just create an SRPM, and use it to build the binary RPM in the mock sandbox
(you'll need close to a gigabyte of space available in /var):

$ spectool -g -R kodi-vfs-libarchive.spec
$ rpmbuild -bs kodi-vfs-libarchive.spec
mock -r fedora-30-x86_64-rpmfusion_free --rebuild
~/rpmbuild/SRPMS/kodi-vfs.libarchive-1.0.4-1.ferd30.src.rpm

The first command downloads the source file(s) to ~/rpmbuild/SOURCES, the
second builds the SRPM from the spec file, and the third takes the SRPM into
the sandbox and runs the build process isolated from your locally-installed
packages, same as the rpmfusion build servers would. (Meaning that it will fail
hard, without the extra BuildRequires, because none of those packages are
installed by default.)

WITH the extra BuildRequires, you'll find that it builds just fine.

>> - Please do not redefine camke make (you can audit what are used by default
>> using rpm -E %cmake )
>
>I am not sure what you mean here, it's been a whlie since I made that spec 
>file but I think that was the only way I could get it to build properly :)

I'm... actually not sure either? The %build contains just:

%cmake -DADDONS_TO_BUILD=vfs.libarchive -DADDON_SRC_PREFIX=.
-DCMAKE_BUILD_TYPE=Release 
%make_build

Which is all pretty standard. Not sure what the objection is there. Nicolas?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
_______________________________________________
rpmfusion-developers mailing list -- rpmfusion-developers@lists.rpmfusion.org
To unsubscribe send an email to rpmfusion-developers-le...@lists.rpmfusion.org

Reply via email to