From 2789d2a6f1f0e400cd870ced1642b87fd5bf215b Mon Sep 17 00:00:00 2001 From: Paul Moore Date: Feb 12 2015 23:06:10 +0000 Subject: - New upstream version - Added aarch64 support - Added a static build --- diff --git a/.gitignore b/.gitignore index 708d8a9..036e6f0 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /libseccomp-2.0.0.tar.gz /libseccomp-2.1.0.tar.gz /libseccomp-2.1.1.tar.gz +/libseccomp-2.2.0.tar.gz diff --git a/libseccomp.spec b/libseccomp.spec index 7f90b75..73f9bb9 100644 --- a/libseccomp.spec +++ b/libseccomp.spec @@ -1,12 +1,12 @@ Summary: Enhanced seccomp library Name: libseccomp -Version: 2.1.1 -Release: 6%{?dist} -ExclusiveArch: %{ix86} x86_64 %{arm} +Version: 2.2.0 +Release: 0%{?dist} +ExclusiveArch: %{ix86} x86_64 %{arm} aarch64 License: LGPLv2 Group: System Environment/Libraries -Source: http://downloads.sf.net/project/libseccomp/%{name}-%{version}.tar.gz -URL: http://libseccomp.sourceforge.net +Source: https://github.com/seccomp/libseccomp/releases/download/v%{version}/%{name}-%{version}.tar.gz +URL: https://github.com/seccomp/libseccomp BuildRequires: valgrind %description @@ -28,12 +28,24 @@ to specify which syscalls, and optionally which syscall arguments, the application is allowed to execute, all of which are enforced by the Linux Kernel. +%package static +Summary: Enhanced seccomp static library +Group: Development/Libraries +Requires: %{name}-devel%{?_isa} = %{version}-%{release} pkgconfig + +%description static +The libseccomp library provides an easy to use interface to the Linux Kernel's +syscall filtering mechanism, seccomp. The libseccomp API allows an application +to specify which syscalls, and optionally which syscall arguments, the +application is allowed to execute, all of which are enforced by the Linux +Kernel. + %prep %setup -q %build -./configure --prefix="%{_prefix}" --libdir="%{_libdir}" -CFLAGS="%{optflags}" make V=1 %{?_smp_mflags} +%configure +make V=1 %{?_smp_mflags} %install rm -rf "%{buildroot}" @@ -41,9 +53,10 @@ mkdir -p "%{buildroot}/%{_libdir}" mkdir -p "%{buildroot}/%{_includedir}" mkdir -p "%{buildroot}/%{_mandir}" make V=1 DESTDIR="%{buildroot}" install +rm -f "%{buildroot}/%{_libdir}/libseccomp.la" %check -make check +make V=1 check %post -p /sbin/ldconfig @@ -54,6 +67,8 @@ make check %license LICENSE %doc CREDITS %doc README +%doc CHANGELOG +%doc SUBMITTING_PATCHES %{_libdir}/libseccomp.so.* %files devel @@ -64,7 +79,15 @@ make check %{_mandir}/man1/* %{_mandir}/man3/* +%files static +%{_libdir}/libseccomp.a + %changelog +* Thu Feb 12 2015 Paul Moore - 2.2.0-0 +- New upstream version +- Added aarch64 support +- Added a static build + * Thu Sep 18 2014 Paul Moore - 2.1.1-6 - Fully builds on i686, x86_64, and armv7hl (RHBZ #1106071) diff --git a/sources b/sources index a6065c2..86597a5 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -1f41207b29e66a7e5e375dd48a64de85 libseccomp-2.1.1.tar.gz +e9509301a1fc024cd10127ac1f31792a libseccomp-2.2.0.tar.gz