From 635090ad03b27d6335bfb094a666e35b6c25eb4a9e4a8a6693facf67e2d104ed Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Wed, 13 Jun 2012 08:57:05 +0000 Subject: [PATCH] - 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 --- libselinux-2.0.91.tar.bz2 | 3 +++ libselinux-2.0.98.tar.gz | 3 --- libselinux-bindings.spec | 4 ++-- libselinux-ruby.patch | 8 ++++---- libselinux.changes | 6 ++++++ libselinux.spec | 4 ++-- 6 files changed, 17 insertions(+), 11 deletions(-) create mode 100644 libselinux-2.0.91.tar.bz2 delete mode 100644 libselinux-2.0.98.tar.gz diff --git a/libselinux-2.0.91.tar.bz2 b/libselinux-2.0.91.tar.bz2 new file mode 100644 index 0000000..20528dc --- /dev/null +++ b/libselinux-2.0.91.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:67a89821c9cd01288af5e6c784cc963fd13cc7c5d2a06ae8e7241ce187682ea1 +size 156090 diff --git a/libselinux-2.0.98.tar.gz b/libselinux-2.0.98.tar.gz deleted file mode 100644 index 8e86ab7..0000000 --- a/libselinux-2.0.98.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9f36d000f7c41426bc053cf0327f36744d070e339536d3d027f14de5eda93902 -size 206574 diff --git a/libselinux-bindings.spec b/libselinux-bindings.spec index 1623eaa..76958bd 100644 --- a/libselinux-bindings.spec +++ b/libselinux-bindings.spec @@ -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 diff --git a/libselinux-ruby.patch b/libselinux-ruby.patch index 164db8f..d87b4b9 100644 --- a/libselinux-ruby.patch +++ b/libselinux-ruby.patch @@ -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) diff --git a/libselinux.changes b/libselinux.changes index a17009d..df5138d 100644 --- a/libselinux.changes +++ b/libselinux.changes @@ -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 diff --git a/libselinux.spec b/libselinux.spec index aea768b..092155e 100644 --- a/libselinux.spec +++ b/libselinux.spec @@ -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