SHA256
1
0
forked from pool/libseccomp

Accepting request 141290 from home:msmeissn:branches:security

- updated to 1.0.1 release
  - The header file is now easier to use with C++ compilers
  - Minor documentation fixes
  - Minor memory leak fixes
  - Corrected x86 filter generation on x86_64 systems
  - Corrected problems with small filters and filters with arguments
- use public downloadable tarball

OBS-URL: https://build.opensuse.org/request/show/141290
OBS-URL: https://build.opensuse.org/package/show/security/libseccomp?expand=0&rev=5
This commit is contained in:
Marcus Meissner 2012-11-14 14:18:55 +00:00 committed by Git OBS Bridge
parent 62a1a59951
commit d43bb0df0c
4 changed files with 21 additions and 17 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:17df89b93ee975d1ae203e81e9bece1030d8cf31f228f65d0d4c43d09c7ae801
size 254748

3
libseccomp-1.0.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7c38fa4bcb92ec48179132e9532feee65f9dc3a00b733328a21551f028b62966
size 129602

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Tue Nov 13 15:40:20 UTC 2012 - meissner@suse.com
- updated to 1.0.1 release
- The header file is now easier to use with C++ compilers
- Minor documentation fixes
- Minor memory leak fixes
- Corrected x86 filter generation on x86_64 systems
- Corrected problems with small filters and filters with arguments
- use public downloadable tarball
-------------------------------------------------------------------
Sat Sep 8 03:50:02 UTC 2012 - jengelh@inai.de

View File

@ -17,21 +17,19 @@
Name: libseccomp
%define lname libseccomp0
Version: 1.0.0
%define lname libseccomp1
Version: 1.0.1
Release: 0
Summary: An enhanced Seccomp (mode 2) helper library
License: LGPL-2.1
Group: Development/Libraries/C and C++
Url: http://sf.net/projects/seccomp/
#DL-URL: http://downloads.sf.net/libseccomp/libseccomp-1.0.0.tar.gz
#DL-URL: http://downloads.sf.net/libseccomp/libseccomp-%{version}.tar.gz
#Git-Clone: git://git.code.sf.net/p/libseccomp/libseccomp
Source: %name-%version+AM.tar.xz
Source: http://downloads.sf.net/libseccomp/libseccomp-%{version}.tar.gz
Patch1: 0001-build-use-ac-variables-in-pkgconfig-file.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: pkgconfig
BuildRequires: xz
%description
The libseccomp library provides and easy to use, platform
@ -69,17 +67,12 @@ familiar to, and easily adopted by application developers.
This package contains the development files for libseccomp.
%prep
%if 0%{?__xz:1}
%setup -qn %name
%else
tar -xf "%{S:0}" --use=xz;
%setup -DTqn %name
%endif
%setup -q
%patch -P 1 -p1
%build
%configure --includedir=%_includedir/%name-%version
make %{?_smp_mflags}
make V=1 %{?_smp_mflags}
%install
b="%buildroot";
@ -97,7 +90,7 @@ find "$b/%_libdir" -type f -name "*.la" -delete;
%files devel
%defattr(-,root,root)
%_mandir/man3/seccomp_*.3*
%_includedir/%name-%version
/usr/include/seccomp.h
%_libdir/%name.so
%_libdir/pkgconfig/%name.pc