[libseccomp/f20] - New upstream version (bug fix release) - Build with CFLAGS="${optflags}" - Add a %check procedure
pcmoore
pcmoore at fedoraproject.org
Tue Sep 23 21:51:48 UTC 2014
commit 4042293a51ab4bc59ba0093d13b45e43877d86d7
Author: Paul Moore <pmoore at redhat.com>
Date: Tue Sep 23 17:51:09 2014 -0400
- New upstream version (bug fix release)
- Build with CFLAGS="${optflags}"
- Add a %check procedure for self-test during build
- Removed the kernel dependency (RHBZ #1145328)
.gitignore | 1 +
libseccomp.spec | 21 ++++++++++++---------
sources | 2 +-
3 files changed, 14 insertions(+), 10 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 693c22f..708d8a9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@
/libseccomp-1.0.1.tar.gz
/libseccomp-2.0.0.tar.gz
/libseccomp-2.1.0.tar.gz
+/libseccomp-2.1.1.tar.gz
diff --git a/libseccomp.spec b/libseccomp.spec
index d5c7596..4eae2c9 100644
--- a/libseccomp.spec
+++ b/libseccomp.spec
@@ -1,18 +1,13 @@
Summary: Enhanced seccomp library
Name: libseccomp
-Version: 2.1.0
-Release: 1%{?dist}
+Version: 2.1.1
+Release: 0%{?dist}
ExclusiveArch: %{ix86} x86_64 %{arm}
License: LGPLv2
Group: System Environment/Libraries
Source: http://downloads.sf.net/project/libseccomp/%{name}-%{version}.tar.gz
URL: http://libseccomp.sourceforge.net
-%ifarch %{ix86} x86_64
-Requires: kernel >= 3.5
-%endif
-%ifarch %{arm}
-Requires: kernel >= 3.8
-%endif
+BuildRequires: valgrind
%description
The libseccomp library provides an easy to use interface to the Linux Kernel's
@@ -38,7 +33,7 @@ Kernel.
%build
./configure --prefix="%{_prefix}" --libdir="%{_libdir}"
-make V=1 %{?_smp_mflags}
+CFLAGS="%{optflags}" make V=1 %{?_smp_mflags}
%install
rm -rf "%{buildroot}"
@@ -47,6 +42,9 @@ mkdir -p "%{buildroot}/%{_includedir}"
mkdir -p "%{buildroot}/%{_mandir}"
make V=1 DESTDIR="%{buildroot}" install
+%check
+make check
+
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
@@ -66,6 +64,11 @@ make V=1 DESTDIR="%{buildroot}" install
%{_mandir}/man3/*
%changelog
+* Tue Sep 23 2014 Paul Moore <pmoore at redhat.com> - 2.1.1-0
+- New upstream version (bug fix release)
+- Build with CFLAGS="${optflags}"
+- Add a %check procedure for self-test during build
+- Removed the kernel dependency (RHBZ #1145328)
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.1.0-1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
diff --git a/sources b/sources
index bf34ef8..a6065c2 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-3961103c1234c13a810f6a12e60c797f libseccomp-2.1.0.tar.gz
+1f41207b29e66a7e5e375dd48a64de85 libseccomp-2.1.1.tar.gz
More information about the scm-commits
mailing list