Mv selinux.go to /usr/share/gocode/src/selinux
This commit is contained in:
parent
7a524ea43e
commit
0f5adbd52b
@ -9,8 +9,8 @@
|
|||||||
|
|
||||||
Summary: SELinux library and simple utilities
|
Summary: SELinux library and simple utilities
|
||||||
Name: libselinux
|
Name: libselinux
|
||||||
Version: 2.1.13
|
Version: 2.2.1
|
||||||
Release: 21%{?dist}
|
Release: 4%{?dist}
|
||||||
License: Public Domain
|
License: Public Domain
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
Source: %{name}-%{version}.tgz
|
Source: %{name}-%{version}.tgz
|
||||||
@ -18,7 +18,7 @@ Source1: selinuxconlist.8
|
|||||||
Source2: selinuxdefcon.8
|
Source2: selinuxdefcon.8
|
||||||
Url: http://oss.tresys.com/git/selinux.git
|
Url: http://oss.tresys.com/git/selinux.git
|
||||||
Patch1: libselinux-rhat.patch
|
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}
|
%if 0%{?with_python3}
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
%endif # if with_python3
|
%endif # if with_python3
|
||||||
@ -179,6 +179,7 @@ mv %{buildroot}%{_sbindir}/getconlist %{buildroot}%{_sbindir}/selinuxconlist
|
|||||||
install -d %{buildroot}%{_mandir}/man8/
|
install -d %{buildroot}%{_mandir}/man8/
|
||||||
install -m 644 %{SOURCE1} %{buildroot}%{_mandir}/man8/
|
install -m 644 %{SOURCE1} %{buildroot}%{_mandir}/man8/
|
||||||
install -m 644 %{SOURCE2} %{buildroot}%{_mandir}/man8/
|
install -m 644 %{SOURCE2} %{buildroot}%{_mandir}/man8/
|
||||||
|
rm -f %{buildroot}%{_mandir}/man8/togglesebool*
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
@ -213,6 +214,8 @@ rm -rf %{buildroot}
|
|||||||
%{_libdir}/libselinux.so
|
%{_libdir}/libselinux.so
|
||||||
%{_libdir}/pkgconfig/libselinux.pc
|
%{_libdir}/pkgconfig/libselinux.pc
|
||||||
%dir %{_includedir}/selinux
|
%dir %{_includedir}/selinux
|
||||||
|
%dir %{_datadir}/gocode/src/selinux
|
||||||
|
%{_datadir}/gocode/src/selinux/selinux.go
|
||||||
%{_includedir}/selinux/*
|
%{_includedir}/selinux/*
|
||||||
%{_mandir}/man3/*
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
@ -240,6 +243,46 @@ rm -rf %{buildroot}
|
|||||||
%{ruby_sitearch}/selinux.so
|
%{ruby_sitearch}/selinux.so
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Dec 18 2013 Dan Walsh <dwalsh@redhat.com> - 2.2.1-4
|
||||||
|
- Mv selinux.go to /usr/share/gocode/src/selinux
|
||||||
|
|
||||||
|
* Tue Dec 17 2013 Dan Walsh <dwalsh@redhat.com> - 2.2.1-3
|
||||||
|
- Add golang support to selinux.
|
||||||
|
|
||||||
|
* Thu Dec 5 2013 Dan Walsh <dwalsh@redhat.com> - 2.2.1-2
|
||||||
|
- Remove togglesebool man page
|
||||||
|
|
||||||
|
* Mon Nov 25 2013 Dan Walsh <dwalsh@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@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@redhat.com> - 2.1.13-21
|
* Fri Oct 4 2013 Dan Walsh <dwalsh@redhat.com> - 2.1.13-21
|
||||||
- Add systemd_contexts support
|
- Add systemd_contexts support
|
||||||
- Do substitutions on a local sub followed by a dist sub
|
- Do substitutions on a local sub followed by a dist sub
|
||||||
|
Loading…
Reference in New Issue
Block a user