[libselinux/f20] Mv selinux.go to /usr/share/gocode/src/selinux

Daniel J Walsh dwalsh at fedoraproject.org
Fri Dec 20 14:04:10 UTC 2013


commit 0f5adbd52b6b77ab78bdd9fe161a334ad8cdbc8c
Author: Dan Walsh <dwalsh at redhat.com>
Date:   Fri Dec 20 09:04:20 2013 -0500

    Mv selinux.go to /usr/share/gocode/src/selinux

 libselinux.spec |   49 ++++++++++++++++++++++++++++++++++++++++++++++---
 sources         |    2 +-
 2 files changed, 47 insertions(+), 4 deletions(-)
---
diff --git a/libselinux.spec b/libselinux.spec
index ec2a2d9..ce9b775 100644
--- a/libselinux.spec
+++ b/libselinux.spec
@@ -9,8 +9,8 @@
 
 Summary: SELinux library and simple utilities
 Name: libselinux
-Version: 2.1.13
-Release: 21%{?dist}
+Version: 2.2.1
+Release: 4%{?dist}
 License: Public Domain
 Group: System Environment/Libraries
 Source: %{name}-%{version}.tgz
@@ -18,7 +18,7 @@ Source1: selinuxconlist.8
 Source2: selinuxdefcon.8
 Url: http://oss.tresys.com/git/selinux.git
 Patch1: libselinux-rhat.patch
-BuildRequires: pkgconfig python-devel ruby-devel ruby libsepol-static >= %{libsepolver} swig pcre-devel
+BuildRequires: pkgconfig python-devel ruby-devel ruby libsepol-static >= %{libsepolver} swig pcre-devel xz-devel
 %if 0%{?with_python3}
 BuildRequires: python3-devel
 %endif # if with_python3
@@ -179,6 +179,7 @@ mv %{buildroot}%{_sbindir}/getconlist %{buildroot}%{_sbindir}/selinuxconlist
 install -d %{buildroot}%{_mandir}/man8/
 install -m 644 %{SOURCE1} %{buildroot}%{_mandir}/man8/
 install -m 644 %{SOURCE2} %{buildroot}%{_mandir}/man8/
+rm -f %{buildroot}%{_mandir}/man8/togglesebool*
 
 %clean
 rm -rf %{buildroot}
@@ -213,6 +214,8 @@ rm -rf %{buildroot}
 %{_libdir}/libselinux.so
 %{_libdir}/pkgconfig/libselinux.pc
 %dir %{_includedir}/selinux
+%dir %{_datadir}/gocode/src/selinux
+%{_datadir}/gocode/src/selinux/selinux.go
 %{_includedir}/selinux/*
 %{_mandir}/man3/*
 
@@ -240,6 +243,46 @@ rm -rf %{buildroot}
 %{ruby_sitearch}/selinux.so
 
 %changelog
+* Wed Dec 18 2013 Dan Walsh <dwalsh at redhat.com> - 2.2.1-4
+- Mv selinux.go to /usr/share/gocode/src/selinux
+
+* Tue Dec 17 2013 Dan Walsh <dwalsh at redhat.com> - 2.2.1-3
+- Add golang support to selinux.
+
+* Thu Dec 5 2013 Dan Walsh <dwalsh at redhat.com> - 2.2.1-2
+- Remove togglesebool man page
+
+* Mon Nov 25 2013 Dan Walsh <dwalsh at redhat.com> - 2.2.1-1
+- Update to upstream 
+	* Remove -lpthread from pkg-config file; it is not required.
+- Add support for policy compressed with xv
+
+* Thu Oct 31 2013 Dan Walsh <dwalsh at redhat.com> - 2.2-1
+- Update to upstream 
+	* Fix avc_has_perm() returns -1 even when SELinux is in permissive mode.
+	* Support overriding Makefile RANLIB from Sven Vermeulen.
+	* Update pkgconfig definition from Sven Vermeulen.
+	* Mount sysfs before trying to mount selinuxfs from Sven Vermeulen.
+	* Fix man pages from Laurent Bigonville.
+	* Support overriding PATH  and LIBBASE in Makefiles from Laurent Bigonville.
+	* Fix LDFLAGS usage from Laurent Bigonville
+	* Avoid shadowing stat in load_mmap from Joe MacDonald.
+	* Support building on older PCRE libraries from Joe MacDonald.
+	* Fix handling of temporary file in sefcontext_compile from Dan Walsh.
+	* Fix procattr cache from Dan Walsh.
+	* Define python constants for getenforce result from Dan Walsh.
+	* Fix label substitution handling of / from Dan Walsh.
+	* Add selinux_current_policy_path from Dan Walsh.
+	* Change get_context_list to only return good matches from Dan Walsh.
+	* Support udev-197 and higher from Sven Vermeulen and Dan Walsh.
+	* Add support for local substitutions from Dan Walsh.
+	* Change setfilecon to not return ENOSUP if context is already correct from Dan Walsh.
+	* Python wrapper leak fixes from Dan Walsh.
+	* Export SELINUX_TRANS_DIR definition in selinux.h from Dan Walsh.
+	* Add selinux_systemd_contexts_path from Dan Walsh.
+	* Add selinux_set_policy_root from Dan Walsh.
+	* Add man page for sefcontext_compile from Dan Walsh.
+
 * Fri Oct 4 2013 Dan Walsh <dwalsh at redhat.com> - 2.1.13-21
 - Add systemd_contexts support
 - Do substitutions on a local sub followed by a dist sub
diff --git a/sources b/sources
index 26ecd0d..0d56678 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-44be70732a33b8e1fbe2f422e93fb8b3  libselinux-2.1.13.tgz
+ada793adfb5683672f9cc8a99447939d  libselinux-2.2.1.tgz


More information about the scm-commits mailing list