forked from pool/libseccomp
- support s390,s390x,ppc,ppc64 too. bnc#866526
(arm64 not yet done) - disabled testsuite on the new platforms, as there are still some failures. s390x: passed: 2410 / failed: 879 / errored: 68 ppc64le: passed: 3914 / failed: 0 / errored: 43 OBS-URL: https://build.opensuse.org/package/show/security/libseccomp?expand=0&rev=19
This commit is contained in:
parent
d120c43709
commit
28e15c8291
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:b0d6e4f0984e6632a04f0cf33c6babdb011674ba15ff208e196f037e0e09905e
|
|
||||||
size 216834
|
|
3
libseccomp-2.1.1.tar.gz
Normal file
3
libseccomp-2.1.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:8812c11e407c383f5ad6afb84a88e5a0224477bcfe8ff03f0c548e5abaac841c
|
||||||
|
size 113133
|
2229
libseccomp-s390x-support.patch
Normal file
2229
libseccomp-s390x-support.patch
Normal file
File diff suppressed because it is too large
Load Diff
@ -1,3 +1,15 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Mar 5 15:13:35 UTC 2014 - meissner@suse.com
|
||||||
|
|
||||||
|
- support s390,s390x,ppc,ppc64 too. bnc#866526
|
||||||
|
(arm64 not yet done)
|
||||||
|
|
||||||
|
- disabled testsuite on the new platforms, as there
|
||||||
|
are still some failures.
|
||||||
|
|
||||||
|
s390x: passed: 2410 / failed: 879 / errored: 68
|
||||||
|
ppc64le: passed: 3914 / failed: 0 / errored: 43
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jun 18 01:14:06 UTC 2013 - jengelh@inai.de
|
Tue Jun 18 01:14:06 UTC 2013 - jengelh@inai.de
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libseccomp
|
# spec file for package libseccomp
|
||||||
#
|
#
|
||||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
Name: libseccomp
|
Name: libseccomp
|
||||||
%define lname libseccomp2
|
%define lname libseccomp2
|
||||||
Version: 2.1.0
|
Version: 2.1.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: An enhanced Seccomp (mode 2) helper library
|
Summary: An enhanced Seccomp (mode 2) helper library
|
||||||
License: LGPL-2.1
|
License: LGPL-2.1
|
||||||
@ -29,13 +29,13 @@ Url: http://sf.net/projects/libseccomp/
|
|||||||
#Git-Clone: git://git.inai.de/libseccomp
|
#Git-Clone: git://git.inai.de/libseccomp
|
||||||
Source: http://downloads.sf.net/libseccomp/libseccomp-%{version}.tar.gz
|
Source: http://downloads.sf.net/libseccomp/libseccomp-%{version}.tar.gz
|
||||||
Patch1: 0001-build-use-autotools-as-build-system.patch
|
Patch1: 0001-build-use-autotools-as-build-system.patch
|
||||||
|
Patch2: libseccomp-s390x-support.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
BuildRequires: automake >= 1.10
|
BuildRequires: automake >= 1.10
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: libtool >= 2
|
BuildRequires: libtool >= 2
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
ExclusiveArch: %ix86 x86_64 x32 %arm
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The libseccomp library provides and easy to use, platform
|
The libseccomp library provides and easy to use, platform
|
||||||
@ -97,7 +97,8 @@ This subpackage contains debug utilities for the seccomp interface.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch -P 1 -p1
|
%patch1 -p1
|
||||||
|
%patch2 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
chmod a+x autogen.sh;
|
chmod a+x autogen.sh;
|
||||||
@ -112,7 +113,11 @@ find "$b/%_libdir" -type f -name "*.la" -delete;
|
|||||||
%fdupes %buildroot/%_prefix
|
%fdupes %buildroot/%_prefix
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make check || :;
|
%ifarch ppc ppc64le s390 s390x
|
||||||
|
make check || true
|
||||||
|
%else
|
||||||
|
make check
|
||||||
|
%endif
|
||||||
|
|
||||||
%post -n %lname -p /sbin/ldconfig
|
%post -n %lname -p /sbin/ldconfig
|
||||||
%postun -n %lname -p /sbin/ldconfig
|
%postun -n %lname -p /sbin/ldconfig
|
||||||
|
Loading…
Reference in New Issue
Block a user