Remove patch to link against shared object, because some tools doesn't work.
Conflicts:
libselinux/libselinux.nm
###############################################################################
name = libselinux
-version = 2.1.7
-release = 3
+version = 2.1.8
+release = 1
groups = System/Libraries
url = http://www.selinuxproject.org
build
requires
libsepol-devel
+ libsepol-static
python-devel
swig
end
/usr/share/man/man{5,8}/*
end
end
-
- package %{name}-debuginfo
- template DEBUGINFO
- end
package python-selinux
summary = SELinux python bindings.
/usr/lib/python*
end
end
+
+ package %{name}-debuginfo
+ template DEBUGINFO
+ end
end
+++ /dev/null
-diff -Nur old/src/Makefile new/src/Makefile
---- old/src/Makefile 2011-11-04 13:57:23.000000000 +0100
-+++ new/src/Makefile 2011-11-19 12:24:54.163850653 +0100
-@@ -102,7 +102,7 @@
- $(CC) $(filter-out -Werror, $(CFLAGS)) $(PYINC) -fPIC -DSHARED -c -o $@ $<
-
- $(AUDIT2WHYSO): $(AUDIT2WHYLOBJ)
-- $(CC) $(CFLAGS) $(LDFLAGS) -shared -o $@ $^ -L. -lselinux $(LIBDIR)/libsepol.a -L$(LIBDIR) -Wl,-soname,$@
-+ $(CC) $(CFLAGS) $(LDFLAGS) -shared -o $@ $^ -L. -lselinux -lsepol -L$(LIBDIR) -Wl,-soname,$@
-
- %.o: %.c policy.h
- $(CC) $(CFLAGS) $(TLSFLAGS) -c -o $@ $<