Mv selinux.go to /usr/share/gocode/src/selinux
This commit is contained in:
parent
e79a10d304
commit
f4752d0882
@ -10,13 +10,13 @@ index fd4f0b1..51469bc 100644
|
||||
DISABLE_SETRANS ?= n
|
||||
diff --git a/libselinux/golang/Makefile b/libselinux/golang/Makefile
|
||||
new file mode 100644
|
||||
index 0000000..a5f0692
|
||||
index 0000000..e0be66f
|
||||
--- /dev/null
|
||||
+++ b/libselinux/golang/Makefile
|
||||
@@ -0,0 +1,17 @@
|
||||
+# Installation directories.
|
||||
+PREFIX ?= $(DESTDIR)/usr
|
||||
+GODIR ?= $(PREFIX)/share/gocode/selinux
|
||||
+GODIR ?= $(PREFIX)/share/gocode/src/selinux
|
||||
+
|
||||
+all:
|
||||
+
|
||||
|
@ -10,7 +10,7 @@
|
||||
Summary: SELinux library and simple utilities
|
||||
Name: libselinux
|
||||
Version: 2.2.1
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
License: Public Domain
|
||||
Group: System Environment/Libraries
|
||||
Source: %{name}-%{version}.tgz
|
||||
@ -214,8 +214,8 @@ rm -rf %{buildroot}
|
||||
%{_libdir}/libselinux.so
|
||||
%{_libdir}/pkgconfig/libselinux.pc
|
||||
%dir %{_includedir}/selinux
|
||||
%dir %{_datadir}/gocode/selinux
|
||||
%{_datadir}/gocode/selinux/selinux.go
|
||||
%dir %{_datadir}/gocode/src/selinux
|
||||
%{_datadir}/gocode/src/selinux/selinux.go
|
||||
%{_includedir}/selinux/*
|
||||
%{_mandir}/man3/*
|
||||
|
||||
@ -243,6 +243,9 @@ rm -rf %{buildroot}
|
||||
%{ruby_sitearch}/selinux.so
|
||||
|
||||
%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.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user