From: Stefan Schantl <stefan.schantl@ipfire.org>
To: development@lists.ipfire.org
Subject: [PATCH] libsepol: Update to 2.5.
Date: Tue, 04 Oct 2016 11:34:12 +0200 [thread overview]
Message-ID: <1475573652-24725-1-git-send-email-stefan.schantl@ipfire.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 1470 bytes --]
This is a major update to the latest stable version of libsepol.
* New build dependency: flex.
Signed-off-by: Stefan Schantl <stefan.schantl(a)ipfire.org>
---
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 @@
###############################################################################
name = libsepol
-version = 2.1.5
+version = 2.5
release = 1
groups = System/Libraries
@@ -17,16 +17,21 @@ description
policies.
end
-sources = %{thisapp}.tgz
+source_dl = https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20160223/
+sources = %{thisapp}.tar.gz
build
# Keep static libsepol.a for some selinux tools, that needs to link
# against it. We will put it into an own package.
keep_libraries = %{libdir}/libsepol.a
+ requires
+ flex
+ end
+
build
make clean
- make CFLAGS="%{CFLAGS}" %{PARALLELISMFLAGS}
+ make CFLAGS="%{CFLAGS}" LDFLAGS="%{LDFLAGS}" %{PARALLELISMFLAGS}
end
# Install libraries to correct place.
@@ -40,9 +45,6 @@ build
# 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
--
2.7.4
reply other threads:[~2016-10-04 9:34 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1475573652-24725-1-git-send-email-stefan.schantl@ipfire.org \
--to=stefan.schantl@ipfire.org \
--cc=development@lists.ipfire.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox