3
0
forked from pool/libselinux

- go back even more - everything else requires the full SELinux stack

(too late for 12.2)

OBS-URL: https://build.opensuse.org/package/show/security:SELinux/libselinux?expand=0&rev=46
This commit is contained in:
Stephan Kulow 2012-06-13 08:57:05 +00:00 committed by Git OBS Bridge
parent 8dbca95ae6
commit 635090ad03
6 changed files with 17 additions and 11 deletions

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:67a89821c9cd01288af5e6c784cc963fd13cc7c5d2a06ae8e7241ce187682ea1
size 156090

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9f36d000f7c41426bc053cf0327f36744d070e339536d3d027f14de5eda93902
size 206574

View File

@ -23,13 +23,13 @@ BuildRequires: ruby-devel
BuildRequires: swig
Name: libselinux-bindings
Version: 2.0.98
Version: 2.0.91
Release: 0
Url: http://www.nsa.gov/research/selinux/
Summary: SELinux library and simple utilities
License: GPL-2.0 ; SUSE-Public-Domain
Group: System/Libraries
Source: http://userspace.selinuxproject.org/releases/20101221/devel/libselinux-%{version}.tar.gz
Source: libselinux-%{version}.tar.bz2
Source1: selinux-ready
Source2: baselibs.conf
Patch0: libselinux-rhat.patch

View File

@ -1,7 +1,7 @@
Index: src/Makefile
===================================================================
--- src/Makefile.orig 2010-12-20 21:13:33.000000000 +0100
+++ src/Makefile 2012-06-11 11:17:42.465960993 +0200
--- src/Makefile.orig 2010-02-24 20:05:41.000000000 +0100
+++ src/Makefile 2012-06-13 10:56:04.477254689 +0200
@@ -9,8 +9,8 @@ PYLIB ?= /usr/lib/$(PYLIBVER)
PYTHONLIBDIR ?= $(LIBDIR)/$(PYLIBVER)
RUBYLIBVER ?= $(shell ruby -e 'print RUBY_VERSION.split(".")[0..1].join(".")')
@ -10,10 +10,10 @@ Index: src/Makefile
-RUBYINSTALL ?= $(LIBDIR)/ruby/site_ruby/$(RUBYLIBVER)/$(RUBYPLATFORM)
+RUBYINC ?= $(shell ruby -r rbconfig -e "print Config::CONFIG['rubyhdrdir'].nil? ? '$(LIBDIR)/ruby/$(RUBYLIBVER)' : Config::CONFIG['rubyhdrdir']")
+RUBYINSTALL ?= $(shell ruby -r rbconfig -e "print Config::CONFIG['vendorarchdir'].nil? ? '$(DESTDIR)'+Config::CONFIG['sitearchdir'] : '$(DESTDIR)'+Config::CONFIG['vendorarchdir']")
LIBBASE=$(shell basename $(LIBDIR))
VERSION = $(shell cat ../VERSION)
@@ -73,7 +73,7 @@ $(SWIGLOBJ): $(SWIGCOUT)
LIBVERSION = 1
@@ -72,7 +72,7 @@ $(SWIGLOBJ): $(SWIGCOUT)
$(CC) $(filter-out -Werror,$(CFLAGS)) -I$(PYINC) -fPIC -DSHARED -c -o $@ $<
$(SWIGRUBYLOBJ): $(SWIGRUBYCOUT)

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jun 13 08:56:36 UTC 2012 - coolo@suse.com
- go back even more - everything else requires the full SELinux stack
(too late for 12.2)
-------------------------------------------------------------------
Mon Jun 11 09:06:55 UTC 2012 - factory-maintainer@kulow.org

View File

@ -21,13 +21,13 @@ BuildRequires: libsepol-devel >= %{libsepol_ver}
BuildRequires: pkg-config
Name: libselinux
Version: 2.0.98
Version: 2.0.91
Release: 0
Url: http://www.nsa.gov/selinux/
Summary: SELinux library and simple utilities
License: GPL-2.0 ; SUSE-Public-Domain
Group: System/Libraries
Source: http://userspace.selinuxproject.org/releases/20101221/devel/%{name}-%{version}.tar.gz
Source: %{name}-%{version}.tar.bz2
Source1: selinux-ready
Source2: baselibs.conf
Patch0: %{name}-rhat.patch