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
|
DISABLE_SETRANS ?= n
|
||||||
diff --git a/libselinux/golang/Makefile b/libselinux/golang/Makefile
|
diff --git a/libselinux/golang/Makefile b/libselinux/golang/Makefile
|
||||||
new file mode 100644
|
new file mode 100644
|
||||||
index 0000000..a5f0692
|
index 0000000..e0be66f
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/libselinux/golang/Makefile
|
+++ b/libselinux/golang/Makefile
|
||||||
@@ -0,0 +1,17 @@
|
@@ -0,0 +1,17 @@
|
||||||
+# Installation directories.
|
+# Installation directories.
|
||||||
+PREFIX ?= $(DESTDIR)/usr
|
+PREFIX ?= $(DESTDIR)/usr
|
||||||
+GODIR ?= $(PREFIX)/share/gocode/selinux
|
+GODIR ?= $(PREFIX)/share/gocode/src/selinux
|
||||||
+
|
+
|
||||||
+all:
|
+all:
|
||||||
+
|
+
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
Summary: SELinux library and simple utilities
|
Summary: SELinux library and simple utilities
|
||||||
Name: libselinux
|
Name: libselinux
|
||||||
Version: 2.2.1
|
Version: 2.2.1
|
||||||
Release: 3%{?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
|
||||||
@ -214,8 +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/selinux
|
%dir %{_datadir}/gocode/src/selinux
|
||||||
%{_datadir}/gocode/selinux/selinux.go
|
%{_datadir}/gocode/src/selinux/selinux.go
|
||||||
%{_includedir}/selinux/*
|
%{_includedir}/selinux/*
|
||||||
%{_mandir}/man3/*
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
@ -243,6 +243,9 @@ 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
|
* Tue Dec 17 2013 Dan Walsh <dwalsh@redhat.com> - 2.2.1-3
|
||||||
- Add golang support to selinux.
|
- Add golang support to selinux.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user