diff --git a/libselinux-fedora.patch b/libselinux-fedora.patch index faf2e99..83bbf59 100644 --- a/libselinux-fedora.patch +++ b/libselinux-fedora.patch @@ -489,6 +489,19 @@ index 6f1034b..c9f188c 100644 Every confined service on the system has a man page in the following format: .br +diff --git libselinux-2.6/src/Makefile libselinux-2.6/src/Makefile +index 13501cd..956ea1c 100644 +--- libselinux-2.6/src/Makefile ++++ libselinux-2.6/src/Makefile +@@ -2,7 +2,7 @@ + # runtimes (e.g. Python 2 vs Python 3) by optionally prefixing the build + # targets with "PYPREFIX": + PYTHON ?= python +-PYPREFIX ?= $(notdir $(PYTHON)) ++PYPREFIX ?= $(shell $(PYTHON) -c 'import sys;print("python%d" % sys.version_info[0])') + RUBY ?= ruby + RUBYPREFIX ?= $(notdir $(RUBY)) + PKG_CONFIG ?= pkg-config diff --git libselinux-2.6/src/avc_sidtab.c libselinux-2.6/src/avc_sidtab.c index 9669264..c775430 100644 --- libselinux-2.6/src/avc_sidtab.c diff --git a/libselinux.spec b/libselinux.spec index 89fc4e2..24f4d98 100644 --- a/libselinux.spec +++ b/libselinux.spec @@ -9,7 +9,7 @@ Summary: SELinux library and simple utilities Name: libselinux Version: 2.6 -Release: 1%{?dist} +Release: 2%{?dist} License: Public Domain Group: System Environment/Libraries # https://github.com/SELinuxProject/selinux/wiki/Releases @@ -262,6 +262,9 @@ rm -rf %{buildroot} %{ruby_vendorarchdir}/selinux.so %changelog +* Thu Mar 02 2017 Petr Lautrbach - 2.6-2 +- Fix FTBFS - fatal error (#1427902) + * Sun Feb 12 2017 Petr Lautrbach - 2.6-1 - Update to upstream release 2016-10-14