From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Schantl To: development@lists.ipfire.org Subject: [PATCH] libsepol: Update to 2.5. Date: Tue, 04 Oct 2016 11:34:12 +0200 Message-ID: <1475573652-24725-1-git-send-email-stefan.schantl@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1444282235543476955==" List-Id: --===============1444282235543476955== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable This is a major update to the latest stable version of libsepol. * New build dependency: flex. Signed-off-by: Stefan Schantl --- libsepol/libsepol.nm | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/libsepol/libsepol.nm b/libsepol/libsepol.nm index ac64781..951f76e 100644 --- a/libsepol/libsepol.nm +++ b/libsepol/libsepol.nm @@ -4,7 +4,7 @@ ############################################################################= ### =20 name =3D libsepol -version =3D 2.1.5 +version =3D 2.5 release =3D 1 =20 groups =3D System/Libraries @@ -17,16 +17,21 @@ description policies. end =20 -sources =3D %{thisapp}.tgz +source_dl =3D https://raw.githubusercontent.com/wiki/SELinuxProject/selinux= /files/releases/20160223/ +sources =3D %{thisapp}.tar.gz =20 build # Keep static libsepol.a for some selinux tools, that needs to link=20 # against it. We will put it into an own package. keep_libraries =3D %{libdir}/libsepol.a =20 + requires + flex + end + build make clean - make CFLAGS=3D"%{CFLAGS}" %{PARALLELISMFLAGS} + make CFLAGS=3D"%{CFLAGS}" LDFLAGS=3D"%{LDFLAGS}" %{PARALLELISMFLAGS} end =20 # Install libraries to correct place. @@ -40,9 +45,6 @@ build =20 # Remove manpages for binaries rm -rf %{BUILDROOT}/usr/share/man/man8 - - # Fix bad symlink. - ln -svf libsepol.so.1 %{BUILDROOT}%{libdir}/libsepol.so end end =20 --=20 2.7.4 --===============1444282235543476955==--