File old-coreutils.patch of Package libsepol

Index: libsepol-2.5/src/Makefile
===================================================================
--- libsepol-2.5.orig/src/Makefile
+++ libsepol-2.5/src/Makefile
@@ -70,7 +70,7 @@ install: all
 	install -m 755 $(LIBSO) $(SHLIBDIR)
 	test -d $(LIBDIR)/pkgconfig || install -m 755 -d $(LIBDIR)/pkgconfig
 	install -m 644 $(LIBPC) $(LIBDIR)/pkgconfig
-	ln -sf --relative $(SHLIBDIR)/$(LIBSO) $(LIBDIR)/$(TARGET)
+	ln -sf ../../$$(basename $(SHLIBDIR))/$(LIBSO) $(LIBDIR)/$(TARGET)
 
 relabel:
 	/sbin/restorecon $(SHLIBDIR)/$(LIBSO)
openSUSE Build Service is sponsored by