[packages/libsemanage] - up to 2.6
baggins
baggins at pld-linux.org
Sat Feb 25 17:54:51 CET 2017
commit 3b2506acea23de49dcb88e26a16bcadbc715682c
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sat Feb 25 17:54:39 2017 +0100
- up to 2.6
libsemanage-libexecdir.patch | 2 +-
libsemanage.spec | 20 ++++++++++----------
2 files changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/libsemanage.spec b/libsemanage.spec
index ddcace5..ae8bbc4 100644
--- a/libsemanage.spec
+++ b/libsemanage.spec
@@ -11,27 +11,27 @@
Summary: An interface for SELinux management
Summary(pl.UTF-8): Interfejs do zarządzania SELinuksem
Name: libsemanage
-Version: 2.5
-Release: 2
+Version: 2.6
+Release: 1
License: LGPL v2.1+
Group: Libraries
#Source0Download: https://github.com/SELinuxProject/selinux/wiki/Releases
-Source0: https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20160223/%{name}-%{version}.tar.gz
-# Source0-md5: eb030c863de1a6b3e2614a5c043c1641
+Source0: https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20161014/%{name}-%{version}.tar.gz
+# Source0-md5: 666a48c4058c07f2b07ede9eaf210c5f
Patch0: %{name}-libexecdir.patch
URL: https://github.com/SELinuxProject/selinux/wiki
BuildRequires: bison
BuildRequires: bzip2-devel
BuildRequires: flex
-BuildRequires: libselinux-devel >= 2.5
-BuildRequires: libsepol-devel >= 2.5
+BuildRequires: libselinux-devel >= 2.6
+BuildRequires: libsepol-devel >= 2.6
%{?with_python2:BuildRequires: python-devel >= 2}
%{?with_python3:BuildRequires: python3-devel >= 1:3.2}
BuildRequires: rpm-pythonprov
BuildRequires: rpmbuild(macros) >= 1.714
BuildRequires: ustr-devel
-Requires: libselinux >= 2.5
-Requires: libsepol >= 2.5
+Requires: libselinux >= 2.6
+Requires: libsepol >= 2.6
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -69,7 +69,7 @@ Summary: Python 2 binding for semanage library
Summary(pl.UTF-8): Wiązania Pythona 2 do biblioteki semanage
Group: Libraries/Python
Requires: %{name} = %{version}-%{release}
-Requires: python-selinux >= 2.5
+Requires: python-selinux >= 2.6
%description -n python-semanage
Python 2 binding for semanage library.
@@ -82,7 +82,7 @@ Summary: Python 3 binding for semanage library
Summary(pl.UTF-8): Wiązania Pythona 3 do biblioteki semanage
Group: Libraries/Python
Requires: %{name} = %{version}-%{release}
-Requires: python3-selinux >= 2.5
+Requires: python3-selinux >= 2.6
%description -n python3-semanage
Python 3 binding for semanage library.
diff --git a/libsemanage-libexecdir.patch b/libsemanage-libexecdir.patch
index 868d4cc..2583e29 100644
--- a/libsemanage-libexecdir.patch
+++ b/libsemanage-libexecdir.patch
@@ -25,6 +25,6 @@
-override CFLAGS += -I../include -I$(INCLUDEDIR) -D_GNU_SOURCE
+override CFLAGS += -I../include -I$(INCLUDEDIR) -D_GNU_SOURCE -DLIBEXECDIR=\"$(LIBEXECDIR)\"
- RANLIB=ranlib
+ RANLIB ?= ranlib
SWIG = swig -Wall -python -o $(SWIGCOUT) -outdir ./
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libsemanage.git/commitdiff/3b2506acea23de49dcb88e26a16bcadbc715682c
More information about the pld-cvs-commit
mailing list