[packages/selinux-python] - up to 2.8
baggins
baggins at pld-linux.org
Sun Jul 29 09:59:52 CEST 2018
commit cf20819c958e6c7b2b826d0115e57254fa29bbaf
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sun Jul 29 09:59:39 2018 +0200
- up to 2.8
selinux-python-pythondir.patch | 11 -----------
selinux-python.spec | 10 +++++-----
2 files changed, 5 insertions(+), 16 deletions(-)
---
diff --git a/selinux-python.spec b/selinux-python.spec
index e714e17..eb697bd 100644
--- a/selinux-python.spec
+++ b/selinux-python.spec
@@ -5,13 +5,13 @@
Summary: SELinux Python policy utilities
Summary(pl.UTF-8): Narzędzia do polityk SELinuksa napisane w Pythonie
Name: selinux-python
-Version: 2.7
-Release: 3
+Version: 2.8
+Release: 1
License: GPL v2 (sepolgen), GPL v2+ (semodule, sepolicy)
Group: Applications/System
#Source0Download: https://github.com/SELinuxProject/selinux/wiki/Releases
-Source0: https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20170804/%{name}-%{version}.tar.gz
-# Source0-md5: b118229d34a6aec34471c3c2c9cac172
+Source0: https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20180524/%{name}-%{version}.tar.gz
+# Source0-md5: bd9850808203c76f07efd396bde790e3
Patch0: %{name}-pythondir.patch
URL: https://github.com/SELinuxProject/selinux/wiki
BuildRequires: libsepol-static >= 2.7
@@ -135,7 +135,7 @@ Moduły Pythona do operowania na politykach SELinuksa.
%prep
%setup -q
-%patch0 -p1
+#%patch0 -p1
%build
CFLAGS="%{rpmcflags} %{rpmcppflags}" \
diff --git a/selinux-python-pythondir.patch b/selinux-python-pythondir.patch
deleted file mode 100644
index 24a5d32..0000000
--- a/selinux-python-pythondir.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- selinux-python-2.7/sepolicy/Makefile.orig 2017-08-04 15:31:00.000000000 +0200
-+++ selinux-python-2.7/sepolicy/Makefile 2017-11-19 20:22:09.234031958 +0100
-@@ -30,7 +30,7 @@
- @$(PYTHON) test_sepolicy.py -v
-
- install:
-- $(PYTHON) setup.py install `test -n "$(DESTDIR)" && echo --root $(DESTDIR)`
-+ $(PYTHON) setup.py build --build-base build$(PYTHONSUF) install `test -n "$(DESTDIR)" && echo --root $(DESTDIR)` --prefix=/usr --optimize=2
- [ -d $(BINDIR) ] || mkdir -p $(BINDIR)
- install -m 755 sepolicy.py $(BINDIR)/sepolicy
- (cd $(BINDIR); ln -sf sepolicy sepolgen)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/selinux-python.git/commitdiff/cf20819c958e6c7b2b826d0115e57254fa29bbaf
More information about the pld-cvs-commit
mailing list