Compare commits

...

1 Commits

Author SHA1 Message Date
5d24560923
Disable seccomp support for RISC-V (riscv64)
Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
2018-08-11 17:31:13 +03:00

View File

@ -3,7 +3,7 @@
Name: flatpak
Version: 0.99.3
Release: 2%{?dist}
Release: 2.0.riscv64%{?dist}
Summary: Application deployment framework for desktop apps
License: LGPLv2+
@ -22,7 +22,10 @@ BuildRequires: pkgconfig(libsoup-2.4)
BuildRequires: pkgconfig(libxml-2.0) >= 2.4
BuildRequires: pkgconfig(ostree-1) >= %{ostree_version}
BuildRequires: pkgconfig(polkit-gobject-1)
# RISC-V (riscv64) kernel does not seccomp support in upstream
%ifnarch riscv64
BuildRequires: pkgconfig(libseccomp)
%endif
BuildRequires: pkgconfig(xau)
BuildRequires: bison
BuildRequires: bubblewrap >= %{bubblewrap_version}
@ -82,6 +85,9 @@ autoreconf -fi
(if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; CONFIGFLAGS=--enable-gtk-doc; fi;
# User namespace support is sufficient.
%configure --with-priv-mode=none \
%ifarch riscv64
--disable-seccomp \
%endif
--with-system-bubblewrap --enable-docbook-docs $CONFIGFLAGS)
%make_build V=1
@ -158,6 +164,9 @@ flatpak remote-list --system &> /dev/null || :
%changelog
* Sat Aug 11 2018 David Abdurachmanov <david.abdurachmanov@gmail.com> - 0.99.3-2.0.riscv64
- Disable seccomp for RISC-V (riscv64)
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.99.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild