summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
Diffstat (limited to 'packaging')
-rw-r--r--packaging/lua.manifest5
-rw-r--r--packaging/lua.spec6
2 files changed, 11 insertions, 0 deletions
diff --git a/packaging/lua.manifest b/packaging/lua.manifest
new file mode 100644
index 0000000..017d22d
--- /dev/null
+++ b/packaging/lua.manifest
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+ <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/lua.spec b/packaging/lua.spec
index a6edaf8..96c36c9 100644
--- a/packaging/lua.spec
+++ b/packaging/lua.spec
@@ -8,6 +8,7 @@ Group: Development/Languages
License: MIT
URL: http://www.lua.org/
Source0: http://www.lua.org/ftp/lua-%{version}.tar.gz
+Source1001: packaging/lua.manifest
Patch0: patch-lua-5.1.4-2
Patch1: lua-5.1.4-autotoolize.patch
Patch2: buildfix.patch
@@ -63,6 +64,7 @@ This package contains development files for %{name}.
%patch2 -p1
%build
+cp %{SOURCE1001} .
# fix perms on auto files
chmod u+x autogen.sh config.guess config.sub configure depcomp install-sh missing
@@ -92,15 +94,19 @@ rm -rf %{buildroot}
%postun -n liblua -p /sbin/ldconfig
%files
+%manifest lua.manifest
%{_bindir}/lua*
%files -n liblua
+%manifest lua.manifest
%{_libdir}/liblua-*.so
%files -n liblua-static
+%manifest lua.manifest
%{_libdir}/*.a
%files -n liblua-devel
+%manifest lua.manifest
%{_includedir}/l*.h
%{_includedir}/l*.hpp
%{_libdir}/liblua.so